[jboss-user] [JBossWS] - Re: jbossws remote ws
Had similar problem, found that our host name contains '_' cause the problem getting an output stream... If you have underscore in hostname try to remove that (RFC 2396). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179936#4179936 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179936 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: obtaining MBeanServerConnection - classloading issues
I found http://java.sun.com/products/jndi/tutorial/beyond/misc/classloader.html. I will try with Thread.setContextClassLoader() although that could have unexpected side effects if different tasks set it View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179935#4179935 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179935 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: JBOSS 5 (rev 74649) having EJB rmote injection issues
In case someone is here from an archive search, my issue that jaikiran solved was related to my web.xml web-app definition See this post for the detailshttp://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179933#4179933 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179934#4179934 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179934 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Can someone look at this application? help understanding
You're a GENIUS ! That was it! I would have never thought it was my web.xml descriptor!! Man, I tried so many different things !!! argghh. Oh well, hopefully this might help someone else in the future that runs into the same issue. I really appreciate you having taken the time to help! I'll buy you a beer or some Taco Bell if you're ever in Florida:) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179933#4179933 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179933 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Can someone look at this application? help understanding
Wait, i just noticed this in your web.xml: | http://java.sun.com/xml/ns/j2ee"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee | http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"; | version="2.4"> | I just read that the annotation processing will not happen for this version of web-app xsd. Change it to: http://java.sun.com/xml/ns/javaee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";> and see if it works. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179931#4179931 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179931 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Can someone look at this application? help understanding
The application, the logs and the jndi-tree all look good to me. No obvious issues. I don't see a reason why the bean should not be injected. In your web.xml, you have marked the servlet as load-on-startup: 0 Could you try removing this load-on-startup and see if it works? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179930#4179930 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179930 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Can someone look at this application? help understanding
Thanks again for trying to help. (I have the feeling it's going to be something really stupid that I'm not doing correctly in my maven build. I've looked over the exploded ear though and it seems ok?) Anyway, the EJB seems to deploy ok. I can access it fine grabbing it by the jndi name from the InitialContext. here is the ejb showing up in the jndi tree: http://dl-client.getdropbox.com/u/86998/jndi.png and here is the complete server.log http://dl-client.getdropbox.com/u/86998/server.log Here's the simple service locator that is working View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179928#4179928 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179928 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Takes much time to Startup - 1.4.0.SP3
Thanks for the handful replies. we have also configured paging parameters for our JBoss Messaging Server in Prod Environment for our older version of JBM Values set for FullSize, PageSize, and DownCacheSize are 500,250 and 250 respectively. Before setting these values, we used to often get OutOfMemory Exception in our Prod Environment.After setting these values, we never get OutOfMemory exception..Pls suggest whether the values set is optimal or less aggressive for JBM at prod environment which currently handles millions and millions of messages. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179927#4179927 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179927 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossMQ] - JMS request reply pattern
JMS request reply pattern works in BMT and same not in CMT... this is very strangeWhy? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179926#4179926 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179926 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Multiple mail sessions
I'm developing an application that retrieves emails on behalf of clients (from yahoo, gmail, hotmail, etc.). Currently, I'm creating the mail session by myself. I know I can define my mail session in the mail-service.xml file. However, I have the following questions: * Is it possible to define more than one mail session? If so, how (exact xml elements/syntax)? * Is a mail session considered a "heavy" resource that JBoss will manage better for me or is creating mail sessions by myself in the code is just as efficient? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179925#4179925 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179925 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Can someone look at this application? help understanding
"rickcr" wrote : Maybe someone could try the actual ear in their deployment? I put it out here.. http://dl-client.getdropbox.com/u/86998/user-administration.ear (after it deploys try http://localhost:8080/lt-web/hello ) | | I could have tried it, but i am away from my work place and dont have any access to my test setup for atleast a week and a half. "rickcr" wrote : | here is some server.log info, but not sure how helpful it will be... | I see that this log does not have the deployment part of your application. Could you upload the server.log or the console log to some place (like you did for the application)? I would have asked you to post the server.log here, but its just going to be too long. From the logs, i am trying to figure out whether the bean is deployed. Furthermore, can you post the output of the jndi-tree here. Follow these steps http://wiki.jboss.org/wiki/DisplayTheJDNITreeWithTheJMXConsole to view the jndi tree View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179923#4179923 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179923 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: custom context for EJB deployment
By context for EJB, you mean the jndi names, right? If so, have a look at this http://www.jboss.com/index.html?module=bb&op=viewtopic&t=142976 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179922#4179922 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179922 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Deployment classpath issue in EAR
anonymous wrote : 18:35:44,233 ERROR [FileUtils] java.io.FileNotFoundException: /config.xml (No such file or directory) Is FileUtils class, part of your application? I guess, its logging an incorrect exception. Because in the exception stacktrace i see this: anonymous wrote : | 18:35:44,235 ERROR [STDERR] org.dom4j.DocumentException: Error on line -1 of document : Premature end of file. Nested exception: Premature end of file. | 18:35:44,235 ERROR [STDERR] at org.dom4j.io.SAXReader.read(SAXReader.java:482) | 18:35:44,235 ERROR [STDERR] at org.dom4j.DocumentHelper.parseText(DocumentHelper.java:278) which makes me believe that the file was found and was being parsed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179921#4179921 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179921 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: java.lang.NoClassDefFoundError: org/hibernate/persister/
Please post the entire exception stacktrace. Which version of JBoss and Java do you use? And do you have classloader scoping enabled through jboss-app.xml? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179920#4179920 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179920 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Cannot find port in wsdl (need help)
hi all, this problem happens if u dont specify the name space in your WS implementation OR if u have specified the name space but its not the same as wsdl. I ahve had this issue in JbossWS 423 which is jax-ws and fixed it by having the same name space in the WSDL and WS implementation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179917#4179917 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179917 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: mvn Jboss:deploy plugin issue
Thanks a lot Peter!!.you hit it right there. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179916#4179916 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179916 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: At end of task, return to
great to hear.. congratulations. Personally, I still like some of the j4j tags to be extended, documented and used e.g. in seam to be able to have a kind of seam-gen-jbpm which generates a nice app for a forkflow. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179914#4179914 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179914 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: I need your help desperate: How to stop jbpm pr
kill -9 `grep jbpm` Seriously, it does not sound like a jBPM problem at all... Nevertheless, you should not have a processinstance running that long and using your own threads. Use jBPM Async functionality for long running actions. But then, if that specific code runs to long, you have the same problem. Unless you use e.g. semaphores (make your actions monitor something continously or some build in some listeners and stop if that situation arises). Again, nothing jBPM specific here View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179915#4179915 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179915 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Deployment classpath issue in EAR
Hi, I have an EAR file that is structured like this: EAR | -> META-INF | | -> application.xml | -> WAR | | -> META-INF | | -> MANIFEST.MF -> Class-path: config.xml | | -> WEB-INF -> lib/classes etc | -> depA.jar | -> depB.jar | -> config.xml The war contains a servlet that is loaded on startup. The servlet instantiates a class from depA.jar that uses a framework-type of class from depB.jar that (ideally) reads, and parses, the config.xml file. However, the deployment produces a FileNotFoundException indicating no such file or directory. Here is a snippet of the stacktrace: 18:35:44,233 ERROR [FileUtils] java.io.FileNotFoundException: /config.xml (No such file or directory) 18:35:44,235 ERROR [STDERR] org.dom4j.DocumentException: Error on line -1 of document : Premature end of file. Nested exception: Premature end of file. 18:35:44,235 ERROR [STDERR] at org.dom4j.io.SAXReader.read(SAXReader.java:482) 18:35:44,235 ERROR [STDERR] at org.dom4j.DocumentHelper.parseText(DocumentHelper.java:278) 18:35:44,236 ERROR [STDERR] at com.foo.depA.util.ConfigAdapter.createConfiguration(ConfigAdapter.java:56) 18:35:44,236 ERROR [STDERR] at com.foo.war.ui.app.server.BootstrapServlet.createConfig(Unknown Source) 18:35:44,236 ERROR [STDERR] at com.foo.war.ui.app.server.BootstrapServlet.initializeBroker(Unknown Source) 18:35:44,236 ERROR [STDERR] at com.foo.war.app.server.BootstrapServlet.init(Unknown Source) 18:35:44,236 ERROR [STDERR] at javax.servlet.GenericServlet.init(GenericServlet.java:212) 18:35:44,236 ERROR [STDERR] at com.foo.war.ui.app.server.BootstrapServlet.init(Unknown Source) 18:35:44,236 ERROR [STDERR] at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161) 18:35:44,237 ERROR [STDERR] at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981) 18:35:44,237 ERROR [STDERR] at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4071) 18:35:44,237 ERROR [STDERR] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4375) 18:35:44,237 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790) 18:35:44,237 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770) I even included a Class-path entry in the MANIFEST.MF, for config.xml, in depA.jar and (for good measure) in depB.jar - still no luck. What have I messed up with this configuration? Thanks for any help, John View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179908#4179908 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179908 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - custom context for EJB deployment
i am deploying a standalone EJB3 service (some SLSBs and SFSBs) as a .jar file using the autodeploy mechanism. what i want to do is change the context the beans are bound to, without changing the jar name. i have looked at repacking it as an .ear file, but, once again, the deployment context is being bound by the .ear name. is there a way to specify in the deployment descriptors what context the beans should be deployed as. n.b. there is no packaged war file, so i do not have a web.xml or jboss-web.xml to specify context in. TIA == stanton View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179905#4179905 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179905 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - about hyperlink of portal pages
I defined some subpages in the top tab, just like the menu, I can define some web pages in CMS and edit the layout of the subpage to include this pages. But in this way, when I click on the subpages, it will open the page in the same window, how to make them jump to a new page ? Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179904#4179904 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179904 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: deploy portlet to display applets failure
nobody can help me ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179903#4179903 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179903 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Where is the JBOSS Pending Registration data stored?
"pending user data"??? I have a feeling that when you say "jboss" you do not mean JBoss Application Server, but rather one of the other products in the JBoss family of middle-ware products. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179901#4179901 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179901 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Where is the JBOSS Pending Registration data stored?
I've looked in every table in jboss and have not been able to find where the pending user data is stored. Only after I've approved the pending registration will the user data appear in the jboss database. Anyone know where to find this data? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179898#4179898 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179898 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - java.lang.NoClassDefFoundError: org/hibernate/persister/enti
Hi all, When ever i deploy the EAR in JBoss instance it gives me the error java.lang.NoClassDefFoundError for Hibernate. Applications runs fine when i run in my local server and with the same instance when i am trying to run in another server/remoter server it gives me the error java.lang.NoClassDefFoundError: org/hibernate/persister/entity/EntityPersister and some times it give me the error My EAR contains a JAR and a WAR. and if we see the order of deployement in org.jboss.deployment.MainDeployer-xmbean.xml is and hibernate3.jar is present in C:\JBOSS Server\server\CONSServer\lib Any help is really appreicated. Regards Siddiq. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179897#4179897 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179897 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: At end of task, return to
On the tasks.xhtml page I found the section where there was a view="form" and changed the and removed the redirect="true" This causes the task to go back to the home.jsf when completed. Also added a button to the comment page so that if you clicked "Cancel" it went directly to the home page. The Save button on that page also goes directly to home after saving the comment. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179896#4179896 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179896 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Server running on port 8888 and 8493 but application is
The port was not enabled. Found the solution myself. Thanks !! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179895#4179895 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179895 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - JBoss and Keystores
Hello! I've got an application in JBoss that works as a client webservice. The communication is over SSL with mutual authentication. It works fine when I set the system properties javax.net.ssl.keyStore*. But I'm tring to find a way to encrypt the keystore password. I know that there is a wiki that explain how to encrypt the keystore password, but it is not solving my problem. I did all the steps described in http://wiki.jboss.org/wiki/EncryptKeystorePasswordInTomcatConnector to encrypt the keystore password, but when my application runs, JBoss doesn't find my keystore. The only way to communicate with success is set the javax.net.ssl.keyStore and javax.net.ssl.keyStorePassword as system properties. The problem is that the password isn't encrypted. Please, can anyone could help me? Thanks. Regis Santos View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179894#4179894 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179894 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Limiting log file size/versions under 4.0.1SP1
Thanks everyone! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179892#4179892 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179892 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - I need your help desperate: How to stop jbpm proces
I'm been working for the last 28 hours, I cannot find the answer. I beg for your help. I've searched the documentation of jbpm, nothing. I've read all the java doc also nothing. One of our jbpm process has a chance of running really long (20 hours+). We would like an ability to stop it. The process is spawned off from tomcat as a seperate thread. But because java does not allow killing of threads, there is no way to stop it. Interrupt() does not help because the thread is not blocked, it simply is running busy for VERY LONG. What would be a way to stop it? THANK YOU View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179891#4179891 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179891 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Timers in jBPL
ok... great that it works... can you file a jira issue for the 'misleading' docs? so it won't get lost View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179889#4179889 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179889 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Synchronous replication result with suspect member
Stack trace on machine A: anonymous wrote : 2008-09-29 00:02:21,740 ERROR [org.jasig.cas.ticket.registry.JBossCacheTicketRegistry] - org.jboss.cache.ReplicationException: rsp=sender=XXX.XXX.XXX.XXX:, retval=null, received=false, suspected=false | org.jboss.cache.ReplicationException: rsp=sender=XXX.XXX.XXX.XXX:, retval=null, received=false, suspected=false | at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:4338) | at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:4260) | at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:4372) | at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:110) | at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:88) | at org.jboss.cache.interceptors.ReplicationInterceptor.handleReplicatedMethod(ReplicationInterceptor.java:124) | at org.jboss.cache.interceptors.ReplicationInterceptor.invoke(ReplicationInterceptor.java:88) | at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) | at org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:364) | at org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:160) | at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) | at org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:157) | at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5710) | at org.jboss.cache.TreeCache.put(TreeCache.java:3782) | at org.jboss.cache.TreeCache.put(TreeCache.java:3720) | ... X more | Caused by: org.jboss.cache.lock.TimeoutException: Response timed out: sender=XXX.XXX.XXX.XXX:, retval=null, received=false, suspected=false | at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:4336) | ... 72 more | Stack trace on machine B: anonymous wrote : 2008-09-29 08:14:34,471 INFO [org.jasig.cas.authentication.AuthenticationManagerImpl] - AuthenticationHandler: org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler successfully authenticated the user which prov | ided the following credentials: kattest | 2008-09-29 08:14:36,869 ERROR [org.jasig.cas.ticket.registry.JBossCacheTicketRegistry] - org.jboss.cache.ReplicationException: rsp=sender=YYY.YYY.YYY.YYY:, retval=null, received=false, suspected=true | org.jboss.cache.ReplicationException: rsp=sender=YYY.YYY.YYY.YYY:, retval=null, received=false, suspected=true | at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:4338) | at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:4260) | at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:4372) | at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:110) | at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:88) | at org.jboss.cache.interceptors.ReplicationInterceptor.handleReplicatedMethod(ReplicationInterceptor.java:124) | at org.jboss.cache.interceptors.ReplicationInterceptor.invoke(ReplicationInterceptor.java:88) | at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) | at org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:364) | at org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:160) | at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) | at org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:157) | at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5710) | at org.jboss.cache.TreeCache.put(TreeCache.java:3782) | at org.jboss.cache.TreeCache.put(TreeCache.java:3720) | ... N more | Caused by: org.jboss.cache.SuspectException: Response suspected: sender=YYY.YYY.YYY.YYY:, retval=null, received=false, suspected=true | at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:4332) | ... 72 more View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179888#4179888 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179888 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - JBoss hangs while trying to retrieve values from Entity bean
Hi All, I have a very strange problem with JBoss 4.0.5 GA. I am migrating an application from Weblogic to Jboss. In my application there is a search functionality which involves using entity beans. When i perform this search functionality Jboss gets hangs for certain search terms, for some terms i am getting results. I am not able to figure out the issue with ThreadDump java.net.SocketInputStream.socketRead0(Native Method) java.net.SocketInputStream.read(SocketInputStream.java:129) oracle.net.ns.Packet.receive(Unknown Source) oracle.net.ns.NetInputStream.getNextPacket(Unknown Source) oracle.net.ns.NetInputStream.read(Unknown Source) oracle.net.ns.NetInputStream.read(Unknown Source) oracle.net.ns.NetInputStream.read(Unknown Source) oracle.jdbc.ttc7.MAREngine.unmarshalUB1(MAREngine.java:931) oracle.jdbc.ttc7.MAREngine.unmarshalSB1(MAREngine.java:893) oracle.jdbc.ttc7.Oall7.receive(Oall7.java:369) oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1891) oracle.jdbc.ttc7.TTC7Protocol.parseExecuteDescribe(TTC7Protocol.java:830) oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2391) oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2672) oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:589) oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:527) org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery(WrappedPreparedStatement.java:236) org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.execute(JDBCLoadEntityCommand.java:177) org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.execute(JDBCLoadEntityCommand.java:88) org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadEntity(JDBCStoreManager.java:646) org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadEntity(JDBCStoreManager.java:628) org.jboss.ejb.plugins.CMPPersistenceManager.loadEntity(CMPPersistenceManager.java:406) org.jboss.resource.connectionmanager.CachedConnectionInterceptor.loadEntity(CachedConnectionInterceptor.java:252) org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java:243) org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158) org.jboss.ejb.plugins.EntityReentranceInterceptor.invoke(EntityReentranceInterceptor.java:126) org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:276) org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:104) org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:68) org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63) org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121) org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350) org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181) org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168) org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205) org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136) org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:527) org.jboss.ejb.Container.invoke(Container.java:954) sun.reflect.GeneratedMethodAccessor109.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) org.jboss.mx.server.Invocation.invoke(Invocation.java:86) org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169) org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118) org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209) org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195) org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61) org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70) org.jboss.proxy.ejb.EntityInterceptor.invoke(EntityInterceptor.java:112) org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100) $Proxy361.getValue(Unknown Source) com.isbr.fwk.valpha.AlphaEjbDaoImpl.getValue(Unknown Source) com.isbr.fwk.valpha.AlphaEjbDaoImpl.getValue(Unknown Source) com.isbr.fwk.valpha.AlphaDaoImpl.getValue(Unknown Source) com.isbr.fwk.util.EntityValueList.next(Unknown Source) com.isbr.cos.ejb.srrequestbytrivialname.SrRequestByTrivialNameImpl.getSampleNumbers(Unknown Sourc I doubt the application is getting hangs when Jboss trying to unmarshall the primarykey while trying to identify the actual entity bean. Also Jbos
[jboss-user] [JBoss Cache: Core Edition] - Synchronous replication result with suspect member
QUESTION: Whenever putting an attribute / node into the cache and a replication exception occurs due to time out or a remote machine being suspect, is the attribute / node put into the cache on the other machines that did respond? We have our cache configured for synchronous replication with a cluster of 5 initial members. Occasionally, we receive a stack trace in the error log for replication errors involving one of the members being timed out or suspected, however I am unsure as to the state of the cache. These occur whenever we are putting a new attribute within the cache, so I want to know whether the attribute was put into the cache on all machines except for the suspected / timed out machine or if wasn't put into the cache on any of the machines. JGroups configuration (sans TCP and TCPPING) | | | | | | | Stack Trace anonymous wrote : 2008-09-29 00:02:21,740 ERROR [org.jasig.cas.ticket.registry.JBossCacheTicketRegistry] - org.jboss.cache.ReplicationException: rsp=sender=XXX.XXX.XXX.XXX:, retval=null, received=false, suspected=false | org.jboss.cache.ReplicationException: rsp=sender=XXX.XXX.XXX.XXX:, retval=null, received=false, suspected=false | at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:4338) | at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:4260) | at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:4372) | at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:110) | at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:88) | at org.jboss.cache.interceptors.ReplicationInterceptor.handleReplicatedMethod(ReplicationInterceptor.java:124) | at org.jboss.cache.interceptors.ReplicationInterceptor.invoke(ReplicationInterceptor.java:88) | at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) | at org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:364) | at org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:160) | at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) | at org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:157) | at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5710) | at org.jboss.cache.TreeCache.put(TreeCache.java:3782) | at org.jboss.cache.TreeCache.put(TreeCache.java:3720) Thank you for any assistance! Andrew View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179886#4179886 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179886 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Server running on port 8888 and 8493 but application is not
Hi Everyone, I am newbie in Jboss. I configured the server.xml file so that my application runs on port and 8493. 8493 is for SSL which is needed for my application. Once I deploy the .ear file the log is fine and there is not a single error/exception. Last 3 lines are: 2008-10-01 14:34:47,185 INFO [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0- 2008-10-01 14:34:47,324 INFO [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8493 2008-10-01 14:34:47,333 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231054)] Started in 29s:79ms But then I tried to run the application by typing: https://server_IP:8493/ but the application is not running. Can anybody please help me or suggest anything? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179884#4179884 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179884 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Scheduling app to run on one node only
We're in a 2-node cluster environment with various scheduled services. A new application has a requirement to run only one node once a day - our other scheduled apps are fine with running on both nodes and needs to stay that way. In this app's case, the scheduled service is duplicating data in a database due to it running twice daily vs. just once. Can I modify my .sar's META-INF/jboss-service.xml (vs. having to modify any JBoss configuration) so this particular app only runs one node? Here's the existing .sar jboss-service.xml: | | | true | com.mycompany.myapp.MyScheduledService | NOW | 8640 | -1 | | jboss.jca:service=DataSourceBinding,name=jdbc/MyDataSource | | | | Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179882#4179882 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179882 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Using Shared Libraries in Portlets.
Thank you peterJ I will try to go with 1st option Regards Mabimal View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179879#4179879 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179879 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Re: Trailblazer fails to start
Looks like something was fixed in 4.2.3. Reviewing the release notes might give a clue as to what it was. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179876#4179876 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179876 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Re: Trailblazer fails to start
I just downloaded JBossAS 4.2.3 and deployed EJB3Trail.ear. I did just as I did before and guess what - this time it worked?! hm, total confusion.. Now I just need to see if it works when I deploy my project from within Eclipse as well. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179875#4179875 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179875 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Re: Trailblazer fails to start
I also tried to deploy the provided EJB3Trail.ear (that is without creating my own project and so on..). The same result. The queues that are problematic are: mdb, mdpojo, injection. The first error I get in the logs is the following (with some ok messages before that). 18:42:03,897 WARN [MessagingContainer] Could not find the queue destination-jndi-name=queue/injection 18:42:03,898 WARN [MessagingContainer] destination not found: queue/injection reason: javax.naming.NameNotFoundException: queue/injection 18:42:03,898 WARN [MessagingContainer] creating a new temporary destination: queue/injection 18:42:03,907 INFO [injection] Bound to JNDI name: queue/injection 18:42:03,929 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer 18:42:03,929 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=EJB3Trail.ear,jar=beans.jar,name=TransCalculator,service=EJB3 with dependencies: 18:42:03,929 INFO [JmxKernelAbstraction] persistence.units:ear=EJB3Trail.ear,jar=beans.jar,unitName=ejb3trail 18:42:03,943 INFO [EJBContainer] STARTED EJB: trail.transaction.TransCalculator ejbName: TransCalculator 18:42:03,950 INFO [EJB3Deployer] Deployed: file:/home/magnus/jboss-4.2.2.GA/server/default/tmp/deploy/tmp23368EJB3Trail.ear-contents/beans.jar 18:42:03,980 INFO [TomcatDeployer] deploy, ctxPath=/EJB3Trail, warUrl=.../tmp/deploy/tmp23368EJB3Trail.ear-contents/web-exp.war/ 18:42:04,010 WARN [JmsActivation] Failure in jms activation [EMAIL PROTECTED]([EMAIL PROTECTED] destination=queue/mdpojo isTopic=false tx=true durable=false reconnect=10 provider=java:/DefaultJMSProvider user=null maxMessages=1 minSession=1 maxSession=15 keepAlive=6 useDLQ=true DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=5) javax.jms.JMSSecurityException: Connection not authorized to subscribe to destination: mdpojo at org.jboss.mq.security.ServerSecurityInterceptor.subscribe(ServerSecurityInterceptor.java:156) at org.jboss.mq.server.TracingInterceptor.subscribe(TracingInterceptor.java:643) at org.jboss.mq.server.JMSServerInvoker.subscribe(JMSServerInvoker.java:177) at org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:188) at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:419) at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:398) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:761) at java.lang.Thread.run(Thread.java:619) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179873#4179873 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179873 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Schedular MBean & Injection
To wait on JNDI add a depends on jboss:service=Naming View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179872#4179872 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179872 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Schedular MBean & Injection
"PeterJ" wrote : If the EJB is already deployed when the service runs, then it sounds like this could be a bug. You should probably file a JIRA. Thanks. I did open up a support case with Redhat. Funny enough under 4.2.3 I get this error when starting: 09:35:03,980 ERROR [STDERR] java.lang.NullPointerException | 09:35:03,980 ERROR [STDERR] at org.jboss.ejb3.JndiUtil.lookup(JndiUtil.java:49) | 09:35:03,980 ERROR [STDERR] at org.jboss.injection.JndiPropertyInjector.lookup(JndiPropertyInjector.java:87) | 09:35:03,980 ERROR [STDERR] at org.jboss.injection.JndiPropertyInjector.inject(JndiPropertyInjector.java:112) | 09:35:03,980 ERROR [STDERR] at org.jboss.injection.JndiPropertyInjector.inject(JndiPropertyInjector.java:107) | 09:35:03,980 ERROR [STDERR] at org.jboss.injection.JndiPropertyInjector.inject(JndiPropertyInjector.java:65) | 09:35:03,980 ERROR [STDERR] at org.jboss.ejb3.service.ServiceContainer.injectDependencies(ServiceContainer.java:446) | 09:35:03,980 ERROR [STDERR] at org.jboss.ejb3.service.ServiceContainer.start(ServiceContainer.java:172) | 09:35:03,980 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 09:35:03,980 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 09:35:03,980 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 09:35:03,980 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 09:35:03,980 ERROR [STDERR] at org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:103) | 09:35:03,980 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | 09:35:03,980 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | 09:35:03,980 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 09:35:03,980 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 09:35:03,980 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 09:35:03,980 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 09:35:03,980 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | 09:35:03,980 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | 09:35:03,980 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | 09:35:03,980 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | 09:35:03,980 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 09:35:03,980 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | 09:35:03,980 ERROR [STDERR] at $Proxy0.start(Unknown Source) | 09:35:03,980 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417) | 09:35:03,980 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) | 09:35:03,980 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 09:35:03,980 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 09:35:03,980 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | 09:35:03,980 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | 09:35:03,980 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | 09:35:03,980 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | 09:35:03,980 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 09:35:03,980 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | 09:35:03,980 ERROR [STDERR] at $Proxy99.start(Unknown Source) | 09:35:03,980 ERROR [STDERR] at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:120) | 09:35:03,980 ERROR [STDERR] at org.jboss.ejb3.Ejb3Deployment.registerEJBContainer(Ejb3Deployment.java:301) | 09:35:03,980 ERROR [STDERR] at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:362) | 09:35:03,980 ERROR [STDERR] at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:91) | 09:35:03,980 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | 09:35:03,980 ERROR [STDE
[jboss-user] [EJB/JBoss] - Re: Jboss hangs after running for a while
thanks for the replies ... @jaikiran .. after analyzing the tread dump i was able to figure out where the problem was .. so thanks for the clue :) Regards Imran View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179870#4179870 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179870 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Re: Trailblazer fails to start
Ok I am using jboss 4.2.2.GA deployed on Ubuntu 8.04.1 (Linux version 2.6.24-19-generic). anonymous wrote : 1) Another MDB is using the same queue name, in which case perhaps only that MDB has read access to the queue. I don't think it could be this problem. The beans in the TrailBlazer demo tries to connect to many different queues - all have the same problem. anonymous wrote : 2) A *-service.xml configuration file has that queue name declared, in which case the security settings in configuration file are being applied. Same as above, there are many queue and the beans can not connect. I will download 4.2.3 and reinstall and do it all over again to see if the problem persists or it was just a fluke. Meanwhile, If you get other ideas on what the problem could be please don't hesitate to post. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179869#4179869 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179869 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Schedular MBean & Injection
If the EJB is already deployed when the service runs, then it sounds like this could be a bug. You should probably file a JIRA. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179868#4179868 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179868 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Schedular MBean & Injection
"PeterJ" wrote : Services are started before EJBs, therefore the EJB is probably not ready at the time the code is run. You need to add a depends tag that references the BMean generated for the EJB. Something like this: | | | | jboss.j2ee:ear=xxx.ear,jar=xxx.jar,name=MyEjb,service=EJB3 | | | | You can use the jmx console to look up the name for your ejb's mbean. Hi Peter. Thanks for the response. The strange thing is the application server can be completely started and it still fails (for example setting the SchedulePeriod to 1 will launch the method after it's completely started) It still works from the console however. It's almost as it's being launched from outside of the servers context or something? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179866#4179866 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179866 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Node thread safety issue
The Node class has a potential deadlock condition in getLeavingTransitionsMap() if multiple users attempt to leave the same node at the same time. The leavingTransitionMap.put() method isn't thread safe so multiple threads can deadlock there. Other configuration methods are not thread safe but they don't matter because they are only called one time at startup. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179865#4179865 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179865 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: beginner questions
1) There is no way to tell from this configuration. Each app server provides its own persistent engine, with JBossAS using Hibernate. If you used this configuration on another app server you would get another persistence engine. 2) http://www.manning.com/bauer2/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179864#4179864 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179864 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Problem during marshalling/unmarshalling
hi ocsamuel were u able to solve this problem ? i am also getting the same error .. checked the client jars twice .. they are the same .. below is the stack trace .. i am streaming the object from jboss to tomcat ... when i print the object in jboss console it seems to be fine ... and the funny thing is i get this exception not always but only sometimes .. | 123386 [pool-18-thread-1] ERROR org.jboss.remoting.transport.socket.SocketClientInvoker - Got marshalling exception, exiting | java.io.OptionalDataException | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1319) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339) | at java.util.LinkedList.readObject(LinkedList.java:776) | at sun.reflect.GeneratedMethodAccessor228.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:919) | at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1813) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) | at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912) | at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) | at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912) | at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339) | at java.util.ArrayList.readObject(ArrayList.java:587) | at sun.reflect.GeneratedMethodAccessor132.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:919) | at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1813) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) | at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912) | at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339) | at java.util.HashSet.readObject(HashSet.java:278) | at sun.reflect.GeneratedMethodAccessor61.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | any help will be appreciated Imran View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179862#4179862 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179862 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Not getting instance of Service object from a WSDL file.
Go back an read my previous reply, under item #1. You have to do your own searching for the correct set of JAR files. You will probably need to add about 12 JAR files to the classpath. If it were just one or two, I could tell you each time you get a CNFE which JAR you need to add, but doing this form a dozen JARs is too much work. One obvious shortcut is to include every JAR in the jboss_home/client directory in your client's classpath. (Though I vaguely recall that one or two if them are not there but in the server/xxx/lib directory. Anyway, if after adding all of the jboss_home/client jar files you still get a CNFE, post it and I will tell you which JAR it is in.) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179858#4179858 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179858 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: apache2 + jboss4.2.3 ajp problem
anonymous wrote : Question : Why sould we install Jboss native to install jboss as a service ? Actually, you do not have to "install" JBoss Native. You can, instead, copy just the service.bat and jbosssvc.exe files from jboss_native/bin to jboss_home/bin. Those are the only two files required to run JBossAS as a service. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179856#4179856 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179856 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Timers in jBPL
This was THE hint - now it works as expected: | | |System.out.println("Timer fired "+node); | | | | | But the docu is misleading, saying: anonymous wrote : this attribute is only to be used in timers of tasks. it specifies the event on which the timer should be cancelled. by default, this is the task-end event, but it can be set to e.g. task-assign or task-start. ... Thanks a lot! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179855#4179855 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179855 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Re: Trailblazer fails to start
4.2.x? Please be specific (4.2.x includes 4.2.3) The default security should grant you access. The only reasons I can think of that could cause this problem are: 1) Another MDB is using the same queue name, in which case perhaps only that MDB has read access to the queue. 2) A *-service.xml configuration file has that queue name declared, in which case the security settings in configuration file are being applied. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179854#4179854 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179854 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Accessing EJB3s through a firewall
Magnus, can you explain better the step 1 and 4 in windows ? Thanks in advance B View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179853#4179853 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179853 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Using Shared Libraries in Portlets.
I assume that each portlet is being deployed in its own WAR file and that the library JARs required by the portlets are in their WEB-INF/lib directory. As you guesses, such JARs cannot be shared between WARs, as that would be against the spec. Here are a couple of solutions: 1) Places you WARs in an EAR and move the library JARs out of WEB-INF/lib and itn othe EAR (but leave the servlet/portlet JAR, if any, in WEB-INF/lib). 2) Move the library JARs out of WEB-INF/lib and place them into server/xxx/lib. I would go with option #1. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179852#4179852 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179852 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - beginner questions
Hi all, I am new in JBoss/Hibernate so I have few simple questions: I am working with persistence api on stateless ejb and all working fine, my questions are: 1. how do I know that the persistence engine is Hibernate if this is my configuration: | java:/MySqlDS | | | | | 2. can someone point me to good reference for JBoss/Hibernate? Thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179850#4179850 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179850 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: mvn Jboss:deploy plugin issue
Look at this file name: /usr/etc/jboss/jboss-4.2.2.GA/bin/C:\mysystems-app\collaboration\trunk\mysystems-earapp\target/mysystems-earapp-1.0.ear Notice that a Windows path got appended to a Linux path. I do not think that the plugin is behaving in the way you want. You think that the plugin will transfer the ear file to the app server and then the app server will deploy it. Instead, what the plugin is doing is passing the path of the ear to the app server, and then the app sever is attempting to deploy the ear based on that path. Because the path passed to the app server is not recognized as an absolute path (on Linux, absolute paths start with "/"), the app server is appending the path to the working directory, which is jboss_home/bin. Of course, the resulting file does not exists on the file server. Other people have asked the question "how can I deploy an application to a remote server" in the forums. You might want to look up those discussions. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179848#4179848 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179848 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Takes much time to Startup - 1.4.0.SP3
"Craig2007" wrote : | FYI | We have millions of messages which are pending to be delivered from the JBoss messaging server. | Did you try playing with paging? http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.0.SP3/html/configuration.html#conf.destination.queue.attributes.paging View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179847#4179847 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179847 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Is there a hard limit to the number of session JBoss portal
Is there any session limit that jboss portal can handle View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179846#4179846 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179846 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Is there a hard limit to the number of session JBoss portal
Is there any session limit that jboss portal can handle View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179845#4179845 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179845 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Steless Session bean as Webservice
Where in your code are you referencing Sun-specific classes (com/sun/xml/messaging/saaj/soap/AttachmentPartImpl)? You should not need that. Are you trying to use Axis (I noticed it in your classpath)? You do not need Axis with CR2. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179843#4179843 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179843 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Schedular MBean & Injection
Services are started before EJBs, therefore the EJB is probably not ready at the time the code is run. You need to add a depends tag that references the BMean generated for the EJB. Something like this: | jboss.j2ee:ear=xxx.ear,jar=xxx.jar,name=MyEjb,service=EJB3 | You can use the jmx console to look up the name for your ejb's mbean. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179842#4179842 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179842 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: At end of task, return to
anonymous wrote : Is there a place where this is explained? no, sorry anonymous wrote : I'd be glad to RTFM I know ;-) anonymous wrote : if I could locate one that had this translated in it! Fat change, since it was not intended to be end-user targeted with these kinds of specific wishes. the jsf4jbpm code and to some extend the gravel code is your best option to see what realy happens btw building a custom ui for a processdefinition with seam/jsf is fairly quick. Personally, I'd leave the 'back to home' out in the demo and just mention that it will be in there in the final version. I did that once and had no problem at all with this customer. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179840#4179840 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179840 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Timers in jBPL
small correction: timers are only cancelled when they are on a task that is ended. So either use a cancel-timer in a transition or define the cancel-event attribute on the timer and set it e.g. to node-leave View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179837#4179837 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179837 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: At end of task, return to
More, In task.xhtml we have a section in an where http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179835#4179835 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179835 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Problems deploying POJO cache to JBoss AS 4.2.2.GA
The JBossCacheAsCompatibility wiki page is a bit confusing, in that it provides a sample deployable WAR file that uses JBC 2.x, but without the relevant JAR files, and does not list which JAR files from the JBC distro should be included, and which are unnecessary. I'm trying to deploy an EAR containing JBC 2.2.0 within EAP 4.2, and when I include jboss-common-core.jar, I get ClassDefNotFoundErrors for ThreadPoolMBean, which is likely because jboss-common-core.jar eclipses some classes from JBossAS but not others, so the classloader gets into a spin. If I omit jboss-common-core.jar, then it instead it can't find MarshalledValueInputStream, which is present in JBossAS but in a different package. No combination of JARs from the 2.2.0, 2.1.0 or 2.0.0 distro seems to work in my EAP 4.2 when packed in an EAR. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179834#4179834 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179834 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Can someone look at this application? help understanding
"jaikiran" wrote : Which version of JBoss and Java do you use? Please post the entire exception stacktrace and the console logs when you deploy your application with the following annotation in the servlet: | | @EJB(mappedName="user-administration/UserServiceBean/local") | | private UserService userService; | | | That's the odd thing is that there really aren't any Exceptions other the null pointer that occurs because "userService" is never initialized. It's as if the annotation is being totally being ignored in the servlet, yet for the ejb jar obviously the annotations are picked up. I'm not convinced something isn't wrong with my set up though. Maybe someone could try the actual ear in their deployment? I put it out here.. http://dl-client.getdropbox.com/u/86998/user-administration.ear (after it deploys try http://localhost:8080/lt-web/hello ) Thanks for any help. I do appreciate it. here is some server.log info, but not sure how helpful it will be... JBoss: 5.0.0.CR2 (build: SVNTag=JBoss_5_0_0_CR2 date=200809171046) java -version: java version "1.5.0_16" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b06-284) Java HotSpot(TM) Client VM (build 1.5.0_16-133, mixed mode, sharing) | JBoss Bootstrap Environment | | JBOSS_HOME: /Users/rick/java/jboss | | JAVA: /Users/rick/java/java/bin/java | | JAVA_OPTS: -Dprogram.name=run.sh -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 | | CLASSPATH: /Users/rick/java/jboss/bin/run.jar | | = | | 10:03:55,325 INFO [ServerImpl] Starting JBoss (Microcontainer)... | 10:03:55,326 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.CR2 (build: SVNTag=JBoss_5_0_0_CR2 date=200809171046) | 10:03:55,332 INFO [ServerImpl] Home Dir: /Users/rick/java/jboss-5.0.0.CR2 | 10:03:55,332 INFO [ServerImpl] Home URL: file:/Users/rick/java/jboss-5.0.0.CR2/ | 10:03:55,332 INFO [ServerImpl] Library URL: file:/Users/rick/java/jboss-5.0.0.CR2/lib/ | 10:03:55,333 INFO [ServerImpl] Patch URL: null | 10:03:55,333 INFO [ServerImpl] Server Name: default | 10:03:55,333 INFO [ServerImpl] Server Home Dir: /Users/rick/java/jboss-5.0.0.CR2/server/default | 10:03:55,333 INFO [ServerImpl] Server Home URL: file:/Users/rick/java/jboss-5.0.0.CR2/server/default/ | 10:03:55,333 INFO [ServerImpl] Server Data Dir: /Users/rick/java/jboss-5.0.0.CR2/server/default/data | 10:03:55,333 INFO [ServerImpl] Server Temp Dir: /Users/rick/java/jboss-5.0.0.CR2/server/default/tmp | 10:03:55,334 INFO [ServerImpl] Server Config URL: file:/Users/rick/java/jboss-5.0.0.CR2/server/default/conf/ | 10:03:55,334 INFO [ServerImpl] Server Library URL: file:/Users/rick/java/jboss-5.0.0.CR2/server/default/lib/ | 10:03:55,334 INFO [ServerImpl] Root Deployment Filename: jboss-service.xml | 10:03:55,789 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/Users/rick/java/jboss-5.0.0.CR2/server/default/conf/bootstrap.xml | 10:03:56,430 INFO [CopyMechanism] VFS temp dir: /Users/rick/java/jboss-5.0.0.CR2/server/default/tmp | 10:03:56,431 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled. | 10:03:57,418 INFO [ServerInfo] Java version: 1.5.0_16,Apple Inc. | 10:03:57,419 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_16-133,Apple Inc. | 10:03:57,419 INFO [ServerInfo] OS-System: Mac OS X 10.5.5,i386 | 10:03:57,443 INFO [JMXKernel] Legacy JMX core initialized | | //THE ERROR when going to the URL | | 2008-10-01 10:11:10,830 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] (Thread-12) Periodic recovery - second pass | 2008-10-01 10:11:10,830 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] (Thread-12) AtomicActionRecoveryModule: Second pass | 2008-10-01 10:11:10,830 DEBUG [com.arjuna.ats.txoj.logging.txojLoggerI18N] (Thread-12) [com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_6] - TORecoveryModule - second pass | 2008-10-01 10:11:10,830 DEBUG [com.arjuna.ats.jta.logging.loggerI18N] (Thread-12) [com.arjuna.ats.internal.jta.recovery.info.secondpass] Local XARecoveryModule - second pass | 2008-10-01 10:11:25,091 INFO [STDOUT] (http-127.0.0.1-8080-1) userService = null | 2008-10-01 10:11:25,092 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/lt-web].[SayHelloServlet]] (http-127.0.0.1-8080-1) Servlet.service() for servlet SayHelloServlet threw exception | java.lang.NullPointerException | at net.learntechnology.web.SayHelloServlet.doPost(SayHelloServlet.java:38) | at net.learntechnology.web.SayHelloServlet.doGet(SayHelloServlet.java:30) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | at org.apache.cata
[jboss-user] [JBossWS] - Are ports reusable/concurrent?
Hi, I'm developing an application with JBossWS, and using it as server and as client, invoking some other webservices in other servers. Doing tunning of my app, I have found that too much time is spent every time I invoke getPort on a service, as it seems that everytime is generating the port on the fly. 2008-10-01 15:46:18,103:org.jboss.ws.core.jaxws.spi.ServiceDelegateImplCannot get port meta data for: {http://www.csapi.org/wsdl/parlayx/sms/send/v2_2/service}SendSms| 2008-10-01 15:46:18,103:org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilderSTART: rebuildMetaData| 2008-10-01 15:46:18,103:org.jboss.ws.metadata.umdm.EndpointMetaDatasetParameterStyle: null| 2008-10-01 15:46:18,103:org.jboss.ws.metadata.umdm.EndpointMetaDataCreate new config [name=Standard Client,file=META-INF/standard-jaxws-client-config.xml]| 2008-10-01 15:46:18,103:org.jboss.ws.metadata.config.JBossWSConfigFactorygetConfig: [name=Standard Client,url=META-INF/standard-jaxws-client-config.xml]| 2008-10-01 15:46:18,103:org.jboss.ws.metadata.config.JBossWSConfigFactoryparse: file:/C:/jboss-4.2.3/core/server/som/deploy/jbossws.sar/META-INF/standard-jaxws-client-config.xml| 2008-10-01 15:46:18,181:org.jboss.ws.metadata.umdm.EndpointConfigMetaDataConfigure EndpointMetaData| 2008-10-01 15:46:18,181:org.jboss.ws.metadata.umdm.EndpointConfigMetaDataAdded 0 PRE handlers| 2008-10-01 15:46:18,181:org.jboss.ws.metadata.umdm.EndpointConfigMetaDataAdded 0 ENDPOINT handlers| 2008-10-01 15:46:18,181:org.jboss.ws.metadata.umdm.EndpointConfigMetaDataAdded 0 POST handlers| 2008-10-01 15:46:18,181:org.jboss.ws.metadata.umdm.EndpointMetaDatasetParameterStyle: WRAPPED| 2008-10-01 15:46:18,181:org.jboss.ws.metadata.umdm.EndpointMetaDataUsing default style: document| 2008-10-01 15:46:18,213:org.jboss.ws.metadata.umdm.EndpointMetaDatasetParameterStyle: WRAPPED| 2008-10-01 15:46:18,228:org.jboss.ws.metadata.umdm.EndpointMetaDatasetParameterStyle: WRAPPED| 2008-10-01 15:46:18,228:org.jboss.ws.metadata.umdm.EndpointMetaDatasetParameterStyle: WRAPPED| 2008-10-01 15:46:18,244:org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilderJAXBContext [types=[class com.hp.som.ws.parlayx21.sms.send.SendSms_Type, class com.hp.som.ws.parlayx21.sms.send.SendSmsResponse, class com.hp.som.ws.parlayx21.common.PolicyExceptionInfo, class com.hp.som.ws.parlayx21.common.ServiceExceptionInfo, class com.hp.som.ws.parlayx21.sms.send.SendSmsRingtone, class com.hp.som.ws.parlayx21.sms.send.SendSmsRingtoneResponse, class com.hp.som.ws.parlayx21.common.PolicyExceptionInfo, class com.hp.som.ws.parlayx21.common.ServiceExceptionInfo, class com.hp.som.ws.parlayx21.sms.send.SendSmsLogo, class com.hp.som.ws.parlayx21.sms.send.SendSmsLogoResponse, class com.hp.som.ws.parlayx21.common.PolicyExceptionInfo, class com.hp.som.ws.parlayx21.common.ServiceExceptionInfo, class com.hp.som.ws.parlayx21.sms.send.GetSmsDeliveryStatus, class com.hp.som.ws.parlayx21.sms.send.GetSmsDeliveryStatusResponse, class com.hp.som.ws.parlayx21.common.PolicyExceptionInfo,! class com.hp.som.ws.parlayx21.common.ServiceExceptionInfo],tns=http://www.csapi.org/wsdl/parlayx/sms/send/v2_2/interface]| 2008-10-01 15:46:18,478:org.jboss.ws.metadata.umdm.OperationMetaDataFound best matching java method: public abstract java.lang.String com.hp.som.ws.parlayx21.sms.send.SendSms.sendSms(java.util.List,java.lang.String,com.hp.som.ws.parlayx21.common.ChargingInformation,java.lang.String,com.hp.som.ws.parlayx21.common.SimpleReference) throws com.hp.som.ws.parlayx21.common.PolicyException,com.hp.som.ws.parlayx21.common.ServiceException| 2008-10-01 15:46:18,478:org.jboss.ws.metadata.umdm.OperationMetaDataFound best matching java method: public abstract java.lang.String com.hp.som.ws.parlayx21.sms.send.SendSms.sendSmsRingtone(java.util.List,java.lang.String,com.hp.som.ws.parlayx21.common.ChargingInformation,java.lang.String,com.hp.som.ws.parlayx21.sms.common.SmsFormat,com.hp.som.ws.parlayx21.common.SimpleReference) throws com.hp.som.ws.parlayx21.common.PolicyException,com.hp.som.ws.parlayx21.common.ServiceException| 2008-10-01 15:46:18,509:org.jboss.ws.metadata.umdm.OperationMetaDataFound best matching java method: public abstract java.lang.String com.hp.som.ws.parlayx21.sms.send.SendSms.sendSmsLogo(java.util.List,java.lang.String,com.hp.som.ws.parlayx21.common.ChargingInformation,byte[],com.hp.som.ws.parlayx21.sms.common.SmsFormat,com.hp.som.ws.parlayx21.common.SimpleReference) throws com.hp.som.ws.parlayx21.common.PolicyException,com.hp.som.ws.parlayx21.common.ServiceException| 2008-10-01 15:46:18,509:org.jboss.ws.metadata.umdm.OperationMetaDataFound best matching java method: public abstract java.util.List com.hp.som.ws.parlayx21.sms.send.SendSms.getSmsDeliveryStatus(java.lang.String) throws com.hp.som.ws.parlayx21.common.PolicyException,com.hp.som.ws.parlayx21.common.ServiceException| 2008-10-01 15:46:18,509:org.jboss.ws.metadata.umdm.EndpointMetaDataUsing
[jboss-user] [JBoss jBPM] - Re: Timers in jBPL
btw, your first example is wrong. You cannot (and should not) cancel the timer within itself. The cancel timer should be on the transition, and it might even be left out completely, since (afaik, but you should check) a timer on a node is cancelled when this node is left. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179830#4179830 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179830 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: At end of task, return to
Understand it's all basic JSF. Question is, which jsf tag and where to put it in order to have Cancel and Submit send the user back to the preset home.jsf? Yes, understand about the end-user, just no time at present as we are having to do a proof-of-concept to get the go-ahead to do the end-user UI. Would appreciate just a bit more info. Also, How do I prevent the "Comment" automatically following each task completion? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179828#4179828 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179828 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Timers in jBPL
any errors in the logging? turn on debug level to see what happens. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179827#4179827 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179827 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Entities in clustered environment
Hello, I read the JBoss Application Server Clustering Guide version 5.0.0 beta to receive an impression about the failover/load balancing features provided by JBoss AS 5.0. The ultimate goal is to build a failsafe system on top of the AS. But I'm not quite sure about the failover capabilities concerning entities. The Clustering guide says that a distributed cache can by used for entities to avoid db round trips. The entity manager injected by the AS uses this cache and so my application benefits from it. But as far as I understood I don't get any failsafe benefits. If the db server fails the whole systems fails, so the db is a single point of failure. Is there any mechanism/system deployment to get rid of this single point of failure? I guess using a high end database cluster would be one, but is there another solution. Perhaps using 2 separate databases and something like a replication mechanismen inside the AS which replicates entities across the 2 db instances? Thanks for help, Martin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179826#4179826 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179826 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM-Console process instance creation time
It is... and what do we all learn from this ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179825#4179825 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179825 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Dying processes problem
"Turanyi" wrote : | Imagine: I deploy process. Everything is ok. Process works. | It can't just work... process INSTANCES have to be started or signalled "Turanyi" wrote : | Now I stop JBoss server by ctrl+c. Server shutdown. | Ok, this should not be a problem"Turanyi" wrote : | After some time I start JBoss server and I see problems with deploy process from tmp... What deploy processes from tmp? What problems? "Turanyi" wrote : | I look to jbossws console and I see prosess is not started. Process not respond, process is dead. | jbossws console? Never heard of that... process not responding?if it is persistant in the database you have to signal PROCESS INSTANCES again to continue to the next state... does not happen automagically "Turanyi" wrote : | I have to deploy it again to use it. | never heard of that...did you build custom code?"Turanyi" wrote : | WTF. Is it normal? Please no swearing... even I have never done that You have to be way more specific for us to be able to help you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179823#4179823 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179823 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Passing subclasses as parameters
Hi, I've encountered an issue while trying to declare web service methods which accept subclasses. The published WSDL does not contain the sub classes even if I specify them in @XmlSeeAlso. I've read some posts about this here, and it seems that it should be supported in JBossWS 2.0.2 and higher, but I tried 2.0.2 and 3.0.3 - still the same result. My web service code: | import javax.jws.WebService; | import javax.jws.WebMethod; | import javax.jws.WebParam; | import javax.xml.bind.annotation.XmlSeeAlso; | | @WebService | @XmlSeeAlso(SubBean.class) | public class Hello { | @WebMethod public String testAbstractBeanArg( | @WebParam AbstractBean bean) { | return "abstract bean: " + bean.getClass().getName() + " " + bean.toString(); | } | } | Now, I look in the published WSDL, and I only see the abstractBean declaration - no subBean declaration. This does not happen with JAXWS RI 2.1 (Metro), which properly generates the "subBean" schema. any ideas what should I do to see the subBean schema? thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179822#4179822 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179822 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Steless Session bean as Webservice
Thank you , i downloaded saaj-impl.jar put it in jboss\client folder and i could sess my client running well View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179820#4179820 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179820 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Not able to login as a different user
in the tasklist? or if you know the taskid? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179816#4179816 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179816 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Error opening XHTML files in eclipse
Hi Max, I reinstalled eclipse Europa and jboss tools looks good When i run eclipse in debug mode i am getting this !ENTRY org.eclipse.ui.workbench 2 0 2008-10-01 09:43:21.631 !MESSAGE A handler conflict occurred. This may disable some commands. !SUBENTRY 1 org.eclipse.ui.workbench 2 0 2008-10-01 09:43:21.631 !MESSAGE Conflict for 'AUTOGEN:::org.eclipse.eclipsemonkey.emFileContextMenu/org.eclipse.eclipsemonkey.action4': HandlerActivation(commandId=AUTOGEN:::org.eclipse.eclipsemonkey.emFileContextMenu/org.eclipse.eclipsemonkey.action4, handler=ActionDelegateHandlerProxy(null,org.eclipse.eclipsemonkey.actions.PublishScriptForWiki), expression=WorkbenchWindowExpression([EMAIL PROTECTED]),sourcePriority=16384) HandlerActivation(commandId=AUTOGEN:::org.eclipse.eclipsemonkey.emFileContextMenu/org.eclipse.eclipsemonkey.action4, handler=ActionDelegateHandlerProxy(null,org.eclipse.eclipsemonkey.actions.PublishScriptForWiki), expression=WorkbenchWindowExpression([EMAIL PROTECTED]),sourcePriority=16384) !SUBENTRY 1 org.eclipse.ui.workbench 2 0 2008-10-01 09:43:21.631 !MESSAGE Conflict for 'AUTOGEN:::org.eclipse.eclipsemonkey.emFileContextMenu/org.eclipse.eclipsemonkey.action5': HandlerActivation(commandId=AUTOGEN:::org.eclipse.eclipsemonkey.emFileContextMenu/org.eclipse.eclipsemonkey.action5, handler=ActionDelegateHandlerProxy(null,org.eclipse.eclipsemonkey.actions.PublishScript), expression=WorkbenchWindowExpression([EMAIL PROTECTED]),sourcePriority=16384) HandlerActivation(commandId=AUTOGEN:::org.eclipse.eclipsemonkey.emFileContextMenu/org.eclipse.eclipsemonkey.action5, handler=ActionDelegateHandlerProxy(null,org.eclipse.eclipsemonkey.actions.PublishScript), expression=WorkbenchWindowExpression([EMAIL PROTECTED]),sourcePriority=16384) !SUBENTRY 1 org.eclipse.ui.workbench 2 0 2008-10-01 09:43:21.631 !MESSAGE Conflict for 'AUTOGEN:::org.eclipse.eclipsemonkey.emFileContextMenu/org.eclipse.eclipsemonkey.action2': HandlerActivation(commandId=AUTOGEN:::org.eclipse.eclipsemonkey.emFileContextMenu/org.eclipse.eclipsemonkey.action2, handler=ActionDelegateHandlerProxy(null,org.eclipse.eclipsemonkey.actions.PublishScriptForBlogger), expression=WorkbenchWindowExpression([EMAIL PROTECTED]),sourcePriority=16384) HandlerActivation(commandId=AUTOGEN:::org.eclipse.eclipsemonkey.emFileContextMenu/org.eclipse.eclipsemonkey.action2, handler=ActionDelegateHandlerProxy(null,org.eclipse.eclipsemonkey.actions.PublishScriptForBlogger), expression=WorkbenchWindowExpression([EMAIL PROTECTED]),sourcePriority=16384) !SUBENTRY 1 org.eclipse.ui.workbench 2 0 2008-10-01 09:43:21.631 !MESSAGE Conflict for 'AUTOGEN:::org.eclipse.eclipsemonkey.emFileContextMenu/org.eclipse.eclipsemonkey.action6': HandlerActivation(commandId=AUTOGEN:::org.eclipse.eclipsemonkey.emFileContextMenu/org.eclipse.eclipsemonkey.action6, handler=ActionDelegateHandlerProxy(null,org.eclipse.eclipsemonkey.actions.PublishScriptForEmail), expression=WorkbenchWindowExpression([EMAIL PROTECTED]),sourcePriority=16384) HandlerActivation(commandId=AUTOGEN:::org.eclipse.eclipsemonkey.emFileContextMenu/org.eclipse.eclipsemonkey.action6, handler=ActionDelegateHandlerProxy(null,org.eclipse.eclipsemonkey.actions.PublishScriptForEmail), expression=WorkbenchWindowExpression([EMAIL PROTECTED]),sourcePriority=16384) when i try to add new seam portlet to my application i am getting this error message saying, The selected wizard could not be started. Plug-in org.jboss.tools.portlet.ui unable to load class org.jboss.tools.portlet.ui.internal.wizard.NewSeamPortletWizard I added the portlet plug-in separately its doesn't come with jboss tools plug-in What plug-ins i missed please help me appreciate it Thanks Venkat View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179813#4179813 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179813 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM-Console process instance creation time
Seems a duplicate of http://www.jboss.com/index.html?module=bb&op=viewtopic&t=142925 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179808#4179808 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179808 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Dying processes problem
Hi. Imagine: I deploy process. Everything is ok. Process works. Now I stop JBoss server by ctrl+c. Server shutdown. After some time I start JBoss server and I see problems with deploy process from tmp... I look to jbossws console and I see prosess is not started. Process not respond, process is dead. I have to deploy it again to use it. WTF. Is it normal? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179803#4179803 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179803 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: deployment of ejb3 in jboss-5.0.0 CR2
I've got similar issues with the CR load. Many ears using the same persistent units, so the PUs are in separate jars. It is unable to find the PU. If I throw the pars into one of the ears, and only deploy that ear, all is well. This worked fine under JBoss 4. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179799#4179799 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179799 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Does wsdl-override work in Jboss 4.2.3GA?
I am trying to use jboss.xml and wsdl-override to set the location where my webservices (annotated with @WebServiceRef into an EJB) are at. With JBoss 4.2.1GA this works, but identical ear in 4.2.3 seems to not use the wsdl-override at all. Is there a known issue with JBoss 4.2.3GA and wsdl-override? jboss.xml: | | ApplicationListingAction | | com.fooz.baz.portlet.searchandapply.ApplicationListingAction/vacationRequestService | http://remoteserver:8080/service/vacation?wsdl | | | com.fooz.baz.portlet.searchandapply.ApplicationListingAction/employeeService | http://remoteserver:8080/employee-service/employee?wsdl | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179798#4179798 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179798 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Does wsdl-override work in Jboss 4.2.3GA?
I am trying to use jboss.xml and wsdl-override to set the location where my webservices (annotated with @WebServiceRef into an EJB) are at. With JBoss 4.2.1GA this works, but identical ear in 4.2.3 seems to not use the wsdl-override at all. Is there a known issue with JBoss 4.2.3GA and wsdl-override? jboss.xml: | | ApplicationListingAction | | com.fooz.baz.portlet.searchandapply.ApplicationListingAction/vacationRequestService | http://remoteserver:8080/service/vacation?wsdl | | | com.fooz.baz.portlet.searchandapply.ApplicationListingAction/employeeService | http://remoteserver:8080/employee-service/employee?wsdl | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179797#4179797 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179797 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Assign problem
"Fabiana" wrote : Try with | | concat('text ', concat('text', $input.payload/tns:input')) | | where $input is the name of you variable. | Fabiana Many thanks. It works. I have to change too. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179794#4179794 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179794 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: JbossWS from ip address to host name
Hi, Found the problem. We sit in a Windows environment where '_' is standard in machine names. Removed underscore and things work fine now. /johan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179792#4179792 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179792 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Problem with cach when a user modifies his password on JBoss
Hi, I use JBoss AS 4.05, JBoss Portal 2.6.3 and OpenLDAP. When a user logs on the portal, JBoss Portal verifies if the login exists in OpenLDAP, and it verifies if the password is the same too. It works but I created a portlet to modify the password of the loggued user. And I have the problem below : My user "toto" has the password "password1". My user "toto" logs on the portal with the password "password1". He uses the portlet to modify his password. The new password is "password2". He logs out on the portal. In OpenLDAP, the password has been correctly updated. But when the user "toto" logs on the portal, he is able to be logged with the old password and with the new password. It's not a cookie problem. Because I have this problem even if I use another browser on another computer. I have to restart Jboss to resolve this problem. When I restart JBoss, only the new password works. So I think it's a cach problem with JBoss Portal. I saw the link below: http://wiki.jboss.org/wiki/CachingLoginCredentials But even if I did "Disabling Caching", "Crendential Cache with Client Login Module Propogation", and "Flush the Credential Cache" with the JMX consol, the probleme didn't resolve. Do you know how I can resolve it? Thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179790#4179790 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179790 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Error opening XHTML files in eclipse
it looks like you dont have a consistent eclipse installation. Several plugins (especially those with org.jboss in their names) are missing prerequisite plugins. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179783#4179783 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179783 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Timers in jBPL
I think so. It should be started via the web.xml entry: | | | Starts the job executor on servlet context initialization and stops it on | servlet context destruction. | | org.jbpm.web.JobExecutorLauncher | | | Meanwhile I played around a bit: 1) changed the timer to | |System.out.println("Timer fired "+node); |Token.signal(); | | | got the output "Timer fired State(warte 1)" but nothing else. 2) changed the script to |System.out.println("Timer fired "+node); |executionContext.getProcessInstance().signal(); | | found the server locked in endless printing "Timer fired State(warte 1)" View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179782#4179782 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179782 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Which tables are parts of definition ?
I want to clean my database that is related to jbpm, but I don't want to redeploy processes. So I should remove all tables that doesn't take part in process definitions. Which tables shouldn't I clean ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179779#4179779 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179779 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - When is 2.0 GA?
I was wondering what the tentative date is for 2.0 GA? I did not see it int he JIRA roadmap... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179774#4179774 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179774 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Timers in jBPL
Looks fine at first sight. Is the executor started? Eg in a non-enterprise environment, have you called jbpmConfiguration.startJobExecutor() ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179773#4179773 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179773 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Timers in jBPL
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179770#4179770 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179770 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Timers in jBPL
Is the job scheduler correctly configured in the jbpm.cfg ? Please post the config here. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179768#4179768 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179768 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Not able to login as a different user
I am using 3.2.3 console...but still on user is able access other user's tasks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179767#4179767 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179767 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - jBPM-Console process instance creation time
Hi, I wonder how to identify the time zone for e.g. Start Date display in Process instances list. Showing: anonymous wrote : 47Ended Oct 1, 2008 10:19:36 AM Oct 1, 2008 10:22:30 AM ExamineDelete which means current time - 2 hours. In database it is correct (from jbpm_processinstance) anonymous wrote : "47","2",\N,"2008-10-01 12:19:36","2008-10-01 12:22:30","\0","9","47",\N Any idea? Thanks. Juergen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179764#4179764 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179764 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Getting Error:closing a connection for you. Please help
Hello, I'm using jboss3.2.6. I used ejb2.1 (session bean and entity bean[BMP]). I did few data base transations in cmp and few in simple data source connection. I'm getting below errors occasionally 'No managed connection exception java.lang.OutOfMemoryError: Java heap space [CachedConnectionManager] Closing a connection for you. Plea se close them yourself: [EMAIL PROTECTED] 5 I've given below my dao connection code here, | package com.drtrack.util; | | import java.sql.Connection; | import java.sql.SQLException; | | import javax.naming.Context; | import javax.naming.InitialContext; | import javax.naming.NamingException; | import javax.sql.DataSource; | | public class DAOUtil { | | private static DataSource _ds; | | public Connection con; | public DAOUtil() throws SQLException { | | try { | | if (_ds == null) | assemble(); | if(_ds != null && con == null) { | | con = _ds.getConnection(); | | } | }catch(SQLException ex) { | | ex.printStackTrace(); | | } | | } | | private void assemble() { | Context ic = null; | try { | | ic = new InitialContext(); | DrTrackUtil drutil = new DrTrackUtil(); | _ds = (DataSource) ic.lookup("java:/" + drutil.getText("SOURCE_DIR")); | drutil = null; | }catch (Exception e) { | | e.printStackTrace(); | | }finally { | try { | ic.close(); | }catch(NamingException ne) {} | } | | } | | public void closeConnection() throws SQLException { | | if(con != null) | con.close(); | | con = null; | } | | } | below is the code with get connection and doing transaction in it. | public static AccountMasterValueBean getAccountMasterByAcctId(String acctId) { | | AccountMasterValueBean bean = null; | DAOUtil dao = null; | CallableStatement cst = null; | ResultSet rs = null; | try { | dao = new DAOUtil(); | | cst = dao.con.prepareCall(DrTrackConstants.MSSQL_USP_ACCOUNTMASTER_BY_ACCTID); | cst.setObject(1, acctId); | | rs = cst.executeQuery(); | if(rs != null && rs.next()) { | | bean = new AccountMasterValueBean( | Integer.valueOf(rs.getString("accountkeyid")), | rs.getString("latitude"), | rs.getString("longitude")); | | } | }catch(SQLException se) { | logger.info("SQL Error: " + se); | } | finally { | if(rs != null){ | try { | rs.close(); | }catch(SQLException se) { | logger.info("SQL Error: " + se); | } | finally { | rs = null; | } | } | if(cst != null) { | try{ | cst.close(); | }catch(SQLException se) { | logger.info("SQL Error: " + se); | } | finally { | cst = null; | } | } | if(dao != null) { | try { | dao.closeConnection(); | }catch(SQLException se) { | logger.info("SQL Error: " + se); | } | finally { | dao = null; | } | } | } | return bean; | } | I closed connections, resultsets and statements properly. Why I'm getting these errors.? Where I'm doing wrong. ? Please help me. I have to fix them ASAP. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179762#4179762 Reply to the post : http://www.jb
[jboss-user] [JBoss jBPM] - Re: Timers in jBPL
Sorry, the code was cut during submitting it should look this: | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179761#4179761 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179761 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Timers in jBPL
Hi, there is not much documentation regarding the actual use of timers. I want to implement a wait state which is left after the duration period. As I understood from description the following should do it: But nothing happens. The state is left only on manually signalling. What's wrong in my understanding? Thanks. Juergen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179759#4179759 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179759 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Assign problem
Try with concat('text ', concat('text', $input.payload/tns:input')) where $input is the name of you variable. Fabiana View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179755#4179755 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179755 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Not getting instance of Service object from a WSDL file.
"ajayks" wrote : Thanks Peter for the taking time to reply. | 1.What is strange in my JBOSS 4.2..2 installation is that I have not finding following jars in my $JBOSS_HOME/client/ path :- | jbossws-native-jaxws.jar | jbossws-native-core.jar | client/jbossws-native-jaxws-ext.jar | client/jbossws-native-jaxrpc.jar | jbossws-native-saaj.jar | These jars were introduced since JBossWS 3.0.1 release. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179754#4179754 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179754 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user