Tuesday, 12 January 2010
|
Topic awaiting moderation clothing 13:53:57 |
Saturday, 9 January 2010
|
Topic awaiting moderation 351100 03:04:55 |
Friday, 8 January 2010
|
Topic awaiting moderation 351166 18:56:49 |
Tuesday, 5 January 2010
|
| [Tomcat, HTTPD, Servlets & JSP] - JSPs with JDK5.0 features do not compile AstroNox 00:16:57 |
| | Hello everyone,
I'm currently having a problem; in essence, as in the title, is about JSPs with JDK5.0 features that do not compile.
I'm running JBoss 4.0.3 SP1 with the default integrated Tomcat 5.5, with JDK5.0.
I wrote a very simple JSP in Eclipse 3.1.2 with the JBoss IDE 1.5.1 GA, packaged and deployed into JBoss. There is no problem with starting JBoss or deploying the WAR. This is the JSP:
<?xml version="1.0" encoding="UTF-8" ?> | <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | <% | java.util.Vector<String> v = new java.util.Vector<String>(); | %>
It's just the declaration and definition of a Vector using JDK5.0's generics feature.
However, when I tried to access this JSP through the browser, I get this error:
02:14:15,000 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception | org.apache.jasper.JasperException: Unable to compile class for JSP | | An error occurred at line: 3 in the jsp file: /index.jsp | Generated servlet error: | Syntax error on token "<", invalid AssignmentOperator | | An error occurred at line: 3 in the jsp file: /index.jsp | Generated servlet error: | Syntax error on token "=", != expected | | An error occurred at line: 3 in the jsp file: /index.jsp | Generated servlet error: | Syntax error on token "<", ( expected | | An error occurred at line: 3 in the jsp file: /index.jsp | Generated servlet error: | Syntax error on token "(", invalid Expression | | | at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84) | at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328) | at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:397) | ... etc
Ok, this basically means that the compiler did not recognize the JDK5.0 features. I had already set the following options in Tomcat's conf/web.xml file:
<servlet> | <servlet-name>jsp</servlet-name> | <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class> | <init-param> | <param-name>fork</param-name> | <param-value>false</param-value> | </init-param> | <init-param> | <param-name>xpoweredBy</param-name> | <param-value>false</param-value> | </init-param> | <init-param> | <param-name>compilerSourceVM</param-name> | <param-value>1.5</param-value> | </init-param> | <init-param> | <param-name>compilerTargetVM</param-name> | <param-value>1.5</param-value> | </init-param> | ... | </servlet>
It still does not work, it does not compile.
I did search Google for any possible solutions but to no avail. For some reason it seems as if no one encountered it before; either I'm not searching properly or there are no articles on this issue. I did find a thing about Tomcat versions prior to 5.5.16 (this issue was fixed in 5.5.16):
http://issues.apache.org/bugzilla/show_bug.cgi?id=38389
The problem was regarding the compilerSourceVM and compilerTargetVM as mentioned above.
However, I'm very sure that the version of Tomcat that came with JBoss 4.0.3 SP1 is not 5.5.16, although I was unable to find which version was it.
I believe if I were to integrate Tomcat 5.5.16 into JBoss, the issue might be resolved. However I'm unable to find any such tutorial or resource to accomplish this on Google.
Another note is that I'm unwilling to use JBoss 4.0.4 RC1 because there is a bug with EJB3's TransactionManager (yes, I'm using EJB3; RC5 integrated into default server configuration):
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=78114
Basically I'm stumped. Tried all I can. Can anyone please tell me how to resolve this issue in JBoss 4.0.3 SP1? Please direct me to any existing resolutions, if any. I would also appreciate links to articles that describe how to integrate Tomcat 5.5.x into JBoss. Thanks!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934154#3934154
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934154
------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
|
| | 2 answer | Add comment |
Thursday, 31 December 2009
|
| How do I shutdown Jetty? Rodrigo Reyes 00:31:44 |
| | Hi all I am new to Jetty, so this may be a typical newbie question. I got Jetty running and my first Servlet executed. Still, I haven't been able to find an elegant way to stop my server. So far, I kill the process, but it seems to me this shouldn't be the way to shutdown it. Is there any other way to handle this? Thanx...
Rodrigo
------------------------ Yahoo! Groups Sponsor ---------------------~--> Get A Free Psychic Reading! Your Online Answer To Life's Important Questions. http://us.click.yahoo.com/Lj3uPC/Me7FAA/ySSFAA/CefplB/TM ---------------------------------------------------------------------~->
For the latest information about Jetty, please see http://jetty.mortbay.org
To alter your subscription to this list goto http://groups.yahoo.com/group/jetty-discuss
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|
| | 10 answers | Add comment |
Wednesday, 30 December 2009
|
| HTMLWorker working with html fragments Michael Kottmann 12:33:18 |
| | I've looked through the archives and didn't really see anything that helped answer my question, so I hope it hasn't been already answered. What I'm trying to do is create a pdf which takes fragmented html text from a DB and outputs it into groups.
example:
general faqs: 1. question answer 2. question answer ...
computer faqs: 1. question answer 2. question answer
The number of questions and answers is unknown and the text of each would look something like <b>question</b> <b>this is the answer</b><ol><li>test</li></ol>. The text is also, pretty much, unknown because the user can enter the text. I initially tried to use the ColumnText, but I wasn't sure what to set the size to because I don't know how big each of the lists are going to be. I then tried to do something like:
ArrayList p = HTMLWorker.parseToList(stringReader, null); for (int k = 0; k < p.size(); ++k) document.add((Element)p.get(k));
The problem that I'm having with the above is that the lines will write over each other until it reaches an html list (ordered or unordered). After it outputs the list everything works fine. Any help with either of the above ways would be appreciated.
Thanks, Mike
____________________________________________________________________________________ Yahoo! Music Unlimited Access over 1 million songs. http://music.yahoo.com/unlimited
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
|
| | 3 answer | Add comment |
Wednesday, 23 December 2009
|
| [JBoss Getting Started Documentation] - boot.log is getting huge in size Kyriakost 06:58:07 |
| | Hi
Could anyone please tell me how I can configure the boot.log to rollover ? We have a live application and its size has gone up to 120Mb in 4 days... Imagine what will happen in a couple of months...
Please help...
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842195#3842195
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842195
------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
|
| | 2 answer | Add comment |
Monday, 14 December 2009
|
| [JBoss Seam] - "detached entity passed to persist"
problem Andreh 07:03:07 |
| | Hi all,
I'm new to seam, and I'm creating a project here
I'm getting this Exception:
| Exception during INVOKE_APPLICATION(5): javax.persistence.PersistenceException: org.hibernate.PersistentObjectException: detached entity passed to persist: br.com.dehproject.UsuarioEntity
I know that I could use em.merge() to skip this, but I want to create a new object, not to update the actual one. My UsuarioEntity has a SESSION Scope, so that's why I get this... but I need the SESSION scope to the next page in my JSF to manage the contents of the object...
I have a page that register the users, and then redirect to another page where I manage the contents of the user using a Entity with a EVENT scope... But if I get back to the register page, I cannot persist another one and throw the Exception that I pasted above... =/ I want to create a new object to persist that has nothing to do with the other one...
How can I turn back and persist another object? but I also need to continue with a SESSION Scope, or I wish to have some idea from you...
Thanks!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992029#3992029
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992029
|
| | Add comment |
Friday, 4 December 2009
|
| itext and xfa/xdp forms Guest 08:24:47 |
| | Hi all,
As You probably know, since Designer 6.0/Acrobat/Reader 6.02 Adobe included the Accelio form technology they bought in 2002. The new form creation process is xml based and form data is submitted in the new xdp format - not in xfdf any more. The complete form structure including its layout is embedded as xml in the pdf file in the same xdp xml schema. The Designer creates corresponding pdf form ui elements when you save the pdf file.
Although there is limited documentation, we decided to use this new stuff for form creation process instead of the old deprecated (Contrary to MS with InfoPath, Adobe does not force you to use their expensive clients/servers to handle the new form technology. A simple web server and some xml parsing is enough).
My Questions (assuming a form created with designer):
- Is there a way to access the embedded xdp data with itext, modify it with some xml parser and save the pdf as a valid/usable form again? (We would like to modify default values and the access status (readonly/readwrite) to use the same form to visualize content previously submitted?)
- Is someone working on itext to support the new stuff? When we get further with this, we would like to contribute our experiences concerning this matter to someone
- The form content in the new style pdf form is somehow redundant, e.g. if you use a choice list with some values to choose, the pdf file contains them at least twice, once in the pdf portion, once in the embedded xdp/xml. Has someone already figured out what is relevant, when the form is processed by Reader/Acrobat?
Thanks in advance and a prosperous new year to you all!
Kolja
-- +++ Sparen Sie mit GMX DSL +++ http://www.gmx.net/de/go/dsl AKTION fr Wechsler: DSL-Tarife ab 3,99 EUR/Monat + Startguthaben
------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
|
| | 10 answers | Add comment |
Wednesday, 25 November 2009
|
| error: "insufficient data for an image" R diger Kaatz 08:14:32 |
| | Hi there,
I'm getting the error "insufficient data for an image", when using acrobat reader 7.0 on a PC. When using acrobat reader on a MAC or versi n 5.0 on a PC, the error doesn't show up. I'm using itext-1.4.4.jar and the following code:
Document document = new Document(); ByteArrayOutputStream baos=new ByteArrayOutputStream(); PdfWriter.getInstance(document,baos); document.open(); PdfPTable mainTable = new PdfPTable(1); mainTable.setWidthPercentage(98.0f);
Image logo = ITextHelper.getImage("logo.jpg"); logo.scaleAbsolute(300f,120f); PdfPCell cellLogo=new PdfPCell(logo); cellLogo.setFixedHeight(logo.scaledHeight()+5);
mainTable.addCell(cellLogo); document.add(mainTable); document.close();
response.setHeader("Pragma", "public"); response.setContentType("application/pdf"); int size=baos.size(); response.setContentLength(size); baos.writeTo(response.getOutputStream()); baos.flush(); baos.close();
Any ideas?
Thanx, Rudi.
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
|
| | 4 answer | Add comment |
Monday, 23 November 2009
|
| 'expected a dict object' message when opeing pdf Crystal Pavis 17:25:17 |
| | Hello. I have seen similar questions posted in the past but I did not see any solutions. Here is the situation. Everything seems to work fine except when I open the pdf it gives me an error message 'expected a dict object' and I press ok and then the pdf looks just like I expected. I am hoping to somehow stop this error message. My code is simple. I am just trying to fill in two form fields and to add some text somewhere else on the page. My form fields are really called 'Name' and 'Address' not 'form1[0].#subform[0].Name[0]' and 'form1[0].#subform[0].Address[0]'. But I haven't found the solution to that issue either. Just a work-around. I will include my code and I will attach both pdf's. Thanks a lot. Crystal
public static void processPdf () { try { PdfReader pdfFile = new PdfReader("C:\\pdfs\\anothersample.pdf"); FileOutputStream newPdf = new FileOutputStream("C:\\pdfs\\newSample.pdf"); PdfStamper stamper = new PdfStamper(pdfFile, newPdf); PdfContentByte over = stamper.getOverContent(1); BaseFont bf = BaseFont.createFont("c:\\windows\\fonts\\comic.ttf", BaseFont.IDENTITY_H, true); over.beginText(); over.setFontAndSize(bf, 14); over.setTextMatrix(150, 585); over.showText("Adding in Some Text."); over.endText(); AcroFields form = stamper.getAcroFields(); form.setField("form1[0].#subform[0].Name[0]", "Some Name"); form.setField("form1[0].#subform[0].Address[0]", "Some Street"); stamper.setFormFlattening(true); stamper.close(); newPdf.flush(); newPdf.close(); } catch (Exception e) { log.debug(e); } }
|
| | 6 answers | Add comment |
|
| Verify E-Mail Address Jeff Grossman 02:01:20 |
| | Hello,
I have a page which is a form for people to fill in. There is one input line where the user enters in an e-mail address. Currently the page is using java to verify that e-mail address. It looks like the java code is only checking for an "@" side, but I want it to also check for a "." and the end of the domain type. Somebody else wrote this code for me, and I don't know anything about java. Could somebody show me what I need to do to change this java code to PHP? If that is even possible? And, to do the additional verify that I would like to do on the e-mail address.
Here is the code:
function validate(){
form = document.subscribe;
if ( form.email.value == ""){ alert("Please enter your email address in the \"Email Address\" and \"Verify Email Address\" boxes"); form.email.focus(); return false; } else { if ( form.email.value != form.vemail.value ){ alert("Please verify you have entered the correct email address in the \"Email Address\" and \"Verify Email Address\" boxes"); form.email.focus(); return false; } }
if( form.email.length != 0) { txt = form.email.value; if (txt.indexOf("@")<3) { alert("This email address seems wrong. Please check the prefix and \"@\" sign."); form.email.focus(); return false; } }
if( form.vemail.length != 0) { txt = form.vemail.value; if (txt.indexOf("@")<3) { alert("This email address seems wrong. Please check the prefix and \"@\" sign."); form.vemail.focus(); return false; } }
}
Thanks, Jeff
-- Jeff Grossman (jeff@stikman.com)
|
| | 1 answer | Add comment |
Tuesday, 17 November 2009
|
| [Management, JMX/JBoss] - javax.naming.NameNotFoundException: ejb not bound Meetsivakumar 07:22:33 |
| | Hello help please I am using JBoss Application Server 4.0.3SP1 . I need an ejb which needs to connect to Oracle Containers for J2EE 10g (10.1.3.0.0) Developer's Preview 4 and get all the MBeans information from there. First I tried to connect through the basic Java Program given below, which needed a application-client.xml in META-INF directory to refer. That worked fine.
import javax.management.j2ee.*; import javax.management.*; import javax.management.remote.*; import javax.ejb.*; import javax.naming.*; import javax.rmi.*; public class Main { public static void main(String[] args) throws Exception { Hashtable props = new Hashtable(); props.put(Context.PROVIDER_URL, "ormi://trainingtest1:23791/default"); props.put(Context.SECURITY_PRINCIPAL, "oc4jadmin"); props.put(Context.SECURITY_CREDENTIALS, "welcome"); props.put(Context.INITIAL_CONTEXT_FACTORY ,"com.evermind.server.ApplicationClientInitialContextFactory"); InitialContext ctx = new InitialContext(props); Object o = ctx.lookup("java:comp/env/ejb/mgmt/MEJB"); ManagementHome home = (ManagementHome)PortableRemoteObject.narrow(o, ManagementHome.class); Management mejb = home.create(); } }
The Same program when i tried to implement through EJB in JBoss it did not function. So I tried to implement in servlet first and then in EJB. And also i kept the application-client.xml file in META-INF directory inside classes folder. When i try to run the following servlet program by packagin to a ear file the below given exception is thrown. I cant come out the error. can any one please help me in comming out of this problem.
the servlet program is
import javax.servlet.*; import javax.servlet.http.*; import java.io.*; import javax.naming.*; import javax.management.j2ee.*; import javax.management.*; import javax.management.remote.*; import javax.ejb.*; import javax.naming.*; import javax.rmi.*; import java.util.*;
public class Test extends HttpServlet { public void doGet (HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { PrintWriter out=response.getWriter(); String msg=""; try{ Hashtable props = new Hashtable(); props.put(Context.PROVIDER_URL, "ormi://localhost:23791/default"); props.put(Context.SECURITY_PRINCIPAL, "oc4jadmin"); props.put(Context.SECURITY_CREDENTIALS, "welcome"); props.put(Context.INITIAL_CONTEXT_FACTORY ,"com.evermind.server.ApplicationClientInitialContextFactory"); InitialContext ctx = new InitialContext(props); Object o = ctx.lookup("java:comp/env/ejb/mgmt/MEJB"); ManagementHome home = (ManagementHome)PortableRemoteObject.narrow(o, ManagementHome.class); out.flush(); Management mejb = home.create(); }catch(Exception e){ e.printStackTrace(); } out.println("Done"); out.close(); } public void destroy(){} }
javax.naming.NameNotFoundException: ejb not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:514) at org.jnp.server.NamingServer.getBinding(NamingServer.java:522) at org.jnp.server.NamingServer.getObject(NamingServer.java:528) at org.jnp.server.NamingServer.lookup(NamingServer.java:252) at org.jnp.server.NamingServer.lookup(NamingServer.java:255) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:701) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572) at javax.naming.InitialContext.lookup(InitialContext.java:351) at Test.doGet(Test.java:64) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilte r.doFilter(ReplyHeaderFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928478#3928478
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928478
------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
|
| | 3 answer | Add comment |
Thursday, 12 November 2009
|
| JBoss 3.2.1: Prepare called on local tx warning and CommitCount n
ot incrementing. Dustin Barlow 08:56:19 |
| | I have a simple test using JBoss 3.2.1, JMS Queue "A", a single MDB and a Sybase datasource DataSource with Container Manager Transactions.
The MDB's onMessage() does a simple update to a single row in a table. The first time the DataSource is aquired from the pool, this warning message shows up in the log.
14:43:51,887 WARN [TxConnectionManager$LocalXAResource] Prepare called on a local tx. Use of local transactions on a jta transaction with more than one branch may result in inconsistent data in some cases of failure.
I have been trying to discover why this warning is occuring so I can fix the issue in my main application's code, but have been unsuccessful in fixing the warning in this small test case.
While researching this warning, I found that the TransactionManager's CommitCount exposed in the jmx-console is not incrementing, even though the data is being persisted correctly. This seemd to be odd behaviour to me being that I'm using CMT. In the org.jboss.tm.TxManager class, the commit() method does increment the CommitCount, but this commit is never called according to the TRACE level log I setup for the org.jboss.tm package of classes (attached to this email). Instead the TransactionImpl's commit is being called after the transaction is suspend.
What is the different between the TxManager's commit, and the TransactionImpl's commit? Is this related in any way to the above warning message?
Why does the trace log show that the transaction is being suspended and resumed multiple times?
sybase-ds.xml contains:
<datasources> <local-tx-datasource> <jndi-name>TestDatabase</jndi-name> <connection-url>jdbc:sybase:Tds:database.server:2025/TestDatabase?HOSTNAME=d ev</connection-url> <driver-class>com.sybase.jdbc2.jdbc.SybDataSource</driver-class> <user-name>foo</user-name> <password>foo</password> </local-tx-datasource> </datasources>
jboss.xml contains:
<jboss> <enterprise-beans> <message-driven> <ejb-name>TextQueueMDB</ejb-name> <destination-jndi-name>queue/A</destination-jndi-name> </message-driven> </enterprise-beans> </jboss>
ejb-jar.xml contains:
<ejb-jar> <enterprise-beans> <message-driven> <ejb-name>TextQueueMDB</ejb-name> <ejb-class>org.dustinbarlow.test.jms.TextQueueMDB</ejb-class> <transaction-type>Container</transaction-type> <message-driven-destination> <destination-type>javax.jms.Queue</destination-type> </message-driven-destination> </message-driven> </enterprise-beans> <assembly-descriptor> <container-transaction> <method> <ejb-name>TextQueueMDB</ejb-name> <method-name>*</method-name> </method> <trans-attribute>Required</trans-attribute> </container-transaction> </assembly-descriptor> </ejb-jar>
I appreciate any assistance,
Dustin
|
| | 6 answers | Add comment |
Thursday, 15 October 2009
|
| [Messaging, JMS & JBossMQ] - Problem while sending messages to Queue/B Mlsreekanth 15:31:57 |
| | Hi all,
I have deployed a workflow engine into JBOSS with jetty. This Workflow engine uses the default queues like Queue/A, Queue/B...etc. Now, i want to send messages to the queues where MDBs are listening to these queues which may invoke Workflow engine. When, i send messages to these queues in LAN, it is working fine,
When, i send messages through the internet it was giving connection refused error. JBOSS is running WIN2K Server. It was behind a NAT router and router is using firewall. We configured the ports 8080,1099, 8090-8093 in the router.
When i triewd to access the workflow engine from outside with external ip, like http://ext_ip:8080/workflow/ it is working fine.
Now, i am sending messages using the following code,
/* * MsgSender.java * * Created on February 23, 2004, 5:46 PM */
/** * * @author Administrator */
import javax.jms.*; import javax.naming.*; import org.apache.log4j.*; import java.util.*;
public class MsgSender { private String destinationJndiName = "queue/B"; private String connectionFactoryJndiName = "UILConnectionFactory"; private String urlPkgPrefixes = "org.jboss.naming:org.jnp.interfaces"; /** Creates a new instance of MsgSender */ public MsgSender() { } public static void main(String args[]) { MsgSender msgSender = new MsgSender(); msgSender.sendMessage(null); } public void sendMessage(HashMap msg){ QueueConnection queueConnection = null; QueueSession queueSession = null; QueueSender queueSender = null; try { try { Context jndiContext = null; // jndiContext = new InitialContext(); //JNDIParm.put(Context.URL_PKG_PREFIXES, urlPkgPrefixes ); java.util.Hashtable JNDIParm = new java.util.Hashtable(); JNDIParm.put(Context.PROVIDER_URL, "jnp://ext_ip:1099/"); JNDIParm.put(Context.URL_PKG_PREFIXES, urlPkgPrefixes ); JNDIParm.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); jndiContext = new InitialContext(JNDIParm); System.out.println(jndiContext+"JNDI Properties "+jndiContext.getEnvironment()+" Provider URL is "+jndiContext.PROVIDER_URL); //destinationJndiName = getDestinationJndiName(destinationJndiName); // InitialContext jndiContext = new InitialContext(); System.out.println("Jndi context name "+jndiContext.getNameInNamespace()); QueueConnectionFactory queueConnectionFactory = (QueueConnectionFactory) jndiContext.lookup(connectionFactoryJndiName); queueConnection = queueConnectionFactory.createQueueConnection(); queueSession = queueConnection.createQueueSession( false, Session.AUTO_ACKNOWLEDGE ); System.out.println("After creatinbg the queue session"); Queue queue = (Queue) jndiContext.lookup(destinationJndiName); queueSender = queueSession.createSender(queue); queueConnection.start(); ObjectMessage message; // TextMessage textMessage = queueSession.createTextMessage(); //textMessage.setText("Hello world" ); message = queueSession.createObjectMessage(); message.setObject(msg); //log.debug( "sending the message... "); queueSender.send(message); //log.debug( "message sent. "); System.out.println( message.getJMSMessageID()); //interactionContext.log( "message '" + textMessage.getJMSMessageID() + "' was sent to queue '" + destinationJndiName + "'" ); } finally { if ( queueSender != null ) queueSender.close(); if ( queueSession != null ) queueSession.close(); if ( queueConnection != null ) queueConnection.close(); } } catch (Exception e) { e.printStackTrace(); //e.prerror("error in performing jms tasks :", e); } } }
But, it is giving the following error stating that the internal ip is not responding.
this is the actual stack trace
javax.naming.CommunicationException [Root exception is java.rmi.ConnectException: Connection refused to host: 192.168.123.2;
nested exception is: java.net.ConnectException: Connection timed out: connect] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:611) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:471) at javax.naming.InitialContext.lookup(InitialContext.java:347) at MsgSender.sendMessage(MsgSender.java:78) at InternationalCaseSend$CaseSenderThread.run(InternationalCaseSend.java:301) Caused by: java.rmi.ConnectException: Connection refused to host: 192.168.123.2; nested exception is: java.net.ConnectException: Connection timed out: connect at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567) at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185) at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:101) at org.jnp.server.NamingServer_Stub.lookup(Unknown Source) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:492) ... 4 more Caused by: java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) at java.net.Socket.connect(Socket.java:452) at java.net.Socket.connect(Socket.java:402) at java.net.Socket.(Socket.java:309) at java.net.Socket.(Socket.java:124) at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22) at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128) at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:562) ... 9 more
Kindly, help me in this regard.
Thanks in advance.
Srikanth
<a href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825185#3825185">View the original post</a>
<a href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825185>Reply to the post</a>
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
|
| | 1 answer | Add comment |
Wednesday, 14 October 2009
|
| [EJB/JBoss] - Procedure call(could not execute native
bulk manipulation qu Niityasir@Hotmail.Com 14:57:49 |
| | Hi I am calling oracle procedure in my EJB3 application. Procedure performs alot of tasks (There are several insert/update queries in it).
Query regProc=em.createNativeQuery("Call PROC_REGISTRATION i_ACCESS, :i_PLANID, :i_FRANCHISEEID, :i_ADDRESS, :i_BILLINGADDRESS, :out_RESPONSE)");
regProc.setParameter("i_ACCESS",BigInteger.valueOf(regOrder.getAccessLevelService().getAccessLevel())); regProc.setParameter("i_PLANID",BigInteger.valueOf(objBillingPlan.getPlanId())); .. .. .. regProc.setParameter("out_RESPONSE",result); regProc.executeUpdate();
When I run my application I get following exception. javax.ejb.EJBException: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: could not execute native bulk manipulation query
Kindly help me to resolve this issue.
Regrads Yasir
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993769#3993769
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993769
|
| | 2 answer | Add comment |
Monday, 12 October 2009
Thursday, 8 October 2009
|
| EJB-QL - UnknownPathException: Unknown terminal field Pavel Kolesnikov 11:11:17 |
| | Hello,
in my application a have lot of entity beans containg CMP field java.util.Data lastModified and a simple EJB-QL finder
java.util.Collection findModified(java.util.Date lastSynchronized)
which uses following EJB-QL query:
SELECT OBJECT(p) FROM table p WHERE p.lastModified > ?1
Such finder itself seems to be OK, I've tested it with one simple standalone entity bean.
Unfortunatelly, when I'm deploying my whole application containing over 40 beans, JBoss says:
17:07:24,336 INFO [League] Table 'League' already exists 17:07:24,422 INFO [Quartet] Table 'Quartet' already exists 17:07:24,613 INFO [TournamentTeamParticipant] Table 'TournamentTeamParticipant' already exists 17:07:24,748 INFO [SubteamLeague] Table 'SubteamMember' already exists 17:07:24,761 WARN [ServiceController] Problem starting service jboss.j2ee:service=EJB,jndiName=TournamentSingleParticipant org.jboss.deployment.DeploymentException: Error compiling ejbql; - nested throwable: (org.jboss.ejb.plugins.cmp.ejbql.UnknownPathException: Unknown terminal field: at line 1, column 58. Encountered: "lastModified" after: "p.") at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.<init>(JDBCEJBQLQuery.java:46) at org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createEJBQLQuery(JDBCCommandFactory.java:44) at org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.start(JDBCQueryManager.java:214) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:463) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:369) at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:198) at org.jboss.ejb.EntityContainer.start(EntityContainer.java:376) at org.jboss.ejb.Container.invoke(Container.java:755) at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1055) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491) at org.jboss.system.ServiceController$ServiceProxy.invoke(Serv
Even worse, it seems that message "Problem starting service jboss.j2ee:service=EJB,jndiName=TournamentSingleParticipant" has nothing to do with following EJB-QL related exception, because when I removed the "findModified" finder from TournamentSingleParticipant bean, JBoss still reports the same error message about "Problem starting TournamentSingleParticipant".
So my questions are:
1, what does "Unknown terminal field: at line 1, column 58. Encountered: "lastModified" after: "p.") mean?
2, if I encounter such message, how can I recognize in which bean is a problem?
Thanks a lot
Pavel
------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
|
| | 1 answer | Add comment |
Wednesday, 23 September 2009
|
| [JBoss jBPM] - Eclipse asks me to "locate a jboss jBPM
runtime" Stevenm 06:56:11 |
| | I have downloaded jbpm starters kit 3.1.2 for windows and have run the start.bat batch script and it appears to be up and running (when i go to "http://localhost:8080" the Jboss Application Server page appears).
However in Eclipse I have downloaded and installed the jbpm plugin but when I go to start a new process after it asks me to name the project it asks me to "locate a jboss jBPM runtime".
I have tried several locations including where the batch script is running but keep getting told that it is not a valid location. There is no mention of this in the documentation that I can see so any help would be appreciated.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963493#3963493
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963493
|
| | 2 answer | Add comment |
Sunday, 20 September 2009
|
| OT: Problem with generator-class="assigned" Ail Sahin 09:37:01 |
| | Hi,
I want my application to assign the primarykey value. I thought, when I declare "generator-class='assigned'" over a method, that this value is defined as primary key. But now, my Ant test says: "org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save():" Now the question: How to assign manually the id?
greets ali
|
| | 5 answers | Add comment |
Sunday, 13 September 2009
|
| error parsing ..! Ultranet 05:30:51 |
| | Hello There
I have been facing a problem with phpmyadmin.
When I try to start phpmyadmin 2 error messages come up. One of them on the client PC. It says :
Warning: MySQL Connection Failed: Can't connect to MySQL server on 'b' (10061) in lib.inc.php on line 255 Error MySQL said: Back
And other error message comes up on the server PC .It says :
Error parsing c:\Windows\browscap.ini on line 8206
Would you please help me ..?
Best Regards
|
| | 1 answer | Add comment |
Saturday, 12 September 2009
|
Topic awaiting moderation huanghai 11:58:26 |
Thursday, 10 September 2009
|
accept paypal louis vuitton clothing just cavcalli clothing burberry clothing gucci sneakers lrg sne wholesale2wd 04:10:13 |
| | www.wholesale2wd.com
nike shoes wholesale jordan shoes dunk shoes max shoes af1 shoes blazer shoes D&G shoes ed hardy shoes dsquared shoes gucci shoes LV shoes timberland boots ugg boots,cheap AF tshirt ed hardy tshirt CA tshirt D&G tshirt armani tshirt polo tshirt versace tshirt ed hardy dress ca dress AF vest on sale,wholesale coach sandals burberry sandals fendi sandals D&G sandals lv sandals chanel sandals ugg sandals belle sandas versace sandals prada sandalsand so on.sell NY cap LV cap ed hardy cap CA cap set cap,hot sell ed hardy bikini polo bikini ca bikini AF bikini LV bikini Chanel bikini burberry bikini D&G bikini dior sunglasses chanel sunglasses ed hardy sunglasses CA sunglasses versace sunglasses D&G sunglasses gucci sunglasses and so on,cheap evisu jeans G-Star jeans ed hardy jeans coogi jeans gucci jeans versace jeans D&G jeans diesel jeans bape jeans dsquared jeans AF jeans wholesale,chanel sandals gucci sandals dior sandals burberry sandals juicy sandals D&G sandals fendi sandals D&G belts ed hardy belts versace belts CA belts chanel belts D&G bags burberry bags ed hardy bags chanel bags LV bags miumiu bags jimmy bags have new produce,discount gucci watch LV watch armani watch omerga watch rolex watch rado watch burberry watch KG watch IWC watch AP watch for sale
|
| | Add comment |
Thursday, 13 August 2009
|
| iText dynamic pdf using http stream to IE6 David Ewing 14:22:38 |
| | I actually have an answer instead of a question. I spent several hours on a problem, and tried to find the answer online and couldn't. So I thought I would write to the list with my answers.
I was trying to create a servlet that would stream a pdf to Internet Explorer (IE6 on my PC). I was posting data to the servlet so that I could plug values from my database into my dynamically created pdf.
I first wrote this code:
public void doPost(HttpServletRequest request, HttpServletResponse response)throws ServletException, IOException { ServletOutputStream sos = null; PrintWriter out = null; //this builds the pdf using iText ByteArrayOutputStream baos = getMyPdf(request.getParameter("myDatabaseKey")); if(baos == null){ response.setContentType("text/html"); PrintWriter writer = response.getWriter(); writer.print(oRpc.getErrorMessage()); writer.close(); return; } sos = response.getOutputStream(); response.setContentType("application/pdf"); response.setHeader("Content-disposition","inline; filename=rpt.pdf; size=" + String.valueOf(baos.size())); response.setHeader("Cache-control", "must-revalidate"); response.setContentLength(baos.size()); baos.writeTo(sos); sos.flush(); }
I am running this example on Websphere, and the first problem I encountered was that in my WEB-INF I named the servlet's url "/rpt" since the servlet is rpt.java. This caused the error "File does not begin with '%PDF", it turns out that you need to define your url in your WEB-INF so that it ends with ".pdf", and in my case, I defined my servlet url as "/rpt.pdf".
The second problem I encountered was that IE6 tries to repost after it sees that a pdf is being sent to it. This means that since I had only coded the doPost, and left the doGet blank, I was seeing a blank page instead of my pdf because on the second trip to the Websphere server, IE6 calls doGet, which was returning no response. Once again, the fix was pretty simple, and the code below worked just fine.
//this code runs when IE6 tries to do its second trip to the server, and my database key has been preserved in the session public void doGet(HttpServletRequest request, HttpServletResponse response)throws ServletException, IOException { ServletOutputStream sos = null; PrintWriter out = null; HttpSession session = request.getSession(); //this builds the pdf using iText ByteArrayOutputStream baos = getMyPdf((String)session.getAttribute("myDatabaseKey")); if(baos == null){ response.setContentType("text/html"); PrintWriter writer = response.getWriter(); writer.print(oRpc.getErrorMessage()); writer.close(); return; } sos = response.getOutputStream(); response.setContentType("application/pdf"); response.setHeader("Content-disposition","inline; filename=rpt.pdf; size=" + String.valueOf(baos.size())); response.setHeader("Cache-control", "must-revalidate"); response.setContentLength(baos.size()); baos.writeTo(sos); sos.flush(); }
//this code runs first on my initial post to the servlet so that the database key is in a hidden form field public void doPost(HttpServletRequest request, HttpServletResponse response)throws ServletException, IOException { ServletOutputStream sos = null; PrintWriter out = null; //this builds the pdf using iText ByteArrayOutputStream baos = getMyPdf((String)request.getParameter("myDatabaseKey")); if(baos == null){ response.setContentType("text/html"); PrintWriter writer = response.getWriter(); writer.print(oRpc.getErrorMessage()); writer.close(); return; }
//this is added so that the second trip to the server can use this session variable to get my database key HttpSession session = request.getSession(); session.setAttribute("myDatabaseKey",request.getParameter("myDatabaseKey"));
sos = response.getOutputStream(); response.setContentType("application/pdf"); response.setHeader("Content-disposition","inline; filename=rpt.pdf; size=" + String.valueOf(baos.size())); response.setHeader("Cache-control", "must-revalidate"); response.setContentLength(baos.size()); baos.writeTo(sos); sos.flush(); }
I hope you can post this somewhere so that others won't have to spend a whole day figuring out why their Microsoft software is broken...
Dave Ewing
------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
|
| | 3 answer | Add comment |
Sunday, 9 August 2009
|
| [JBoss jBPM] - Problem during deploying my own bpel process in jbpm bpel (B Fabricio.Nogueira 18:21:15 |
| | Hello all,
I want to deploy a very simple process in jbpm Bpel. I could configure and test helloworld example. Now, I have a web service (in my localhost using axis) that only receives a string and replies it with a gretting message. I modelled this process using JDeveloper from Oracle due to facility. This process receives the string and call the web service to get the gretting message.
My bpel process is this:
<!-- | ///////////////////////////////////////////////////////////////////////////////////////////// | // Oracle JDeveloper BPEL Designer | // | // Created: Thu Dec 08 22:17:32 BRST 2005 | // Author: Fasilva | // Purpose: Synchronous BPEL Process | ///////////////////////////////////////////////////////////////////////////////////////////// | --> | <process name="myEcho" targetNamespace="http://xmlns.oracle.com/myEcho" xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20" xmlns:ns1="http://localhost:8081/axis/myEcho.jws" xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap" xmlns:bpelx="http://schemas.oracle.com/bpel/extension" xmlns:client="http://xmlns.oracle.com/myEcho" xmlns:ora="http://schemas.oracle.com/xpath/extension" xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"> | <partnerLinks> | <partnerLink name="client" partnerLinkType="client:myEcho" myRole="myEchoProvider"/> | <partnerLink myRole="myEcho_Role" name="myEcho" partnerRole="myEcho_Role" partnerLinkType="ns1:myEcho_PL"/> | </partnerLinks> | <variables> | <variable name="inputVariable" messageType="client:myEchoRequestMessage"/> | <variable name="outputVariable" messageType="client:myEchoResponseMessage"/> | <variable name="Invoke_1_echo_InputVariable" messageType="ns1:echoRequest"/> | <variable name="Invoke_1_echo_OutputVariable" messageType="ns1:echoResponse"/> | </variables> | <sequence name="main"> | <receive name="receiveInput" partnerLink="client" portType="client:myEcho" operation="process" variable="inputVariable" createInstance="yes"/> | <scope name="Scope_1"> | <sequence name="Sequence_1"> | <assign name="InEcho"> | <copy> | <from variable="inputVariable" part="payload" query="/client:myEchoProcessRequest/client:input"/> | <to variable="Invoke_1_echo_InputVariable" part="s"/> | </copy> | </assign> | <invoke name="myEcho" partnerLink="myEcho" portType="ns1:myEcho" operation="echo" inputVariable="Invoke_1_echo_InputVariable" outputVariable="Invoke_1_echo_OutputVariable"/> | <assign name="EchoOut"> | <copy> | <from variable="Invoke_1_echo_OutputVariable" part="echoReturn"/> | <to variable="outputVariable" part="payload" query="/client:myEchoProcessResponse/client:result"/> | </copy> | </assign> | </sequence> | </scope> | <reply name="replyOutput" partnerLink="client" portType="client:myEcho" operation="process" variable="outputVariable"/> | </sequence> | </process> |
And the wsdl for this process is:
<?xml version="1.0" encoding="UTF-8"?> | <definitions name="myEcho" | targetNamespace="http://xmlns.oracle.com/myEcho" | xmlns="http://schemas.xmlsoap.org/wsdl/" | xmlns:client="http://xmlns.oracle.com/myEcho" | xmlns lnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"> | <types> | <schema attributeFormDefault="qualified" | elementFormDefault="qualified" | targetNamespace="http://xmlns.oracle.com/myEcho" | xmlns="http://www.w3.org/2001/XMLSchema"> | <element name="myEchoProcessRequest"> | <complexType> | <sequence> | <element name="input" type="string"/> | </sequence> | </complexType> | </element> | <element name="myEchoProcessResponse"> | <complexType> | <sequence> | <element name="result" type="string"/> | </sequence> | </complexType> | </element> | </schema> | </types> | | <message name="myEchoRequestMessage"> | <part name="payload" element="client:myEchoProcessRequest"/> | </message> | <message name="myEchoResponseMessage"> | <part name="payload" element="client:myEchoProcessResponse"/> | </message> | | | <portType name="myEcho"> | <operation name="process"> | <input message="client:myEchoRequestMessage" /> | <output message="client:myEchoResponseMessage"/> | </operation> | </portType> | <plnk artnerLinkType name="myEcho"> | <plnk:role name="myEchoProvider"> | <plnk ortType name="client:myEcho"/> | </plnk:role> | </plnk artnerLinkType> | </definitions>
I set build.properties, hibernate.properties and build.xml to keep up with my configuration.After that I could run the command "ant pack-definition" without problems, But when I need to run the next command "ant deploy-definition". I'm getting the following error:
[deploypar] 20:55:23,798 DEBUG BpelReader : upgraded bpel document: myEcho.bpel | [deploypar] 20:55:23,808 ERROR ProblemCollector : myEcho.bpel bpel process is invalid. | [deploypar] org.jbpm.bpel.xml.BpelException: message type ns1:echoRequest not found [/process/variables/variable[3]] | [deploypar] at org.jbpm.bpel.xml.BpelReader.getMessageTypeInfo(BpelReader.java:620) | [deploypar] at org.jbpm.bpel.xml.BpelReader.getTypeInfo(BpelReader.java:597) | [deploypar] at org.jbpm.bpel.xml.BpelReader.readVariable(BpelReader.java:580) | [deploypar] at org.jbpm.bpel.xml.BpelReader.readVariables(BpelReader.java:561) | [deploypar] at org.jbpm.bpel.xml.BpelReader.readScope(BpelReader.java:404) | [deploypar] at org.jbpm.bpel.xml.BpelReader.read(BpelReader.java:206) | [deploypar] at org.jbpm.bpel.xml.BpelReader.read(BpelReader.java:162) | [deploypar] at org.jbpm.bpel.par.BpelArchiveParser.readFromArchive(BpelArchiveParser.java:28) | [deploypar] at org.jbpm.jpdl.par.ProcessArchive.parseProcessDefinition(ProcessArchive.java:46) | [deploypar] at org.jbpm.graph.def.ProcessDefinition.parseParZipInputStream(ProcessDefinition.java:154) | [deploypar] at org.jbpm.jpdl.par.ProcessArchiveDeployer.deployZipInputStream(ProcessArchiveDeployer.java:46) | [deploypar] at org.jbpm.ant.DeployParTask.deploy(DeployParTask.java:69) | [deploypar] at org.jbpm.ant.DeployParTask.execute(DeployParTask.java:57) | [deploypar] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) | [deploypar] at org.apache.tools.ant.Task.perform(Task.java:364) | [deploypar] at org.apache.tools.ant.Target.execute(Target.java:341) | [deploypar] at org.apache.tools.ant.Target.performTasks(Target.java:369) | [deploypar] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) | [deploypar] at org.apache.tools.ant.Project.executeTarget(Project.java:1185) | [deploypar] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40) | [deploypar] at org.apache.tools.ant.Project.executeTargets(Project.java:1068) | [deploypar] at org.apache.tools.ant.Main.runBuild(Main.java:668) | [deploypar] at org.apache.tools.ant.Main.startAnt(Main.java:187) | [deploypar] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246) | [deploypar] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67) | [deploypar] 20:55:23,933 DEBUG ProcessArchiveDeployer : starting transaction to deploy process BpelDefinition(myEcho) | [deploypar] 20:55:24,840 DEBUG ProcessArchiveDeployer : flushing... | [deploypar] 20:55:25,265 DEBUG ProcessArchiveDeployer : committing transaction to deploy process BpelDefinition(myEcho) |
I can't understand why that message " message type ns1:echoRequest not found [/process/variables/variable[3]]" is being showed.
Could you help me to understand it please?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912783#3912783
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912783
------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
|
| | 3 answer | Add comment |
|