[JBoss-user] [JBoss Getting Started Documentation] - EJB3 Trailblazer Faux Pas
The Trailblazer guide on EJB 3.0 is very concise but there are a couple of minor tidbits that hit me like fingernails scratched across a chalkboard. First, they have a note about generics and a link to a generics reference. IMO there should be zero bandwidth taken up with a discussion about essential language elements. EJB 3.0 requires Java 5.0, 'nuff said. public ArrayList starts = new ArrayList (); Second, it's a rather entrenched best-practice that you would use List as the reference type in the example above. Not a big deal but I immediately wondered whether there was a reason for not adhering to that convention. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917471#3917471 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917471 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Urgent: Clustering J2EE Timers
JBoss 4.0.3SP1 seems to be supporting the J2EE Timers very well. However, I would like to know it supports clustering. How I can make sure the same timer instance is installed across JBoss cluster and make sure exactly only one of the instances are used for the onTimeout method called back.? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917470#3917470 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917470 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Using JCharset with JBOSS-3.2.5
Eitan, Did you ever resolve this? I'm trying to do the same with JBoss 4.0.3SP1, and to date have not been successful. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917469#3917469 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917469 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - java.lang.ClassNotFoundException: org.jboss.mq.referenceable
Hello: I had posted an earlier message but I have moved beyond that after much headache... Here is my latest problem... Any help would be great. testTopicException: javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: error unmarshalling return; nested exception is: java.lang.ClassNotFoundException: org.jboss.mq.referenceable.ObjectRefAddr (no security manager: RMI class loader disabled)] java.lang.NullPointerException at com.message.TopicSendClient.sendMessage(TopicSendClient.java:62) at com.message.TopicSendClient.main(TopicSendClient.java:19) Exception in thread "main" --- Following is my class code package com.message; import java.util.Hashtable; import javax.jms.*; import javax.naming.*; // Topic client that sends message on a topic public class TopicSendClient { TopicConnection conn = null; TopicSession session = null; Topic topic = null; // Main Method public static void main(String[] args) { System.out.println("Starting the topic publisher client"); TopicSendClient client = new TopicSendClient(); client.sendMessage("This is test message sent at: " + System.currentTimeMillis()); try { client.stop(); } catch (JMSException e) { System.out.println("Exception: " + e); } System.out.println("Stopping the topic publisher client"); System.exit(0); } // METHOD setupPubSub public void setupPubSub() throws JMSException, NamingException { Hashtable env = new Hashtable(); env.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); env.put(Context.PROVIDER_URL, "hp:1099/"); InitialContext intCtx = new InitialContext(env); Object obj = intCtx.lookup("ConnectionFactory"); TopicConnectionFactory tcf = (TopicConnectionFactory)obj; conn = tcf.createTopicConnection(); topic = (Topic)intCtx.lookup("aliTopic"); session = conn.createTopicSession(false, TopicSession.AUTO_ACKNOWLEDGE); conn.start(); } // METHID sendMessage public void sendMessage(String text) { System.out.print("Getting ready to send message on topic: aliTopic"); try { setupPubSub(); } catch (JMSException e) { System.out.println("Exception: " + e); } catch (NamingException e) { System.out.println("Exception: " + e); } try { TopicPublisher topicPub = session.createPublisher(topic); TextMessage msg = session.createTextMessage(text); topicPub.publish(msg); System.out.print("Sent message: " + "'" + msg.getText() + ", " + "on topic: aliTopic"); topicPub.close(); } catch (JMSException e) { System.out.println("Exception: " + e); } System.out.println("Ending the TopicSendClient job!"); } // METHOD stop public void stop() throws JMSException { conn.stop(); session.close(); conn.close(); } } Thank you, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917468#3917468 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917468 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Cannot find jaxrpc-mapping for type
Using JBoss 4.0.3SP1 w/JWSDP 1.6 My WSDL looks like this: | http://schemas.xmlsoap.org/wsdl/"; | xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; | xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"; | xmlns:xs="http://www.w3.org/2001/XMLSchema"; | xmlns:m="urn:xmlns:example.com:test:common:msg-types:2006-01" | xmlns:uc="urn:xmlns:example.com:test:common:2006-01" | targetNamespace="urn:xmlns:example.com:test:common:2006-01"> | | | | | | | | | | | |... snipped for brevity | | Note that the targetNamespace for my web service and the targetNamespace of my schema are different and that the elements I use in my messages are defined in my schema. My jaxrpc mapping generated by wscompile looks like this: | | Test | Test | | 0 | javax.xml.soap.SOAPElement | | | wsdlMsgNS:TestRequest | msg | IN | | | | javax.xml.soap.SOAPElement | | wsdlMsgNS:TestResponse | msg | | | When I deploy the web service, JBoss generates the following error: | [org.jboss.webservice.metadata.jaxrpcmapping.JavaWsdlMapping] Cannot find jaxrpc-mapping for type: {urn:xmlns:example.com:test:common:msg-types:2006-01}TestResponse | [org.jboss.webservice.deployment.ServiceDescription] Guessing the javaType from typeQName: {urn:xmlns:example.com:test:common:msg-types:2006-01}TestResponse -> javax.xml.soap.TestResponse | Why is JBoss looking for my message in the wrong namespace? I've also tried deploying the following ws4ee-deployment.xml... | http://xml.apache.org/axis/wsdd/"; | xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"; | xmlns:soap="http://schemas.xmlsoap.org/soap/encoding/"; | xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"; | xmlns:xsd="http://www.w3.org/2001/XMLSchema";> | | | | ... and that didn't work either. Any and all suggestions would be most appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917467#3917467 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917467 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: elusive admin panel
PS: I am using 4.0.3sp1 Jboss, 2.2.0 Portal, Java 1.5.0.06, Windows XP sp2 Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917465#3917465 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917465 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - elusive admin panel
Greetings. I am new to J2EE, new to JBOSS, new to Portal... but quick to learn. I spent the day figuring out how to get portal up and running. I went from HSQL to MySQL to PostgreSQL and back to HSQL. I have it running now. The documentation says that I should see a CMS admin screen when I login as Admin. I do not. I see the following links: CMS Manager, Test, default. That's it. I am curious what I am missing. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917464#3917464 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917464 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - javax.naming.CommunicationException
Hello Folks: I am trying to run the following simple JMS client but in process am getting an error. Pls. look at the bottom of the post. I am not sure if the factory implementations and the corresponding URL/port number are correct (Pls. see the code in red below). I am running JBoss 4.0.3 locally where this program is running. - package com.message; import java.util.Hashtable; import javax.jms.*; import javax.naming.*; // Topic client that sends message on a topic public class TopicSendClient { TopicConnection conn = null; TopicSession session = null; Topic topic = null; // Main Method public static void main(String[] args) { System.out.println("Starting the topic publisher client"); TopicSendClient client = new TopicSendClient(); client.sendMessage("This is test message sent at: " + System.currentTimeMillis()); try { client.stop(); } catch (JMSException e) { System.out.println("Exception: " + e); } System.out.println("Stopping the topic publisher client"); System.exit(0); } public void setupPubSub() throws JMSException, NamingException { Hashtable env = new Hashtable(); env.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); env.put(Context.PROVIDER_URL, "http://localhost:1099/";); InitialContext intCtx = new InitialContext(env); Object obj = intCtx.lookup("ConnectionFactory"); TopicConnectionFactory tcf = (TopicConnectionFactory)obj; conn = tcf.createTopicConnection(); topic = (Topic)intCtx.lookup("topic/polkTopic"); session = conn.createTopicSession(false, TopicSession.AUTO_ACKNOWLEDGE); conn.start(); } public void sendMessage(String text) { System.out.print("Getting ready to send message on topic: topic/polkTopic"); try { setupPubSub(); } catch (JMSException e) { System.out.println("Exception: " + e); } catch (NamingException e) { System.out.println("Exception: " + e); } try { TopicPublisher topicPub = session.createPublisher(topic); TextMessage msg = session.createTextMessage(text); topicPub.publish(msg); System.out.print("Sent message: " + "'" + msg.getText() + ", " + "on topic: topic/polkTopic"); topicPub.close(); } catch (JMSException e) { System.out.println("Exception: " + e); } System.out.println("Ending the TopicSendClient job!"); } public void stop() throws JMSException { conn.stop(); session.close(); conn.close(); } } - Following is the exception I am getting: - topic/polkTopicException: javax.naming.CommunicationException: Could not obtain connection to any of these urls: http://localhost:1099/ and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server http:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server http:1099 [Root exception is java.net.UnknownHostException: http: http]]] java.lang.NullPointerException at com.message.TopicSendClient.sendMessage(TopicSendClient.java:60) at com.message.TopicSendClient.main(TopicSendClient.java:19) Exception in thread "main" - Any help would be appreciated. Thanks - AK View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917462#3917462 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917462 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files fo
[JBoss-user] [Installation, Configuration & Deployment] - Class-loading not working as advertised
I have two applications - foo1.ear and foo2.ear, deployed to a JBoss 4.0.3SP1 server. foo1.ear is self-contained - all of its needed jar files are packaged in its ear, and jdom.jar is one such jar. On the other hand foo2.ear does not include any needed jar files that are in foo1.ear. When a Http request is sent to a web app in foo2.ear, a JDOM operation is attempted in the doGet() method and the following error is encountered : java.lang.NoClassDefFoundError: org/jdom/JDOMException It turned out that org.jdom.JDOMException was not in the class loader Repository and sure enough the UCL associated with foo2.ear could not locate it. But certainly the UCL associated with foo1.ear should have signaled that it was capable of loading all classes in jdom.jar. If that was the case, why didn't the class loading mechanism defer to the UCL associated with foo1.ear to load the class. It should be mentioned that jdom.jar is specified as an entry in the Class-Path directive of the manifest file of an ejb module in foo1.ear and the ejb module was certainly loaded. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917461#3917461 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917461 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Running multiple instances of JBOSS on 1 machine
Hi -- I am trying to run multiple instances of JBOSS 4.0.3 on one machine. I was trying to following the instructions on http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfiguringMultipleJBossInstancesOnOneMachine I have tried to include an MBean whose code is org.jboss.services.binding.ServiceBindingManager, but I get ClassNotFoundException. Where is this org.jboss.services.binding.ServiceBindingManager class to be found. I have seen other sites discuss bindingservice-plugin.jar, but I don't have that file. Do I need it, and where do I find it? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917458#3917458 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917458 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Nightly Build question
"[EMAIL PROTECTED]" wrote : This will happen in the next few days and then we will do a cycle of releases of Hibernate, HA, HEM, EJB3, JBoss and Seam. All in short order? Woot! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917454#3917454 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917454 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Error after updating to gpd 3.0.6
Hi, I updated my eclipse plugin to jbpm-gpd-3.0.6 from 3.0.5. Now I get following error whenever I click on any existing project: anonymous wrote : | Unhandled event loop exception | Reason: | java.lang.NullPointerException | Exception in thread "Text Viewer Hover Presenter" java.lang.NullPointerException | at org.jbpm.ui.util.JbpmClasspathContainer.getJarNames(Unknown Source) | at org.jbpm.ui.util.JbpmClasspathContainer.createJbpmLibraryEntries(Unknown Source) | at org.jbpm.ui.util.JbpmClasspathContainer.getClasspathEntries(Unknown Source) | at org.eclipse.jdt.internal.core.JavaModelManager.containerPutIfInitializingWithSameEntries(JavaModelManager.java:297) | at org.eclipse.jdt.core.JavaCore.setClasspathContainer(JavaCore.java:3855) | at org.jbpm.ui.util.JbpmClasspathContainerInitializer.initialize(Unknown Source) | at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:1591) | at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1040) | at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1326) | at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2039) | at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1947) | at org.eclipse.jdt.internal.core.JavaProject.buildStructure(JavaProject.java:332) | at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:233) | at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:488) | at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:232) | at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:218) | at org.eclipse.jdt.internal.core.JavaProject.getJavaProjectElementInfo(JavaProject.java:1513) at org.eclipse.jdt.internal.core.JavaProject.newNameLookup(JavaProject.java:2419) | at org.eclipse.jdt.internal.core.SearchableEnvironment.(SearchableEnvironment.java:60) | at org.eclipse.jdt.internal.core.SearchableEnvironment.(SearchableEnvironment.java:74) | at org.eclipse.jdt.internal.core.JavaProject.newSearchableNameEnvironment(JavaProject.java:2444) | at org.eclipse.jdt.internal.core.Openable.codeSelect(Openable.java:151) | at org.eclipse.jdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:314) | at org.eclipse.jdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:308) | at org.eclipse.jdt.internal.ui.text.java.hover.AbstractJavaEditorTextHover.getHoverInfo(AbstractJavaEditorTextHover.java:110) | at org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo(BestMatchHover.java:102) | at org.eclipse.jdt.internal.ui.text.java.hover.JavaEditorTextHoverProxy.getHoverInfo(JavaEditorTextHoverProxy.java:69) | at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:160) | has any one already started using gpd-3.0.6??? I am using ECLIPSE : eclipse-SDK-3.1-linux JAVA : jdk 1.5.0 GPD : jbpm-gpd-3.0.6 JBoss jbpm 3.0.2 Thanks and Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917452#3917452 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917452 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Nightly Build question
Right, any nightly builds will not work with JBoss 4 until Bill has backported the latest EJB3 stuff to JBoss 4. This will happen in the next few days and then we will do a cycle of releases of Hibernate, HA, HEM, EJB3, JBoss and Seam. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917451#3917451 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917451 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Re: javax.naming.NameNotFoundException:com not bound.
name of the par( example u might gavew anonymous wrote : persist.PAR ) and the name in ur persistence.xml shuld be same.. what i mean is | | | | anonymous wrote : persist | | | java:/orderDataSource | | | | | | | Both shuld be the same... name in persistence.xml and name of .PAR file shuld same then u dont get error thanks kasi View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917448#3917448 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917448 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Nightly Build question
January 12th's build will not work with JBoss 4.03SP1 correct? Do I have to do a CVS checkout of the correct version (Seam) or is it just a matter of dropping the new libraries into my implementation of JBoss like before? I'd rather not get a whole new version of JBoss if I can avoid it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917447#3917447 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917447 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: Using external jars within JBoss
Have a look at the URLDeploymentService defined in the conf/jboss-service.xml That will allow you to define external locations for your archives. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917446#3917446 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917446 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - does jboss 3.2.7 support nested user transactions?
I have a situation where I need to control rollback between a database commit and a file system file writing. To do that I used a UserTransaction and managed the file writing and deleting accordinly on my own. 1. If there is a better solution please tell 2. I now have a slighlty addon situation where I also need to wrap this transaction in another transaction. What I need is for the outer transaction to fail if the inner (file system database) transaction fails. Nested transactions can do the trick! is that supported? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917445#3917445 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917445 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - DummyTransactionManager: Context is read only error on Tomca
Hi there! I'm getting the following error the first time I use jbosscache AOP on Tomcat 5.5. 109 [http-127.0.0.1-80-2] ERROR org.jboss.cache.transaction.DummyTransactionManager - binding of DummyTransactionManager failed | javax.naming.NamingException: Context is read only | at org.apache.naming.NamingContext.checkWritable(NamingContext.java:902) | at org.apache.naming.NamingContext.bind(NamingContext.java:830) | at org.apache.naming.NamingContext.bind(NamingContext.java:170) | at org.apache.naming.NamingContext.bind(NamingContext.java:186) | at org.apache.naming.SelectorContext.bind(SelectorContext.java:170) | at javax.naming.InitialContext.bind(Unknown Source) | at org.jboss.cache.transaction.DummyTransactionManager.getInstance(DummyTransactionManager.java:32) | at org.jboss.cache.DummyTransactionManagerLookup.getTransactionManager(DummyTransactionManagerLookup.java:17) In my replSync-service.xml I have: | | jboss:service=Naming | jboss:service=TransactionManager | org.jboss.cache.DummyTransactionManagerLookup Then, later in the process, when a member of the cluster fails to respond, for example, I get this error: javax.transaction.RollbackException | at org.jboss.cache.transaction.DummyTransaction.commit(DummyTransaction.java:67) | at org.jboss.cache.transaction.DummyBaseTransactionManager.commit(DummyBaseTransactionManager.java:60) So I'm wondering if this is normal or if I've got something misconfigured. I was thinking that it may be the jboss:service=TransactionManager line... I'm not running jboss. Thanks for any help. Best, Joe View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917444#3917444 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917444 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Container calls Portlets 2 times
Sorry I got confused what messages go where. I have added a counter that gets increased every time doView of a portlet is called. I refresh the page and the counter jumps up by 2 every time. I actually have 2 portlets on the page - one goes up by 1 and the other by 2 every time. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917443#3917443 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917443 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Need help debugging web service deployment
I don't have an answer for your current problem, but if you get past it I'd be very interested to know whether you can get the web service to work. I tried to use the suggestions from SchemaDriven.pdf to write a webservice using JAXB and ran into a serious problem. I was using JAXB 1.0.1, and J2SDK 1.4.2, and any time I tried to marshal into any kind of org.w3c.dom.Node (such as a SoapElement), I would get a Null Pointer Exception. JAXB tries to reference the local part of a QName that is a data element within the Node, and I would get an exception stating that the local part could not be null. My Java distribution used DOM level 2, which (from what I could gather from JavaDocs of different Node classes) explicitly states that the above-mentioned local part of the QName is *always* null. Maybe JAXB 1.0.1 had been written for a previous DOM implementation. If you don't run into this, or if you find a way around it, the answer would be extremely useful to me. thanks, -Kyle Duncan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917440#3917440 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917440 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - got an unexpected EJBException during finder
On out production site we received the following exception: javax.ejb.EJBException: Update failed. Expected one affected row: rowsAffected=0, id=10665466 | at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreEntityCommand.execute(JDBCStoreEntityCommand.java:155) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.storeEntity(JDBCStoreManager.java:651) | at org.jboss.ejb.plugins.CMPPersistenceManager.storeEntity(CMPPersistenceManager.java:369) | at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.storeEntity(CachedConnectionInterceptor.java:394) | at org.jboss.ejb.EntityContainer.storeEntity(EntityContainer.java:689) | at org.jboss.ejb.GlobalTxEntityMap$2.synchronize(GlobalTxEntityMap.java:134) | at org.jboss.ejb.GlobalTxEntityMap$GlobalTxSynchronization.synchronize(GlobalTxEntityMap.java:253) | at org.jboss.ejb.GlobalTxEntityMap.synchronizeEntities(GlobalTxEntityMap.java:166) | at org.jboss.ejb.EntityContainer.synchronizeEntitiesWithinTransaction(EntityContainer.java:119) | at org.jboss.ejb.EntityContainer.findSingleObject(EntityContainer.java:1036) | at org.jboss.ejb.EntityContainer.findLocal(EntityContainer.java:623) | at sun.reflect.GeneratedMethodAccessor324.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1066) | at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:88) | at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:204) | at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:215) | at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:88) | at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:97) | at org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:61) | at org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:28) | at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:88) | at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:317) | at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:130) | at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:85) | at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:121) | at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93) | at org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:478) | at org.jboss.ejb.Container.invoke(Container.java:729) | at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:347) | at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:110) | at $Proxy131.findCurrentReferenceMonth(Unknown Source) | at com.emi.amit.delinquencies.BalanceReportInput.getCurrentReferenceDate(BalanceReportInput.java:1092) | at com.emi.amit.delinquencies.BalanceReportInput.doProcess(BalanceReportInput.java:290) | at com.emi.amit.delinquencies.BalanceReportInput.process(BalanceReportInput.java:230) | at com.emi.amit.main.model.EmiActivitiesSessionBean.runBalances(EmiActivitiesSessionBean.java:690) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683) | at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186) | at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72) | at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84) | at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:317) | at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:150) | at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:111) | at org.jboss.ejb.plugins.LogInterceptor.invoke(Log
[JBoss-user] [Installation, Configuration & Deployment] - Deployment order of applications
I have two applications, foo.ear and bar.ear that are being deployed to a JBoss server with foo.ear depending on bar.ear. Because of the dependence I would want to have bar.ear loaded before foo.ear. Wondering if there is way to control the load order. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917437#3917437 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917437 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss AOP] - Re: Runtime hookup of aspects
never mind. I got the right document from the link http://www.jboss.com/products/aop I will try and let you know how it works. But the idea is exciting - HotSwap is the term used in the documentation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917436#3917436 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917436 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: jboss-seam-head build errors
This should already be fixed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917434#3917434 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917434 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Missing conf files for 'all' configuration - jboss-4.0.3SP1-
Hi -- On my Windows XP machine, I ran jboss-4.0.3SP1-installer.jar file,and the only configuration folder that has anything is the 'default' folder. The 'all' folder only has a 'tmp' and a 'log' folder. I would like to try clustering. How do I get an 'all' configuration set up? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917431#3917431 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917431 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - WSSecurity - need EJB to be invoked by WSCompile-Tie so Secu
I am trying to modify an existing web service to use WSSecurity features. My problem is that my previous setup did not use WSCompile generated stubs and ties to communicate, and it is these stubs and ties which call the security environment handler if a security configuration file is given to WSCompile. I have changed the client to use a stub to call the WS and the security environment handler is invoked, but I can't figure out how to get the server side to use the WSCompile generated Tie. My original setup was as follows: I supplied a hand written WSDL and schemas,a webservices.xml, and a configuration file, and used WSCompile with import="true" to import the WSDL and generate java classes for the XML types. I wrote an EJB with XDoclet annotations specifying the EJB as the endpoint for the service. I then used XDoclet to generate type mappings, an ejb-jar.xml file, and a jboss.xml file. These were bundled in an ejb-jar and deployed on JBoss 4.0.2. Clients contacted the webservice by using a ServiceFactory to look up the service endpoint, as opposed to a WSCompile generated stub. Intending to encrypt and sign traffic belonging to this WS, I added a security environment handler, and added the -secure option to my WSCompile ant task, and gave WSCompile a security configuration file from JWSDP 1.6 (slightly modified to point to my security handler). After some digging around in JWSDP 1.6 code and comparing it to my own, I discovered that WSCompile does nothing with the security option unless you tell it to generate the client or server side artifacts. A second run of WSCompile with client="true" generates a stub class which uses the security environment handler, and calling this stub from a client will successfully use the handler to perform the requested security operations (at first I just used dumptraffic="true" and no encryption or signing). This message is successfully received by my EJB, and the traffic on the client side is dumped, as desired. Hopeful that getting the server side to use the security handler would be as simple, I ran WSCompile with server="true" to generate a Tie class that uses the security handler. Bundling the newly generated classes and the security environment handler into the ejb-jar file and deploying the webservices, I find the Tie is not invoked. The messages are still arriving at my EJB the same way they were before - a JNDI lookup facilitated by XDoclet's generated files and my webservices.xml. What I need is a way to force my webservice traffic to be directed to my EJB via the Tie (I gather this is the way things usually work when WSDeploy is used to deploy a web service in a WAR), but I need to deploy as an ejb-jar from within an EAR. Any help would be most appreciated. Especially information regarding 1. how my EJB is actually serializing/deserializing data and receiving messages without the help of WSCompile's Tie and generated de/serializers (my understanding here is fuzzy, just that somehow JNDI is involved), and 2. how other webservices deploy EJBs that are invoked by WSCompile generated Ties. thanks! -Kyle Duncan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917429#3917429 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917429 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: problem in configuring jbpm for mysql database
I could deply jbpm on tomcat(using mysql) but on http://localhost:8080/jbpm I get the following Exception, can someone please help anonymous wrote : exception | | javax.servlet.ServletException: Filter execution threw an exception | org.jbpm.webapp.filter.ContextFilter.doFilter(ContextFilter.java:19) | org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:38) | | | root cause | | java.lang.NoClassDefFoundError | java.lang.Class.forName0(Native Method) | java.lang.Class.forName(Class.java:164) | org.jbpm.webapp.context.Context.class$(Context.java:33) | org.jbpm.webapp.context.Context.getPersistenceContext(Context.java:33) | org.jbpm.webapp.filter.PersistenceFilter.doFilter(PersistenceFilter.java:22) | org.jbpm.webapp.filter.ContextFilter.doFilter(ContextFilter.java:19) | org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:38) | | Thanks in advance!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917427#3917427 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917427 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Navigation question on how to use JSF navgation inside a por
I am trying to host a set of JSF pages in a portlet. Portlet has the doXXX methods which can be delegated to a JSF/JSP page. JSF comes with its own navigation infrastructure. The question is how does one use portlet as the JSF pages host and let JSF navigation framework handles the navigations of the JSF pages in the portlet. Specifically, how does one deal with the doView method in the portlet. Somehow, it seems like an overlap with JSF navigation model since portlet gets the first crack at the incoming requests, but the navigation is defined at the JSF side. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917426#3917426 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917426 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Missing configuration files for 'all' configuration -- jboss
Hi -- On my Windows XP machine, I ran jboss-4.0.3SP1-installer.jar file,and the only configuration folder that has anything is the 'default' folder. The 'all' folder only has a 'tmp' and a 'log' folder. I would like to try clustering with 'all' configuration. How do I get an 'all' configuration set up? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917423#3917423 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917423 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - jboss 5 alpha - ejb3 - jndi works on Nov checkout... Does no
I have a jboss5alpha that I checked out in Nov the following code works fine. Latest jbossAlpha5 checkout... Name Not Found Exception during injection lookup. (shortened for brevity) package org.test.ejb; ... @Stateless @Local (value=Test.class) // I have also tried @Remote here public class TestBean implements Serializable, Test { ... public void test() { System.out.println("testing..."); } } package org.test.ejb; ... public interface Test { public void test(); } package org.test.sar; ... @Service(objectName="test:service=TestService") @Management(value=org.test.TestService) public class TestServiceMBean implements TestService { //fyi...this has been changed to beanInterface() in latest ejb spec (Dec 05) @EJB(businessInterface=org.test.ejb.Test.class) Test t; public void testMyBean() { t.test(); } } package org.test.sar; ... public void TestService { public void testMyBean(); } On the JMX Console, I made a call on JNDIView Service.list() and Test or TestBean should show up but it does not. Almost as if it is not being registered in the jndi for the latest jboss 5 checkout... Is this a bug or operator head air space I have checked the log and I don't get any other exception. Again, this works in the November cvs check out. Thanks for any help... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917421#3917421 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917421 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Need help debugging web service deployment
I managed to get past the initial problem. The web service is being deployed. However, when I browse to http://localhost/ws4ee and click on the View link, I get the following error: java.lang.IllegalArgumentException: Illegal argument passed to ParameterDesc.setJavaType. The java type javax.xml.soap.SOAPElement does not match the mode inout The log says: | 2006-01-13 15:03:21,857 DEBUG [org.jboss.axis.description.ServiceDesc] Converting param: interface javax.xml.soap.SOAPElement | 2006-01-13 15:03:21,857 DEBUG [org.jboss.axis.description.ServiceDesc] Setting param class: interface javax.xml.soap.SOAPElement | 2006-01-13 15:03:21,857 INFO [org.jboss.axis.transport.http.AxisServlet] Exception: | java.lang.IllegalArgumentException: Illegal argument passed to ParameterDesc.setJavaType. The java type javax.xml.soap.SOAPElement does not match the mode inout | at org.jboss.axis.description.ParameterDesc.setJavaType(ParameterDesc.java:269) | at org.jboss.axis.description.ServiceDesc.syncOperationToClass(ServiceDesc.java:753) | at org.jboss.axis.description.ServiceDesc.getSyncedOperationsForName(ServiceDesc.java:1187) | at org.jboss.axis.description.ServiceDesc.loadServiceDescByIntrospectionRecursive(ServiceDesc.java:1045) | at org.jboss.axis.description.ServiceDesc.loadServiceDescByIntrospection(ServiceDesc.java:972) | at org.jboss.axis.providers.java.JavaProvider.initServiceDesc(JavaProvider.java:732) | at org.jboss.webservice.server.InvokerProvider.initServiceDesc(InvokerProvider.java:106) | at org.jboss.axis.handlers.soap.SOAPService.getInitializedServiceDesc(SOAPService.java:388) | at org.jboss.axis.deployment.wsdd.WSDDService.makeNewInstance(WSDDService.java:560) | at org.jboss.axis.deployment.wsdd.WSDDDeployment.getDeployedServices(WSDDDeployment.java:617) | at org.jboss.axis.configuration.FileProvider.getDeployedServices(FileProvider.java:356) | at org.jboss.webservice.server.AbstractServlet.reportAvailableServices(AbstractServlet.java:94) | at org.jboss.webservice.server.ServiceEndpointServlet.doGet(ServiceEndpointServlet.java:69) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) | at org.jboss.axis.transport.http.AxisServletBase.service(AxisServletBase.java:370) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917420#3917420 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917420 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sou
[JBoss-user] [JBoss Portal] - Possible to create a new CMS repository with XML files?
Is it possible to create a new CMS Repository without using the CMS Admin Portlet? I can create a new instance of the CMS Portlet and use the init-param to point it to a new default page and location. But I then have to manually use the CMS Admin Portlet to create that new repo. Is there a way to create the new repo without having to use the CMS Admin portlet? Thank you, Anson Smith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917417#3917417 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917417 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Can Jboss Messaging run standalone?
Yes, this is the plan. Technically, stand-alone means "slimmed down JBoss instance", since Messaging has dependencies on JBoss microkernel plumbing such as XMBeans, services, logging, remoting etc. Take a look at http://wiki.jboss.org/wiki/attach?page=JBossMessaging%2FJBossMessagingJBWSep2005.ppt, slide 10. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917415#3917415 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917415 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Need help debugging web service deployment
I'm using JBoss 4.0.3SP1. I have to do a top-down implementation so I used the JAXB+JAXRPC method described at http://www.develop.com/us/downloads/SchemaDriven.pdf. My WSDL's service element looks like this: | | | | | | The rest of the WSDL is valid (according to XMLSpy), and both xjc and wscompile run without a hitch. I used the -nv, -extension, -xmlschema, -b, and -d flags for xjc and the -import, -f:wsi, -f:nodatabinding, -d, -s and -mapping flags for wscompile. Everything builds. My web.xml looks like this: | | 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"> | | | TestService | com.example.wsapi.TestServicePort_Impl | | | | TestService | /TestService | | | | And my webservices.xml looks like this: | 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://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd"; | version="1.1"> | | TestService | WEB-INF/wsdl/TestService.wsdl | WEB-INF/test-service-mapping.xml | | TestService | TestServicePort | com.example.wsapi.TestServicePort | | TestService | | | | | I changed log4j.xml to do DEBUG level logging for org.jboss, org.jboss.axis and my application. There are no errors in the log, but there is also no indication that my service was deployed. When I browse to http://localhost/ws4ee/services, my WSDL is not listed. I have another web application that was deployed in the same .ear and it works just fine. What else should I be checking for? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917414#3917414 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917414 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Runtime error -- javax.naming.NameNotFoundException: contain
I am using jboss-4.0.3SP1 and all option. Deployment of my ear file is ok and I can see my stateless session bean from jmx-console. But when I run it I get the following error. Any helps would be greatly appreciated. Here is my application.xml: Payment Posting Payment Posting entities.par paymentpostingsessionbeans.ejb3 paymentposting.war paymentposting java.lang.RuntimeException: javax.naming.NameNotFoundException: containers not bound 13:20:49,776 INFO [STDOUT] at org.jboss.ejb3.LocalProxy.readObject(LocalProxy.java:54) 13:20:49,776 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 13:20:49,776 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 13:20:49,776 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 13:20:49,776 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585) 13:20:49,776 INFO [STDOUT] at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:919) 13:20:49,836 INFO [STDOUT] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1813) 13:20:49,836 INFO [STDOUT] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713) 13:20:49,836 INFO [STDOUT] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) 13:20:49,836 INFO [STDOUT] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912) 13:20:49,836 INFO [STDOUT] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836) 13:20:49,836 INFO [STDOUT] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713) 13:20:49,836 INFO [STDOUT] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) 13:20:49,836 INFO [STDOUT] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339) 13:20:49,836 INFO [STDOUT] at java.rmi.MarshalledObject.get(MarshalledObject.java:135) 13:20:49,836 INFO [STDOUT] at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:57) 13:20:49,836 INFO [STDOUT] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:637) 13:20:49,836 INFO [STDOUT] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572) 13:20:49,836 INFO [STDOUT] at javax.naming.InitialContext.lookup(InitialContext.java:351) 13:20:49,836 INFO [STDOUT] at com.ameripath.aarms.paymentposting.business.ServiceLocator.getSessionFacade( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917409#3917409 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917409 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: NullPointerException in org.jboss.axis.transport.http.HT
Oops! I made a mistake in saying that the request never made it into WebSphere. It did so I will have to look into the WebSphere side. Please ignore this topic. Thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917408#3917408 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917408 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - jBPM problem -> Not binding to JNDI
I have setup my project to export the same files and file structure as the DVD demo application--except for the jboss-web.xml file (I left it out). The following error occurs when I deploy my application. What could I do to fix this problem? 2006-01-13 11:54:54,296 DEBUG [org.hibernate.impl.SessionFactoryObjectFactory] registered: 8a87cf0c08c4dba90108c51ec558000c (unnamed) | 2006-01-13 11:54:54,296 INFO [org.hibernate.impl.SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured | 2006-01-13 11:54:54,296 DEBUG [org.hibernate.impl.SessionFactoryImpl] instantiated session factory | 2006-01-13 11:54:54,296 INFO [org.hibernate.tool.hbm2ddl.SchemaUpdate] Running hbm2ddl schema update | 2006-01-13 11:54:54,296 INFO [org.hibernate.tool.hbm2ddl.SchemaUpdate] fetching database metadata | 2006-01-13 11:54:54,296 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] could not get database metadata | org.jboss.util.NestedSQLException: Transaction is not active: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=green/15, BranchQual=, localId=15]; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=green/15, BranchQual=, localId=15]) | at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:79) | at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:69) | at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:127) | at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:298) | at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1145) | at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:358) | at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:484) | at org.hibernate.ejb.Ejb3Configuration.createContainerEntityManagerFactory(Ejb3Configuration.java:202) | at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:78) | at org.jboss.ejb3.Ejb3Deployment.initializeManagedEntityManagerFactory(Ejb3Deployment.java:512) | at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:253) | at org.jboss.ejb3.Ejb3JmxDeployment.create(Ejb3JmxDeployment.java:230) | at org.jboss.ejb3.Ejb3Module.createService(Ejb3Module.java:34) | at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:245) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:228) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943) | at $Proxy0.create(Unknown Source) | at org.jboss.system.ServiceController.create(ServiceController.java:341) | at org.jboss.system.ServiceController.create(ServiceController.java:284) | at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) | at $Proxy10.create(Unknown Source) | at org.jboss.ejb3.EJB3Deployer.create(EJB3Deployer.java:208) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) |
[JBoss-user] [JBossWS] - NullPointerException in org.jboss.axis.transport.http.HTTPSe
Hi, I have a MBean that uses a SLSB as a WS client. My MBean and EJB are running JBoss 4.0.2 calling a web service server in WebSphere. The request never made it out from JBoss. I see this stack trace in the server.log and wondering if anyone might know what maybe causing the NullPointerException. Thank you. AxisFault faultCode: {http://xml.apache.org/axis/}HTTP faultSubcode: faultString: (500)Internal Server Error faultActor: faultNode: faultDetail: {}string: return code: 500 Error 500: java.lang.NullPointerException; nested exception is: java.lang.NullPointerException org.jboss.axis.AxisFault: (500)Internal Server Error at org.jboss.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:722) at org.jboss.axis.transport.http.HTTPSender.invoke(HTTPSender.java:131) at org.jboss.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73) at org.jboss.axis.SimpleChain.doVisiting(SimpleChain.java:160) at org.jboss.axis.SimpleChain.invoke(SimpleChain.java:123) at org.jboss.webservice.client.ClientEngine.invoke(ClientEngine.java:128) at org.jboss.axis.client.Call.invokeEngine(Call.java:3054) at org.jboss.axis.client.Call.invoke(Call.java:3039) at org.jboss.axis.client.Call.invoke(Call.java:2629) at org.jboss.axis.client.Call.invoke(Call.java:2538) at org.jboss.axis.client.Call.invokeInternal(Call.java:1976) at org.jboss.axis.client.Call.invoke(Call.java:1914) at org.jboss.webservice.client.CallImpl.invoke(CallImpl.java:265) at org.jboss.axis.client.AxisClientProxy.invoke(AxisClientProxy.java:381) at $Proxy58.isAlive(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.webservice.client.PortProxy.invoke(PortProxy.java:105) at $Proxy59.isAlive(Unknown Source) at com.viacore.btms.is.adapters.wpg.WPG6xConfigManageAdapter.processConnectionConfig(WPG6xConfigManageAdapter.java:384) at com.viacore.btms.is.adapters.wpg.WPG6xBaseAdapter.setConfig(WPG6xBaseAdapter.java:96) at com.viacore.hb.is.server.AdapterManager.setConfig(AdapterManager.java:257) at com.viacore.hb.is.server.AdapterManager.loadAdaptersFromDB(AdapterManager.java:134) at com.viacore.hb.is.server.AdapterManager.startService(AdapterManager.java:108) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:418) at org.jboss.system.ServiceController.start(ServiceController.java:440) at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy48.start(Unknown Source) at org.jboss.ejb.EjbModule.startService(EjbModule.java:395) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[JBoss-user] [JBoss Portal] - Re: reference CMS' resources (*.html, *.jsp) from portlet
i'am having the same problem, in addition when i upload an image to default/images/my_picture.gif and then i navigate though the folders, the cms disapears. 2.- when i add a portlet to a page and i restart jboss the page stays the same as the original. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917399#3917399 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917399 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Success stories with jBPM
Hi "svetsch", we have implemented a complete ERP System based on jbpm as process engine which controls our complete system based on business ervices (see our german press release for more details: http://www.camunda.com/pressemeldung.php?newsitem_id=800). Also I work in a project at a customer at the moment where jbpm is the central engine (the glue) in the architecture. This software is for a well known and big company. So, except for some typical troubles of new projects and some bugs, jbpm is a good, small and flexible BPM-Engine. The biggest disadvantage at the moment is the lack of a good modeling tool or simulation capabilities But if you tell us more about your project I can say if it can be the right for you Regards Bernd View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917398#3917398 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917398 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - reference CMS' resources (*.html, *.jsp) from portlet
Hi All, Running JBoss Portal 2.2 on JBoss AS 4.0.3 SP1 (or JBoss Portal Bundle 2.2), I'm trying to reference resources, such as index.html or index.jsp, which are managed by Portal CMS admin portlet. Could someone help me out? Thanks in advance, Robert View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917397#3917397 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917397 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: jbpm webapp as jportal portlet !!
I'm interested in this too, but haven't made time try it yet. The exception you are getting is because a MyFaces JSF Tomahawk component (HtmlNavigationMenuRender) is probably casting a request to a HttpServletRequest. This is the case for a number of the Tomahawk components. If you are not using the newest version of MyFaces, try upgrading to 1.1.1. With each release of MyFaces, more of the Tomahawk components are being fixed to not cast to HttpServletRequest. You can find MyFaces libraries in a number of places (the webapp, jboss-portal.sar, and tomcat.sar/jsflibs. I usually remove the duplicate libraries and just use tomcat.sar/jsflibs. Let us know if you get it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917396#3917396 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917396 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: JACC provider under JBoss 4.0.3
I see the same behavior for 1a and 1b. The Subject contains a single principal with a name equal to the run-as/role-name | 23:16:45,928 INFO [STDOUT] publicMethod, PolicyContext subject: Subject: | Principal: identitySubstitutionCaller | I have updated this to use the run-as principal and added the run-as roles in a group named "Roles" to be consistent with the default login module behavior: | 23:14:54,115 INFO [STDOUT] publicMethod, PolicyContext subject: Subject: | Principal: Roles(members:identitySubstitutionCaller) | Principal: [roles=[identitySubstitutionCaller],principal=runAsUser] | 2) the run-as principal should be returned consistently here because the run-as identity affects every callout made by the bean regardless of who the caller is. 3) This is definitely a bug: http://jira.jboss.com/jira/browse/JBAS-2661 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917395#3917395 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917395 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: jboss-seam-head build errors: DVD demo won't deploy
I build Seam, then I build the DVD demo app. When I startup the JBoss server I get the following error: 2006-01-13 11:05:23,015 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/dvd]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener java.lang.RuntimeException: could not deploy a process definition at org.jboss.seam.core.Jbpm.installProcessDefinitions(Jbpm.java:129) at org.jboss.seam.core.Jbpm.startup(Jbpm.java:53) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32) at org.jboss.seam.Component.callComponentMethod(Component.java:1112) at org.jboss.seam.Component.callCreateMethod(Component.java:1100) at org.jboss.seam.Component.newInstance(Component.java:1089) at org.jboss.seam.Component.getInstance(Component.java:1037) at org.jboss.seam.Component.getInstance(Component.java:1020) at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:88) at org.jboss.seam.contexts.Lifecycle.endInitialization(Lifecycle.java:68) at org.jboss.seam.init.Initialization.init(Initialization.java:90) at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:30) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4104) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.apache.catalina.core.StandardContext.init(StandardContext.java:5005) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:280) at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:88) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:357) at org.jboss.web.WebModule.startModule(WebModule.java:68) at org.jboss.web.WebModule.startService(WebModule.java:46) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230) at sun.reflect.GeneratedMethodAccessor118.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:428) at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:8
[JBoss-user] [JBoss/Spring Integration] - Re: Hot Deployment using jboss deployer
Bill, Thanks for your quick answer it was a hot week delivering sleeplessly and I now can go back to hot redeployment issues. Found this and will definetely let you know the outcome. http://www.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases Brice View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917393#3917393 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917393 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - WSSecurity
In the link http://wiki.jboss.org/wiki/Wiki.jsp?page=WSSecurity, under "Core features" there's a mention to "Username tokens with JBossSX/JAAS integration" but no corresponding statement about X.509 tokens, which are also supported. So I would just ask someone to confirm that this isn't a typo and that there is indeed no integration with JBossSX/JAAS for digital signatures authentication via X.509 tokens as there is for the username token (and HTTPS client auth). I already posted this question in the security forum but was redirected here by JBoss CTO so just hope he is right and any other of you guys can help me. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917392#3917392 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917392 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Calling getEJBObject from SFSB instance
Ok, I have create this bug to look into it. http://jira.jboss.com/jira/browse/JBAS-2660 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917391#3917391 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917391 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [The Lizzard's corner] - Re: JBoss 5??
Probably not until Q2 of this year. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917389#3917389 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917389 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - JBoss 5??
Hello, Can anyone please tell me when the first versions of jboss 5 will be available for download? Thanks in advance, Julien Martin. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917387#3917387 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917387 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Advice - multiple views into seam webapp
I have started using Seam's integration with jBPM and I have found that it works pretty good. It solves the navigation problem. Using jBPM page flow I would do something like: Have the users start at some common page. When a user clicks on a link to see the list of properties, run a decision. If the decision works out that the user has authority to modify the pages, then send him to a modify section. If the decision is that the user cannot modify pages, send him to the read only section. jBPM works out really well for these situations. The decision is transparent to the user; the user just sees what he thinks he is supposed to see. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917384#3917384 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917384 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Identity/Access Management/SSO UseCases
"david.l.small" wrote : Brian, if there is a way I can help, I'd be more than happy to do so. Thanks much for the offer! Just checked the Tomcat code and it looks like the needed patch was implemented in 5.5.13. (See http://issues.apache.org/bugzilla/show_bug.cgi?id=34724). 5.5.12 is the last stable TC release, so it's what's integrated in JBoss. Typically a JBoss release includes the latest stable release from TC, so the next JBoss version after TC issues another stable release should have this functionality. If you want to discuss any more about the details of this, let's open another thread so we don't hijack Anil's :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917383#3917383 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917383 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Identity/Access Management/SSO UseCases
General Question for everyone: What Identity Management solutions do you currently use? Siteminder? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917382#3917382 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917382 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: javamail, jboss configuration
To send mails you can use the JavaMail API which doesn't require any configuration from jboss. All parameters are specified by the application (SMTP server, port etc...) There is no data to append to some xml config file. The following link might be useful: http://www.javaworld.com/javaworld/jw-10-2001/jw-1026-javamail.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917380#3917380 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917380 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Lookup of entity bean from remote client not working
You can access them without a session bean if you can get an entity manager, usually via JNDI lookup or injection. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917379#3917379 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917379 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - jbpm webapp as jportal portlet !!
Hi All, I'm trying to modify the jbpm 3.0.2 web app from the jbpm starter kit 3.0.2 and make it a portlet that can be deployed on jboss portal 2.2 .. Can some one guide me in the right direction on this .. Also if some one has already attempted this please help me out .. As my first step i'm simply trying to start the jbpm webapp from the jbpm starter kit 3.0.2 and jboss portal 2.2 on the same jboss server As of now I did the following: 1) copied jbpm.sar and jbpm.war into the deploy folder of "jboss-portal-2.2.0-bundled" 2) added the jbpm schema creation script to server\default\data\hypersonic\localDB.script of "jboss-portal-2.2.0-bundled" 3) added | | jboss.mq:service=DestinationManager | | inside server\default\deploy\jms\jbossmq-destinations-service.xml 4) started the jboss server the jboss portal application works perfectly fine .. but i'm not able to bring up jbpm .. the error in the startup log is as follows: | 11:10:25,843 ERROR [LocaleUtils] Locale name null or empty, ignoring | 11:10:26,640 ERROR [StartupServletContextListener] Error initializing ServletContext | java.lang.ClassCastException: org.apache.myfaces.custom.navmenu.htmlnavmenu.HtmlNavigationMenuRenderer | at org.apache.myfaces.config.FacesConfigurator.configureRenderKits(FacesConfigurator.java:595) | at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:131) | at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:63) | at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:46) | at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4104) | at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) | at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | at org.apache.catalina.core.StandardContext.init(StandardContext.java:5005) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:280) | at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:88) | at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:357) | at org.jboss.web.WebModule.startModule(WebModule.java:68) | at org.jboss.web.WebModule.startService(WebModule.java:46) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230) | at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:428) | at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Met
[JBoss-user] [Beginners Corner] - Re: Building and Packaging
A solution might be to add your jar file directly into to your ear. Then each module (EJB,WEB,...) using this library must have its classpath modified to reference this library. This can be done in the MANIFEST file of each module. Example of configuration: bertou$ jar xvf MyApp.ear created: META-INF/ extracted: META-INF/MANIFEST.MF extracted: META-INF/application.xml created: lib/ extracted: lib/MyLib.jar extracted: MyEJB.jar bertou$ jar xvf lib/MyEJB.jar created: META-INF/ extracted: META-INF/MANIFEST.MF extracted: META-INF/ejb-jar.xml extracted: META-INF/jboss.xml created: mypkg/ extracted: mypkg/myhome.class extracted: mypkg/mybean.class extracted: mypkg/my.class bertou$ cat META-INF/MANIFEST.MF Manifest-Version: 1.0 Ant-Version: Apache Ant 1.6.2 Created-By: 1.4.2_04-b04 (Sun Microsystems Inc.) Class-Path: ./lib/MyLib.jar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917377#3917377 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917377 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - SocketException and Remote Session Beans
I'm trying to get started with JBoss and session beans, remote beans to be specific. I have the bean successfully deployed to JBoss 4.0.3, and my client successfully executes a method on the remote bean. When my client exits, however, the server dumps the following exception to the console: 09:26:09,518 ERROR [ServerThread] failed | java.net.SocketException: Connection reset | at java.net.SocketInputStream.read(SocketInputStream.java:168) | at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) | at java.io.BufferedInputStream.read(BufferedInputStream.java:235) | at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2200) | at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2380) | at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2447) | at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2519) | at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2668) | at java.io.ObjectInputStream.readByte(ObjectInputStream.java:864) | at org.jboss.remoting.transport.socket.ServerSocketWrapper.checkConnection(ServerSocketWrapper.java:54) | at org.jboss.remoting.transport.socket.ServerThread.acknowledge(ServerThread.java:217) | at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:298) | at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:169) | The server appears to be fine, as I can run my client over and over (it's a simple "Hello, world" test), but I'd like to clean up that exception. In case it is significant, if I comment out the call to the bean from client (i.e., leave the InitialContext acquisition, etc), I don't get the exception. Also, for what it's worth, here's my client code: try { | Hashtable env = new Hashtable(); | Context context = new InitialContext(env); | HelloWorld hw = (HelloWorld)context.lookup(HelloWorldRemote.class.getName()); | System.out.println(hw.sayHello("Jason")); | } | catch(Throwable ex) | { | ex.printStackTrace(); | } and here's my jndi.properites: java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory | java.naming.provider.url=jnp://it06:1099 | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces | java.naming.factory.url.pkgs=org.jnp.interfaces Thanks! :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917376#3917376 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917376 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: working with jbpm
Hi Koen and Elmo, Thanks a lot for quick reply. I was monitoring my database using hsqldb.mgr.sh. I will follow your advice. Again thanks a lot for promptly answering my questions. Regards, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917374#3917374 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917374 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Error when inserting into ORACLE DB
Hi I have installed oracle in My system and trying a small example which insert into DB.. but it is inserting propery.. after insertion i am getting this error.. Code: | | java.net.SocketException: Connection reset | at java.net.SocketInputStream.read(SocketInputStream.java:168) | at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) | at java.io.BufferedInputStream.read(BufferedInputStream.java:235) | at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2200) | at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2380) | at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2447) | at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2519) | at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2668) | at java.io.ObjectInputStream.readByte(ObjectInputStream.java:864) | at org.jboss.remoting.transport.socket.ServerSocketWrapper.checkConnection(ServerSocketWrapper.java | :54) | at org.jboss.remoting.transport.socket.ServerThread.acknowledge(ServerThread.java:217) | at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:298) | at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:169) Any Help?? Thanks Kasi View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917373#3917373 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917373 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Error when inserting into ORACLE DB
Hi I have installed oracle in My system and trying a small example which insert into DB.. but it is inserting propery.. after insertion i am getting this error.. Code: | | java.net.SocketException: Connection reset | at java.net.SocketInputStream.read(SocketInputStream.java:168) | at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) | at java.io.BufferedInputStream.read(BufferedInputStream.java:235) | at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2200) | at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2380) | at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2447) | at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2519) | at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2668) | at java.io.ObjectInputStream.readByte(ObjectInputStream.java:864) | at org.jboss.remoting.transport.socket.ServerSocketWrapper.checkConnection(ServerSocketWrapper.java | :54) | at org.jboss.remoting.transport.socket.ServerThread.acknowledge(ServerThread.java:217) | at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:298) | at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:169) Any helps.. Thanks Kasi View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917371#3917371 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917371 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Connect JBoss 3.2.5 with JBoss 4.0.3 JMS
Although the .jar files are different, the intent is that different versions can talk to each other. The main issue in getting communication to work is having the same serialization (serialization ID) and protocol format. There may be serialization issues, mainly differences in the serialization ID. I'm not sure what version the serialization ID was established in. I'm thinking 3.2.6. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917370#3917370 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917370 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Making write-only attributes read-writable?
One of the requirements for the Admin Console is that any changes made through the Admin Console be persisted. This way, an administrator can make a change to something, reboot the app server, and be confident that the changed setting is still in effect when the app server comes back up. Because of this requirement, the Admin Console cannot simply make setter calls on the MBeans in question because there is no persistence mechanism built into MBeans. As an example, any MBean changes made via the jmx-console are lost after a reboot. The Admin Console uses the Deployment Service (as released in ./docs/examples/varia/deployment-service) as the persistence mechanism. The Deployment Service uses a template scheme, whereby a caller, such as the Admin Console, provides all of the attribute values for one or more MBeans, and then the Deployment Service creates and deploys the configuration XML file for those MBeans. As an example, consider that the administrator wants to create a new JMS destination, such as a topic. Using the Admin Console, the administrator would supply all of the attribute values for the new topic, and then save that topic. The Admin Console hands the attribute values off to the Deployment Service, which creates the configuration XML file and deploys it. Some time later, the administrator determines that the DurableMessageCount attribute needs to be changed. So she uses the Admin Console to make that change. The Admin Console obtains the current settings for that topic?s attributes, displays then to the administrator, and she then changes the DurableMessageCount attribute and clicks on save. But now the Admin Console has a problem. Two of the attributes on a topic are write only: SecurityManager and SecurityConf. If the Admin Console does not supply values for those two attributes, then the resulting configuration XML file created by the Deployment Service will not contain those attributes. If the administrator, when creating the topic, had set those attribute values, then those attribute values will be lost as a result of changing another attribute value. Not what the administrator had expected. Likewise, the Admin Console cannot assume a default value for those attributes because the administrator could have changed those attributes to a value other than the default. There are several solutions to this problem. One is to make MBeans persistable. Another is to enhance the Deployment Service such that it merges the attribute values given to it with the existing attribute values for the MBean(s) being updated. I think that both of those changes are non-trivial. A third option is to make writeable attributes also readable. That would seem the easier of the options. (A fourth option is to have the Admin Console read the configuration file to extract the current setting of the write-only attribute, but that is not practical since that restricts the Admin Console to working only with the app server on which it is deployed, and it is not elegant because the Admin Console would be bypassing various APIs to get information.) I am open to other options. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917369#3917369 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917369 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: ERROR: is not mapped
10x a lot! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917367#3917367 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917367 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: java.lang.NoClassDefFoundError: java/lang/StringBuffer
"[EMAIL PROTECTED]" wrote : Show more of the log to establish the context. Based on the loadClassDepth=9604 this is in the process of causing a stack overflow so there is nothing like that error in the server.log? | No, the server log mentions neither stack nor overflow or the like. The error occurs on and on until it suddenly stops without anything I would recognize as related. I managed to reproduce this error with ucl logging turned on from the start, so I could trace the first occurrence of the error with loadClassDepth=0. I am attaching a couple of lines before and including the error from ucl.log. The lines following the first occurrence of the error don't contain much more than the repeated attempt to load StringBuffer with incremented loadClassDepth. ucl.log: | 2006-01-10 14:21:48,036 [15861040,RepositoryClassLoader,JMS SessionPool Worker-1] release(1) for :[EMAIL PROTECTED] url=file:/D:/Java/JBoss/jboss-4.0.3SP1/server/default/tmp/deploy/tmp27454[...].jar ,addedOrder=46} | 2006-01-10 14:21:48,036 [15861040,RepositoryClassLoader,JMS SessionPool Worker-1] released, holds: 0 | 2006-01-10 14:21:48,036 [15861040,RepositoryClassLoader,JMS SessionPool Worker-1] loadClass [EMAIL PROTECTED] url=file:/D:/Java/JBoss/jboss-4.0.3SP1/server/default/tmp/deploy/tmp27454[...].jar ,addedOrder=46} name=gov.nist.javax.sip.header.MediaRange class=class gov.nist.javax.sip.header.MediaRange [EMAIL PROTECTED] url=file:/D:/Java/JBoss/jboss-4.0.3SP1/server/default/tmp/deploy/tmp27454[...].jar ,addedOrder=46} | 2006-01-10 14:21:48,068 [15861072,RepositoryClassLoader,JMS SessionPool Worker-7] loadClass [EMAIL PROTECTED] url=file:/D:/Java/JBoss/jboss-4.0.3SP1/server/default/tmp/deploy/tmp27454[...].jar ,addedOrder=46} name=java.lang.Long, loadClassDepth=0 | 2006-01-10 14:21:48,068 [15861072,RepositoryClassLoader,JMS SessionPool Worker-7] Loaded class from cache, [EMAIL PROTECTED] | 2006-01-10 14:21:48,068 [15861072,RepositoryClassLoader,JMS SessionPool Worker-7] loadClass [EMAIL PROTECTED] url=file:/D:/Java/JBoss/jboss-4.0.3SP1/server/default/tmp/deploy/tmp27454[...].jar ,addedOrder=46} name=java.lang.Long class=class java.lang.Long cl=null | 2006-01-10 14:21:48,068 [15861072,RepositoryClassLoader,JMS SessionPool Worker-1] loadClass [EMAIL PROTECTED] url=file:/D:/Java/JBoss/jboss-4.0.3SP1/server/default/tmp/deploy/tmp27454[...].jar ,addedOrder=46} name=java.lang.Integer, loadClassDepth=0 | 2006-01-10 14:21:48,068 [15861072,RepositoryClassLoader,JMS SessionPool Worker-1] Loaded class from cache, [EMAIL PROTECTED] | 2006-01-10 14:21:48,068 [15861072,RepositoryClassLoader,JMS SessionPool Worker-1] loadClass [EMAIL PROTECTED] url=file:/D:/Java/JBoss/jboss-4.0.3SP1/server/default/tmp/deploy/tmp27454[...].jar ,addedOrder=46} name=java.lang.Integer class=class java.lang.Integer cl=null | 2006-01-10 14:21:48,068 [15861072,RepositoryClassLoader,JMS SessionPool Worker-1] loadClass [EMAIL PROTECTED] url=file:/D:/Java/JBoss/jboss-4.0.3SP1/server/default/tmp/deploy/tmp27454[...].jar ,addedOrder=46} name=java.lang.Boolean, loadClassDepth=0 | 2006-01-10 14:21:48,068 [15861072,RepositoryClassLoader,JMS SessionPool Worker-1] Loaded class from cache, [EMAIL PROTECTED] | 2006-01-10 14:21:48,068 [15861072,RepositoryClassLoader,JMS SessionPool Worker-1] loadClass [EMAIL PROTECTED] url=file:/D:/Java/JBoss/jboss-4.0.3SP1/server/default/tmp/deploy/tmp27454[...].jar ,addedOrder=46} name=java.lang.Boolean class=class java.lang.Boolean cl=null | 2006-01-10 14:21:48,068 [15861072,RepositoryClassLoader,JMS SessionPool Worker-8] loadClass [EMAIL PROTECTED] url=file:/D:/Java/JBoss/jboss-4.0.3SP1/server/default/tmp/deploy/tmp27377jboss-service.xml ,addedOrder=2} name=org.jboss.mq.pm.TxManager$GlobalXID, loadClassDepth=0 | 2006-01-10 14:21:48,083 [15861087,RepositoryClassLoader,JMS SessionPool Worker-8] loadClassImpl, name=org.jboss.mq.pm.TxManager$GlobalXID, resolve=false | 2006-01-10 14:21:48,083 [15861087,RepositoryClassLoader,JMS SessionPool Worker-8] attempt(1) was: true for :[EMAIL PROTECTED] url=file:/D:/Java/JBoss/jboss-4.0.3SP1/server/default/tmp/deploy/tmp27377jboss-service.xml ,addedOrder=2} | 2006-01-10 14:21:48,083 [15861087,LoadMgr3,JMS SessionPool Worker-8] registerLoaderThread, [EMAIL PROTECTED] url=file:/D:/Java/JBoss/jboss-4.0.3SP1/server/default/tmp/deploy/tmp27377jboss-service.xml ,addedOrder=2}, t=Thread[JMS SessionPool Worker-8,5,ASF Session Pool Threads], prevT=null | 2006-01-10 14:21:48,083 [15861087,LoadMgr3,JMS SessionPool Worker-8] created new task list | 2006-01-10 14:21:48,083 [15861087,LoadMgr3,JMS SessionPool Worker-8] Begin beginLoadTask, [EMAIL PROTECTED]: org.jboss.mq.pm.TxManager$GlobalXID, requestingThread: Thread[JMS SessionPool Worker-8,5,ASF Session Pool Threads], requestingClassLoader: [EMAIL PROTECTED] url=file:/D:/Java/JBoss/jboss-4.0.3SP1/server/default/tmp/deploy/tmp27377jboss-service.xml ,addedOrder=2}, loadedClass:
[JBoss-user] [JBoss Portal] - Re: deploying portlets
hi man its very simple! in the zip file you download there are 2 directories one caller helloportlet-ear, just put this directory in the directory C:\Archivos de programa\jboss-portal-2.2.0-bundled\server\default\deploy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917366#3917366 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917366 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss AOP] - Runtime hookup of aspects
I am trying to see whether it is feasible to hookup aspects runtime. For example, we have a production system ( an ear ) running with no aspects. During runtime, is it feasible to deploy one SAR with some aspects which will hookup into the pointcuts of classes already loaded in the virtual machine? Compile time, of course, is a no brainer. regards VamC View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917365#3917365 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917365 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Advice - multiple views into seam webapp
Hi folks, Looking for a bit of advice here... I have a nice seam based webapp thats used internally in an office to manage lists of property... however there is a thought to make a read only view of the data available to the public. There is also potential to let the public register properties on the internet site and provide a more detailed view to the users who own the registered property. Was thinking: 1) provide a different link to start the app that brings a user to a front page, then let them login or search from there then possibly use a phaselistener to control the navigation somehow? 2) wrap some form of interceptor or annotation around method calls to check what sort of user it is and if they're logged in or not and control the navigation like that? Any advice appreciated folks, hope you can help. Thanks in advance, Marty View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917364#3917364 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917364 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Eclipse IDE (users)] - Error when inserting into ORACLE DB
Hi I have installed oracle in My system and trying a small example which insert into DB.. but it is inserting propery.. after insertion i am getting this error.. | java.net.SocketException: Connection reset | at java.net.SocketInputStream.read(SocketInputStream.java:168) | at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) | at java.io.BufferedInputStream.read(BufferedInputStream.java:235) | at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2200) | at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2380) | at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2447) | at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2519) | at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2668) | at java.io.ObjectInputStream.readByte(ObjectInputStream.java:864) | at org.jboss.remoting.transport.socket.ServerSocketWrapper.checkConnection(ServerSocketWrapper.java:54) | at org.jboss.remoting.transport.socket.ServerThread.acknowledge(ServerThread.java:217) | at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:298) | at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:169) | Any helps.. Thanks Kasi View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917363#3917363 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917363 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Eclipse IDE (users)] - Re: Help on Ejb3
Hey, I got the Solution. I read it in EJB# trialblazer..they have very good demo.. thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917362#3917362 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917362 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: DataSource doesn't scale
Here is the rest of the stack trace. I had profiled the application using OptimizeIt earlier and it was spending 80-90% of its time in trying to acquire a connection from the datasource. I had even bumped up min/max connection to be more than the concurrent requests and it still did not help. The acceptCount and maxThreads in Tomcat is also high enough. "http-0.0.0.0-80-51" daemon prio=5 tid=0x3002eca0 nid=0x948 in Object.wait() [0x31c0f000..0x31c0f9e8] at java.lang.Object.wait(Native Method) - waiting on <0x07e1a388> (a org.apache.tomcat.util.net.MasterSlaveWorkerThread) at java.lang.Object.wait(Object.java:474) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.await(MasterSlaveWorkerThread.java:81) - locked <0x07e1a388> (a org.apache.tomcat.util.net.MasterSlaveWorkerThread) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:107) at java.lang.Thread.run(Thread.java:595) "http-0.0.0.0-80-50" daemon prio=5 tid=0x2f643008 nid=0x944 runnable [0x31bcf000..0x31bcfa68] at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:737) at org.apache.coyote.http11.InternalInputBuffer.parseRequestLine(InternalInputBuffer.java:398) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:818) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) "http-0.0.0.0-80-8" daemon prio=5 tid=0x2f9de558 nid=0x89c runnable [0x3114d000..0x3114fb68] at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123) - locked <0x05af86d8> (a java.io.BufferedOutputStream) at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:2692) at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:2621) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1552) at com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.java:1124) - locked <0x05af33c0> (a java.lang.Object) at com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement.java:676) at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1030) - locked <0x05af33c0> (a java.lang.Object) - locked <0x088c61b0> (a com.mysql.jdbc.ServerPreparedStatement) at org.jboss.resource.adapter.jdbc.CachedPreparedStatement.executeQuery(CachedPreparedStatement.java:76) at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery(WrappedPreparedStatement.java:211) at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(JDBCAbstractQueryCommand.java:228) at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(JDBCAbstractQueryCommand.java:128) at org.jboss.ejb.plugins.cmp.jdbc.JDBCFindEntityCommand.execute(JDBCFindEntityCommand.java:47) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.findEntity(JDBCStoreManager.java:589) at org.jboss.ejb.plugins.CMPPersistenceManager.findEntity(CMPPersistenceManager.java:300) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.findEntity(CachedConnectionInterceptor.java:236) at org.jboss.ejb.EntityContainer.findSingleObject(EntityContainer.java:1086) at org.jboss.ejb.EntityContainer.findLocal(EntityContainer.java:663) at sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.invocation.Invocation.performCall(Invocation.java:345) at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1113) at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:90) at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:189) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:180) at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:90) at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:
[JBoss-user] [Management, JMX/JBoss] - Re: notSerializableException, (may relate to JBAS-1268)
Dimitris, Thank you for the quick response. If you don't mind I'd like to inquire into what "probably" means. I also am interested in understanding my choices for accessing this MBean as well as others. The same error occurred running Twiddle attempting to access the deploymentScanner MBean. twiddle info "jboss.deployment:type=DeploymentScanner,flavor=URL" BTW: in my java program I tried: " public class JMXBrowser implements java.io.Serializable" to received the following exception: java.io.NotSerializableException: org.jboss.mx.util.MBeanProxyExt What do you suggest as next steps? Thank you Andy Gordon View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917357#3917357 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917357 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Portal 2.2 - Window Name Scope
Yes exact. We plan to add a new property that would be the displayed title and would be used for display. Also it would be great to have it internationalized too. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917356#3917356 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917356 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: notSerializableException, (may relate to JBAS-1268)
This is "probably" normal, since the LookupPool attribute of type org.jboss.util.threadpool.BasicThreadPoolMBean contains an MBeanProxyExt that is not serializable, and this is attempted to be carried over to the client side as part of the attribute Descriptor. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917355#3917355 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917355 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: org.jboss.portal.property.nodecoration ignored??
I will build and update the docs online tonight. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917354#3917354 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917354 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Problem with EJB QL query
Hi all, I'm getting in trouble while executing a simple query. I have an Entity named "Project", and a Session named ProjectServiceBean that implements ProjectService interface. So the ProjectService (remote interface) gives me a method like this: | public Project findByName(String name) throws RemoteException { | return (Project)entityManager.createQuery("from Project p where p.name = name").getSingleResult(); | } | Into my table "PROJECT" I don't have any duplicate names for Projects, but when accessing this method from a client, I got a message error at JBoss console that means there is a problem because that query returns more than one register! So, I changed the method signature and tested the following: anonymous wrote : | public Collection findByName(String name) throws RemoteException { | Collection result = entityManager.createQuery("from Project p where p.name = name").getResultList(); | return result; | } | And then I got a Collection with all registers from table "PROJECT" ! I seems that problem is something about my EJB QL sintax. So I made another change... | public Project findByName(String name) throws RemoteException { | return (Project)entityManager.createQuery("from Project p where p.name = '" + name + "'").getSingleResult(); | } | And it works! Finally I got only one register from my query. But it does not seems to be so ellegant syntax, and it's different from syntax used at JBoss 3.0 TrailBlazer. So I ask you: Why my first code returns all registers from table? What is the best approach to find objects using EJB QL? Is that possible to pass parameters using "?1", "?2", "?n" syntax? How? Thank you all, for your attemption. Fabricio Braga View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917353#3917353 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917353 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - notSerializableException, (may relate to JBAS-1268)
Hi All, Listed below is a cut and paste of the exception I received from running Twiddle with JBoss-4.0.3. JBAS-1268 looks like the same problem but is reported to have been fixed in 4.0.2. With 4.0.3 I get the same exception when running twiddle. Running it both ways as described below yields the same exception: ex 1: twiddle info "jboss:service=Naming" ex 2: twiddle -s localhost:1099 info "jboss:service=Naming" what caused me to try twiddle is that the exception surfaced while attempting to access getMBeanInfo for the above MBean in my java program, remotely attempting to access JBoss using jnp. Do you have any idea of what I am missing in order to access the above mentioned MBean? Or is this a defect and needs to be reported? Thank you - andy C:\jboss-403\jboss-4.0.3SP1\bin>twiddle -s localhost:1099 info "jboss:service=Naming" JAVA_HOME is not set. Unexpected results may occur. Set JAVA_HOME to the directory of your local JDK to avoid this message. 07:21:59,885 ERROR [Twiddle] Exec failed java.io.NotSerializableException: org.jboss.mx.util.MBeanProxyExt at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291) at java.util.HashMap.writeObject(HashMap.java:985) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073) at java.io.ObjectOutputStream.access$100(ObjectOutputStream.java:135) at java.io.ObjectOutputStream$PutFieldImpl.writeFields(ObjectOutputStream.java:1512) at java.io.ObjectOutputStream.writeFields(ObjectOutputStream.java:418) at javax.management.modelmbean.DescriptorSupport.writeObject(DescriptorSupport.java:1392) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369) at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:380) at javax.management.modelmbean.ModelMBeanAttributeInfo.writeObject(ModelMBeanAttributeInfo.java:536) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073) at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291) at java.rmi.MarshalledObject.(MarshalledObject.java:92) at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:410)
[JBoss-user] [Security & JAAS/JBoss] - Re: Identity/Access Management/SSO UseCases
Brian, if there is a way I can help, I'd be more than happy to do so. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917351#3917351 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917351 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Connect JBoss 3.2.5 with JBoss 4.0.3 JMS
Hi, All our customers are working with JBoss 3.2.5 on their location. They communicate with each other over JMS. All communication between our customers is forwarded to a central JBoss 3.2.5 server wich validates and forwards the JMS message to another JBoss 3.2.5 server. Until now we had no problems since all servers are JBoss 3.2.5. However, some customers want to update to JBoss 4.0.3. This introduces a problem that the JAR files are not in sync. Is there a way to connect JBoss 3.2.5 to 4.0.3 and vice versa. The problem is that the beans deployed on the servers are also sending JMS messages so they need to have the right JAR files. Maybe there is some kind "tunneler" which I can run on the central server to forward the JBoss 4.0.3 messages to 3.2.5. Does anybody have experience connecting 2 different versions of JBoss regarding JMS. Thanks in advance for replying. Tim De Vos View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917350#3917350 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917350 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Nightly builds
Also note: seam head is working against the current jboss head. It is NOT working against JBoss 4 branch. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917349#3917349 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917349 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Eclipse IDE (users)] - Re: Code Completion Not Working
patches to the documentation is very welcome in our jira. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917347#3917347 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917347 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Success stories with jBPM
Hello, Does anybody have some success stories on using jBPM on large projects ? What is the level of maturity of this tool ? Thanks in advance, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917346#3917346 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917346 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: FetchType.LAZY
Are you calling commission.getSupplier(); on the client side or within the session bean ? If you are calling it on the client side you will get a LazyException as you are trying to access an object outside of it's persistent context. In this case to fix the problem you will need to either: 1.) fetch the associated objects within the session bean and return both to the client 2.) Set the type to EAGER if the two objects are closely related. (Composition Relationship ???) I hope this helps. If you have further input please send it. Alex ejb3workshop.com Video Podcasts on EJB3 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917344#3917344 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917344 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Unable to get TransactionAttributeType SUPPORTS working
I have a stateless session bean with a method that creates a query using the entity manager. Since the method is read-only I don't want to force a new transaction so I use the attribute type SUPPORTS. I can't get that to work. I always get the following stack trace: javax.persistence.TransactionRequiredException: EntityManager must be access within a transaction at org.jboss.ejb3.entity.ManagedEntityManagerFactory.getSession(ManagedEntityManagerFactory.java:124) at org.jboss.ejb3.entity.InjectedEntityManager.getSession(InjectedEntityManager.java:154) at org.jboss.ejb3.entity.InjectedEntityManager.createQuery(InjectedEntityManager.java:67) ... Why is that? Do I always have to have a transaction? Even if the operation is just read-only? TIA Thomas Hallgren View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917343#3917343 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917343 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - hibernate jboss configuration help, production problems
Post Install : Oracle 9i - Jboss 4.0.2 - Hibernate 3.0.5 - JDK1.5 we have got many application in production. These are packaged as wars. Here is our configuration. OracleDS: OracleDS jdbc:oracle:thin:@xxx:1521:xxx oracle.jdbc.driver.OracleDriver xxx xxx 0 30 org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter Oracle9i hibernate.cfg.xml: java:/OracleDS org.hibernate.dialect.Oracle9Dialect false org.hibernate.transaction.JBossTransactionManagerLookup Fecth the session factory: private Session newSession() { synchronized (configuration) { if (sessionFactory == null) { if (logger.isInfoEnabled()) { logger.info("HiberConf - initialize sessionFactory"); } sessionFactory = configuration.buildSessionFactory(); } return sessionFactory.openSession(); } } And DefaultDatasource is set to OracleDS in the standardjbosscmp.xml. No Hibernate Mbean added in JBoss... Here is an example of request : public List getAgentsParResponsableProjet(Integer idResponsable) { List agents = null; Transaction tx = null; synchronized (this) { try { session = HibernateUtil.currentSession(); tx = session.beginTransaction(); agents = session.createQuery( "from ActiviteAffectee aa where aa.Idresponsable='" + idResponsable.toString() + "'") .list(); tx.commit(); } catch (Exception ex) { if (tx != null) { tx.rollback(); } if (log.isErrorEnabled()) { log.error("getAgentsParResponsableProjet", ex); } } finally { HibernateUtil.closeSession(); } } return agents; } We are just wondering if we have got the right configuration for the couple JBoss-Hibernate. Because we have got stranges errors like synchronisation of TransactionManager the are happening sometimes. We really need help cause these apps are in production and we couldn't make a test period for these apps... Thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917342#3917342 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917342 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss AOP] - any AOP AsynchronousMethodInvocation examples
I have read the wiki entry http://wiki.jboss.org/wiki/Wiki.jsp?page=AOPAsynchronousMethodInvocation [My question here is connected to my prev question here:- http://www.jboss.org/index.html?module=bb&op=viewtopic&t=73744] Is there a full-blown example for using AOP AsynchronousMethodInvocation out there? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917341#3917341 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917341 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Eclipse IDE (users)] - Re: Code Completion Not Working
This really really should be mentioned in the JBoss IDE EJB 3.0 Tools trailblazer video or any kind of (official) documentation ! Feelt sooo stupid not being able to get code completation to work :-( Unless I found this post, thx :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917340#3917340 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917340 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: EJB QL and Using stored procedure ( CMP)
Hi Vikas, FireStorm/DAO adopts a pragmatic approach of generating Java source code for data persistence that is a direct mapping of a particular relational database schema. It is also possible to define complex multi-table queries and to leverage existing database logic contained within stored procedures. http://www.codefutures.com/ejb-cmp/ Regards, Anil View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917338#3917338 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917338 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: BarrierController Service and Dependent Service
I can think now of many solutions, but none without some coding. A relatively easy one is to write an extra mbean with just an exposed stop() operation that emits a notification of yours. Then deploy this mbean in the same file with the BarrierController, and point to that mbean/notification instead of the one that comes from the Server upon shutdown. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917337#3917337 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917337 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Concurrent processInstance modification
You will have to lock on the processInstance before you signal a workflow. Use Hibernate mechs http://www.hibernate.org/hib_docs/v3/reference/en/html/transactions.html#transactions-locking or your own locking service. anonymous wrote : Command Executor in a cluster If you mean executing jBPM processes in a cluster that works fine. You just have to lock the processInstance Greetings Rainer View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917336#3917336 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917336 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: BarrierController Service and Dependent Service
Yeap, this is bug! The problem appears when the BarrierController is destroyed *before* the 'stop' notification has been received: |protected void destroyService() |{ | // unsubscribe for notifications | unsubscribe(); | | try | { | // implicitly call the ServiceController | barrier.destroy(); | | // remove from MBeanServer | getServer().unregisterMBean(barrierName); | } | catch (Throwable e) | { | log.debug("Unexpected error during destroy", e); | } | | // cleanup | barrier = null; |} | barrier.destroy() should implicitly stop the barrier first, but that was another bug that was fixed in JBoss 4.0.3RC2: http://jira.jboss.com/jira/browse/JBAS-2022 The obvious workaround is to add a barrier.stop() before the destroy, but I'll try to see if can use an additional notification as the stop signal, stay tuned: View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917335#3917335 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917335 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - more samples?
I'm new to BPM and would like to know if there are any other samples other than the simple tutorial? I'm not sure how a process is suspended (for days), then how it gets signaled that an event occured for it to be re-activated thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917334#3917334 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917334 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Problem in deploying EJB under JBOSS4.0.3........
Hi, I m developing a small cmp ejb application under jboss. But during deploying the ejb package under jboss it gives error like:- 15:57:55,734 INFO [EjbModule] Deploying cartmasterbean 15:57:56,531 WARN [ServiceController] Problem starting service jboss.j2ee:jndiName=ejb/cartmaster,service=EJB java.lang.NullPointerException at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.loadLoadGroups(JDBCEntityBridge.java:1018) at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.resolveRelationships(JDBCEntityBridge.java:286) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.resolveRelationships(JDBCStoreManager.java:445) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:372) at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:157) at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:340) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:267) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:217) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:950) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:436) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy105.start(Unknown Source) at org.jboss.ejb.EjbModule.startService(EjbModule.java:395) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:267) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:217) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:950) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:436) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy31.start(Unknown Source) at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:616) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.
[JBoss-user] [JCA/JBoss] - Re: WARN [TransactionSynchronizer] ... not the enlisting
What I'm doing is that I look up the ManagedConnectionFactory once, and then use it from different threads to obtain a connection. What then happens is that different threads receive handles to the same ManagedConnection object. As I don't know much of the JCA spec, I can't tell whether that is legal or not, and where the source of this behaviour might even be. However, concerning this, I've been told the following by the guys who maintain the JCA adapter I'm using (which was originally written by David Jencks): anonymous wrote : You may ask JBOSS why the ManagedConnect(thread 1) was given to MCF.matchManagedConnection in thread 2 while the user requested a new ManagedConnection (getConnection()) | | You have | | Thread 1 | MCF (1) | MC (2) | | Thread 2 | MCF (1) | MC (2) <-- why?Sounds like this could be related to the warning, what do you think? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917332#3917332 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917332 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss AOP] - Re: Newbie: aspectizing a existing POJO
I was mistaking, the real code of jboss-aop.xml is: | | | | | | | | but this does not work anyway :-( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917331#3917331 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917331 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Nightly builds
We just got nightly builds running for Seam. In those packages you will find the sources and binaries for the core and all the examples. To get the latest and greatest: http://cruisecontrol.jboss.com/cc/artifacts/jboss-seam-builds (please make sure to try the latest nightly build or CVS version before reporting any bug on the forum) Enjoy :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917330#3917330 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917330 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss AOP] - Newbie: aspectizing a existing POJO
Hello everybody, I'm totally new to AOP and i wish to made my first steps in this world. I'm using Eclipse 3.0.2, jdk 1.4.2, AOP 1.3.4. I wish to be able to run AOP code in loadtime mode, weaving aspects on pre-existing Java Application. Let's say I have developed the classical program Hello(World): I already have a "World.jar" file containing the .class file corresponding to the following simple class: | package org.test; | | public class World { | | public static void main(String[] args) { | new World().callMe(); | } | | public static void callMe(){ | System.out.println("Word!"); | } | } | I have created a AOP project in Eclipse, and i have added the World.jar to the classpath. In this AOP project i wrote the following interceptor: | package org.test.aop; | | import org.jboss.aop.advice.Interceptor; | import org.jboss.aop.joinpoint.Invocation; | | public class HelloInterceptor implements Interceptor { | | public String getName() { | return "HelloInterceptor"; | } | | public Object invoke(Invocation invocation) throws Throwable { | System.out.print("Hello, "); | return invocation.invokeNext(); | } | } | Then i wrote in the jboss-aop.xml file of the AOP project the following lines | | | | | | | | At last, i setted a AOP launch configuration for my AOP project, specifying as the Main class org.test.World. In the VM arguments i can see the correct path to the jboss-aop.xml file. But when i try to execute this AOP project the only output is "World!", hence the interceptor not is called. Why? How can I correct this configuration? Thanks in advance, Paolo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917329#3917329 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917329 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - FetchType.LAZY
I have an entity called commission that has a property of supplier with the reference to this object set up as below | @ManyToOne(fetch=FetchType.LAZY) | @JoinColumn(nullable=false, name="supplier_id") | public Supplier getSupplier() { | return supplier; | } I also have a Stateless session bean called PersistenceManager that as you probably guessed manages all the persistence operations for my entity beans. Then I have another sesison bean that uses this PersistenceManager to retrieve an instance of the Commission object. when I try to get the supplier object attached to this Commission object with commission.getSupplier(); I get the following.. org.hibernate.LazyInitializationException: could not initialize proxy - no Session Any ideas as to why I cannot "get" an attached entity that has a fetch type of LAZY? Regards Dan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917328#3917328 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917328 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Concurrent processInstance modification
Hello, I'm currently evaluating jBPM for project and I have some questions : Suppose 2 java processes A and B trying to access concurrently the same jBPM process instance. They both begin a transaction, read the processInstance, try to execute a transition and then save and commit the changes. As I understand, one process will fail commiting the change since the other one already did it. Is there a way to know before committing that the processInstance is being modified ? I suppose no but, is there a pessimistic locking possible ? Or a pattern to solve the problem ? Is there a release date for 3.1 version ? Is it possible to define multiple jBPM Command Executor in a cluster ? Thanks in advance, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917327#3917327 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917327 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: JBoss IDE and Seam Development Ideas
To clarify this point further: anonymous wrote : c) This could also provide valuable build time debug facilities. anonymous wrote : I don't understand this one? The seam scanner running constantly across the project (during back ground build process) would be able to provide a list of the components that would be deployed, and those that are malformed in terms of Seam. Obviously this could also apply to the EJB3 annotations as well (also adding an extra task into the background build process). I would envisage this working as a pluggable compile/build system that could facilitate these type of custom pluggins. The constant seam scanner could also check for required meta data files and report errors when they are not present (e.g. seam.properties). This could perhaps solve some of this forums user issues with correct deployment structures. Hope this helps clarify the point. Thanks James View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917326#3917326 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917326 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Error in deploying cmp ejb under JBOSS 4.0.3.....
Hi, I m developing a small cmp ejb application under jboss. But during deploying the ejb package under jboss it gives error like:- 15:57:55,734 INFO [EjbModule] Deploying cartmasterbean 15:57:56,531 WARN [ServiceController] Problem starting service jboss.j2ee:jndiName=ejb/cartmaster,service=EJB java.lang.NullPointerException at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.loadLoadGroups(JDBCEntityBridge.java:1018) at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.resolveRelationships(JDBCEntityBridge.java:286) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.resolveRelationships(JDBCStoreManager.java:445) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:372) at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:157) at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:340) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:267) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:217) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:950) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:436) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy105.start(Unknown Source) at org.jboss.ejb.EjbModule.startService(EjbModule.java:395) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:267) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:217) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:950) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:436) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy31.start(Unknown Source) at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:616) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces