[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Session Invalidate + isUserInRole Issue
Thanks Scott! I have to say you are really on top of things, I see your posts all over these forums. I am able to reproduce the intended behavior in 4.0.2 - the same as 4.0.1sp1. Is this behavior specified in the newer servlet spec? Just wondering why the results were different in JBoss 3.2.5? In any case upon using a response.redirect(/) as you suggest, the roles change. Thanks again! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893142#3893142 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893142 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: ClassCastException on Queue JNDI lookup
Hi I am also facing the same problem. I am using samples given in the JBoss distribution as per the JBossMQWiki. However when I use testQueue then I get ClassCastException and if I use queue A then I get Queue not bound exception. == Here is my code: Properties properties = new Properties(); properties.put(java.naming.factory.initial,org.jnp.interfaces.NamingContextFactory); properties.put(java.naming.provider.url,jnp://localhost:1099); properties.put(java.naming.factory.url.pkgs,org.jboss.naming:org.jnp.interfaces); InitialContext ctx = new InitialContext(properties); log.info(Looking up queueA); Queue queue = (Queue) ctx.lookup(Queue/A); = My jbossmq-destinations-service.xml depends optional-attribute-name=DestinationManagerjboss.mq:service=DestinationManager depends optional-attribute-name=SecurityManagerjboss.mq:service=SecurityManager -1 depends optional-attribute-name=DestinationManagerjboss.mq:service=DestinationManager === Please let me know if this is incorrect and if yes then what needs to be done. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893143#3893143 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893143 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: JMSExpection: Invalid transaction id.
Please post the code in which you are sending the message View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893145#3893145 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893145 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - restart and java.lang.NoClassDefFoundError
hi our problem occurs after restart report server.. Report server works normally. But when i restart the server (without any variety) , our server is giving java.lang errors. first --Can't connect to X11 window server using 'localhost:1.0' as the value of the DISPLAY variable.-- error is on report log , then --java.lang.NoClassDefFoundError-- errors is on report log. when restart the report server one more times , it works normally again. what is the why and solution. any idea ? 2005-09-05 17:22:41,682 INFO [STDOUT] [SEVERE] [ID : ReportServlet] : : tr.co m.cs.aurora.report.server.engine.operations.ReportFiller.fillReport : Can't conn ect to X11 window server using 'localhost:1.0' as the value of the DISPLAY varia ble. 2005-09-05 17:22:43,555 INFO [STDOUT] [SEVERE] [ID : ReportServlet] : : tr.co m.cs.aurora.report.server.engine.operations.ReportFiller.fillReport : java.lang. NoClassDefFoundError 2005-09-05 17:22:43,767 INFO [STDOUT] [SEVERE] [ID : ReportServlet] : : tr.co m.cs.aurora.report.server.engine.operations.ReportFiller.fillReport : java.lang. NoClassDefFoundError 2005-09-05 17:22:47,085 INFO [STDOUT] [SEVERE] [ID : ReportServlet] : : tr.co m.cs.aurora.report.server.engine.operations.ReportFiller.fillReport : java.lang. NoClassDefFoundError 2005-09-05 17:22:47,300 INFO [STDOUT] [SEVERE] [ID : ReportServlet] : : tr.co m.cs.aurora.report.server.engine.operations.ReportFiller.fillReport : java.lang. NoClassDefFoundError 2005-09-05 17:22:47,889 INFO [STDOUT] [SEVERE] [ID : ReportServlet] : : tr.co m.cs.aurora.report.server.engine.operations.ReportFiller.fillReport : java.lang. NoClassDefFoundError 2005-09-05 17:22:48,233 INFO [STDOUT] [SEVERE] [ID : ReportServlet] : : tr.co m.cs.aurora.report.server.engine.operations.ReportFiller.fillReport : java.lang. NoClassDefFoundError 2005-09-05 17:22:49,473 INFO [STDOUT] [SEVERE] [ID : ReportServlet] : : tr.co m.cs.aurora.report.server.engine.operations.ReportFiller.fillReport : java.lang. NoClassDefFoundError 2005-09-05 17:22:49,960 INFO [STDOUT] [SEVERE] [ID : ReportServlet] : : tr.co m.cs.aurora.report.server.engine.operations.ReportFiller.fillReport : java.lang. NoClassDefFoundError 2005-09-05 17:22:50,423 INFO [STDOUT] [SEVERE] [ID : ReportServlet] : : tr.co m.cs.aurora.report.server.engine.operations.ReportFiller.fillReport : java.lang. NoClassDefFoundError 2005-09-05 17:22:52,315 INFO [STDOUT] [SEVERE] [ID : ReportServlet] : : tr.co m.cs.aurora.report.server.engine.operations.ReportFiller.fillReport : java.lang. NoClassDefFoundError 2005-09-05 17:22:54,089 INFO [STDOUT] [SEVERE] [ID : ReportServlet] : : tr.co m.cs.aurora.report.server.engine.operations.ReportFiller.fillReport : java.lang. NoClassDefFoundError 2005-09-05 17:22:54,826 INFO [STDOUT] [SEVERE] [ID : ReportServlet] : : tr.co m.cs.aurora.report.server.engine.operations.ReportFiller.fillReport : java.lang. NoClassDefFoundError 2005-09-05 17:22:55,156 INFO [STDOUT] [SEVERE] [ID : ReportServlet] : : tr.co m.cs.aurora.report.server.engine.operations.ReportFiller.fillReport : java.lang. NoClassDefFoundError . . . . . View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893146#3893146 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893146 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - restart and java.lang.NoClassDefFoundError
our problem occurs after restart report server.. Report server works normally. But when i restart the server (without any variety) , our server is giving java.lang errors. first --Can't connect to X11 window server using 'localhost:1.0' as the value of the DISPLAY variable.-- error is on report log , then --java.lang.NoClassDefFoundError-- errors is on report log. when restart the report server one more times , it works normally again. what is the why and solution. any idea ? 2005-09-05 17:22:41,682 INFO [STDOUT] [SEVERE] [ID : ReportServlet] : : tr.co m.cs.aurora.report.server.engine.operations.ReportFiller.fillReport : Can't conn ect to X11 window server using 'localhost:1.0' as the value of the DISPLAY varia ble. 2005-09-05 17:22:43,555 INFO [STDOUT] [SEVERE] [ID : ReportServlet] : : tr.co m.cs.aurora.report.server.engine.operations.ReportFiller.fillReport : java.lang. NoClassDefFoundError 2005-09-05 17:22:43,767 INFO [STDOUT] [SEVERE] [ID : ReportServlet] : : tr.co m.cs.aurora.report.server.engine.operations.ReportFiller.fillReport : java.lang. NoClassDefFoundError 2005-09-05 17:22:47,085 INFO [STDOUT] [SEVERE] [ID : ReportServlet] : : tr.co m.cs.aurora.report.server.engine.operations.ReportFiller.fillReport : java.lang. NoClassDefFoundError 2005-09-05 17:22:47,300 INFO [STDOUT] [SEVERE] [ID : ReportServlet] : : tr.co m.cs.aurora.report.server.engine.operations.ReportFiller.fillReport : java.lang. NoClassDefFoundError 2005-09-05 17:22:47,889 INFO [STDOUT] [SEVERE] [ID : ReportServlet] : : tr.co m.cs.aurora.report.server.engine.operations.ReportFiller.fillReport : java.lang. NoClassDefFoundError 2005-09-05 17:22:48,233 INFO [STDOUT] [SEVERE] [ID : ReportServlet] : : tr.co m.cs.aurora.report.server.engine.operations.ReportFiller.fillReport : java.lang. NoClassDefFoundError 2005-09-05 17:22:49,473 INFO [STDOUT] [SEVERE] [ID : ReportServlet] : : tr.co m.cs.aurora.report.server.engine.operations.ReportFiller.fillReport : java.lang. NoClassDefFoundError 2005-09-05 17:22:49,960 INFO [STDOUT] [SEVERE] [ID : ReportServlet] : : tr.co m.cs.aurora.report.server.engine.operations.ReportFiller.fillReport : java.lang. NoClassDefFoundError 2005-09-05 17:22:50,423 INFO [STDOUT] [SEVERE] [ID : ReportServlet] : : tr.co m.cs.aurora.report.server.engine.operations.ReportFiller.fillReport : java.lang. NoClassDefFoundError 2005-09-05 17:22:52,315 INFO [STDOUT] [SEVERE] [ID : ReportServlet] : : tr.co m.cs.aurora.report.server.engine.operations.ReportFiller.fillReport : java.lang. NoClassDefFoundError 2005-09-05 17:22:54,089 INFO [STDOUT] [SEVERE] [ID : ReportServlet] : : tr.co m.cs.aurora.report.server.engine.operations.ReportFiller.fillReport : java.lang. NoClassDefFoundError 2005-09-05 17:22:54,826 INFO [STDOUT] [SEVERE] [ID : ReportServlet] : : tr.co m.cs.aurora.report.server.engine.operations.ReportFiller.fillReport : java.lang. NoClassDefFoundError 2005-09-05 17:22:55,156 INFO [STDOUT] [SEVERE] [ID : ReportServlet] : : tr.co m.cs.aurora.report.server.engine.operations.ReportFiller.fillReport : java.lang. NoClassDefFoundError . . . . . View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893148#3893148 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893148 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - JBoss Connection Pool Oracle problem:getTables()
I've configed JBoss Connection Pool and the database is Oracle9i. But I met some error when I use getTables() method,there was an error. The code is as follow: Hashtable env = new Hashtable(); env.put(Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory); env.put(Context.PROVIDER_URL, localhost:1099); InitialContext ctx = new InitialContext(env); DataSource ds = (DataSource) ctx.lookup(OracleDS); try { Connection conn = ds.getConnection(); DatabaseMetaData dm = conn.getMetaData(); System.out.println(dm.getDriverName()); System.out.println(dm.getDriverVersion()); System.out.println(dm.usesLocalFiles()); Object o= dm.getTables(null, null, %, null); conn.close(); } catch (SQLException e1) { e1.printStackTrace(); } } catch (NamingException e) { e.printStackTrace(); } The error message was: java.lang.ClassCastException at $Proxy2.getTables(Unknown Source) at testH.main(testH.java:43) Exception in thread main I'm confused, anyone can help me? thanks in advance! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893149#3893149 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893149 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - ClassCastException at $Proxy2.getTables()
I've configed JBoss Connection Pool and the database is Oracle9i. But I met some error when I use getTables() method,there was an error. The code is as followed: Hashtable env = new Hashtable(); env.put(Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory); env.put(Context.PROVIDER_URL, localhost:1099); InitialContext ctx = new InitialContext(env); DataSource ds = (DataSource) ctx.lookup(OracleDS); try { Connection conn = ds.getConnection(); DatabaseMetaData dm = conn.getMetaData(); System.out.println(dm.getDriverName()); System.out.println(dm.getDriverVersion()); System.out.println(dm.usesLocalFiles()); Object o= dm.getTables(null, null, %, null); conn.close(); } catch (SQLException e1) { e1.printStackTrace(); } } catch (NamingException e) { e.printStackTrace(); } The error message was: java.lang.ClassCastException at $Proxy2.getTables(Unknown Source) at testH.main(testH.java:43) Exception in thread main I'm confused, anyone can help me? Thanks in advance! JBoss 4.0.1sp1, Oracle9i View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893151#3893151 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893151 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - browsing messages in queue
Why isn't the following code browsing the messages in my queue? what is my mistake? public Enumeration listMessages() { | QueueSession session = null; | QueueBrowser browser = null; | Enumeration queueContents = null; | try { | session = _queueConnection.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE); | queueContents = browser.getEnumeration(); | while (queueContents.hasMoreElements()) | _log.debug(queueContents.nextElement()); | } catch (JMSException e) { | throw new InternalException(e); | } finally { | closeQueueBrowser(browser); | closeSession(session); | } | return queueContents; | } | Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893153#3893153 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893153 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - servlet depends on MBean!
Just playing around with jboss,axis. I created a servlet that makes use of a certain mbean. I want the mbean to be registered first and then the servlet class to be initialized. The Mbean is part of a different sar and the servlet in question is in a different war file. Can any one help me with this. Is there any way of doing this through web.xml?? Thanks in advance for the help! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893152#3893152 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893152 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: restart and java.lang.NoClassDefFoundError
If you don't have X installed on your system, then you may have to pass -Djava.awt.headless=true to your java runtime. This can be added in jboss-dir/bin/run.conf Joachim View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893154#3893154 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893154 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Problem with PrincipalRoles=null; for create method..
Hi Siva, I am of the view that you are missing something in your ejb-jar.xml. your method permissions are not proprly set. method-permission role-nameAdministrator/role-name ejb-nameMath/ejb-name method-intfRemote/method-intf method-nameMultiTwoNumber/method-name /method-permission Add something like this and see View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893156#3893156 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893156 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: JavaScript jsp: can't load external script
Thank you for your reply :) diondodgen wrote : Hi Hannes, | | Well looking at this I would check to see what the application context name of my portlet is. This should provide a bit of information of your path to your war file resources. hmm, what do you exactly mean? I can retrieve only the 'portlet context name' [doView] PortletContext context = getPortletContext(); | System.out.println(context.getPortletContextName()); But the value is null. diondodgen wrote : | Then make sure the script src= / matches the path of your portlet war. | | Your current path says that the grid.js is in the root folder of the core-war and I don't think you have it here. yes it is located there. Otherwise it can't be found (no syntax error in the js-console).diondodgen wrote : | I would pop the .js file under my /WEB-INF directory in another folder of your portlets war so | /WEB-INF/javascript/grid.js then reference it in the jsp script tags script src=WEB-INF/javascript/grid.js / I've tried that, but I can only access the (and other) file(s) in the root folder of the war where the jsp is located. Should I define the *.js and *.css as a resource? But I think, the main problem still stays: the js-console delivers the syntax error: anonymous wrote : Error: syntax error | Source File: http://localhost:8081/portal/grid.js | Line: 8 | Source Code: | !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;and this causes the other error 'Active is not defined'. Unfortunately the source of the js-file is totally illegible. I cant locate the error. Maybe someone want to try out the table (licenced under the GPL): http://www.activewidgets.com/download/activewidgets-grid-1.0-gpl.zip Regards, Hannes View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893159#3893159 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893159 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: AbstractPersistetCollection local class incompatible
Finally, I noticed that the hibernate3.jar that was in my classpath was slightly different than that in the server/default/deploy/jboss-hibernate.deployer/ folder. So I replaced the classpath with the latter and it works fine. Hope this works for you too. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893160#3893160 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893160 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: JavaScript jsp: can't load external script
It is a bug in the javascript from activewidgets. I am not allowed to have anonymous wrote : !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; in my html-page. I am trying to remove the line from the index.jsp. But why I can access only files from the root folder is still confusing... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893163#3893163 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893163 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Defining datasources in webapp config files?
You could put all of your datasource definitions in a single -ds.xml instead. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893162#3893162 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893162 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: ClassCastException on Queue JNDI lookup
If you are getting a ClassCastException post the Exception stack trace and message. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893164#3893164 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893164 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Problems with persistent cache
Anyone have any insights about this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893166#3893166 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893166 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - TreeCacheAop Aspectize Exception
Hi, I'm trying to get the TreeCacheAop running inside JBoss. TreeCache was no problem but I'm stuck with this exception. java.lang.IllegalArgumentException: TreeCacheAop.putObject(): Object type is neither aspectized nor Serializable Meanging that my object isn't aspectized, ok. How can i achieve this? The tutorial says: To declare a POJO via XML configuration file, you will need a META-INF/jboss-aop.xml file located under the class path. I put an xml under : jboss-aop-jdk50.deployer\META-INF, but this didn't help. Is this the right place? and if it is where do i have to state the usage of my xml file? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893167#3893167 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893167 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: restart and java.lang.NoClassDefFoundError
thanks joachim it works fine best regards View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893169#3893169 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893169 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: ClassCastException on Queue JNDI lookup
Exception in thread main java.lang.ClassCastException: javax.naming.Reference at QClient.main(QClient.java:33) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893172#3893172 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893172 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: What does no classloaders found mean ?
The container is not able to load com.meerkat.jfr.par.Address class and so the ClassNotFound Exception It might be due to various reasons. Few which I know are 1. If we user more than 1 container, then there should be mapping in one container saying the path of the other container. 2. If using only one container, then the path is not set correctly.. Rajasekhar View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893178#3893178 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893178 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Deployment sequence
thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893183#3893183 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893183 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Unknown Problem, need help tracking it down.
(Not sure if this is right forum, doesn't really fit in any). When trying to access a page on my web application, the page will never load. The browser just sits there trying to connect. Other web applications are fine, can access web-console without problem. Can also access some of my other web applications. The problem application (vicop) works fine for about 5 to 10 mins, then requests will start failing. Additionally nothing is being written to the log file (could be because nothing is being executed). web-console sayes: | localhost/vicop | | Startup time: 4 ms TLD scan time: 0 ms | Active sessions: 35 Session count: 38 Max active sessions: 35 Rejected session creations: 0 Expired sessions: 3 Processing time: 2 ms | JSPs loaded: 4 JSPs reloaded: 4 | ActionServlet [ *.html , *.wml , *.vpl , *.sis , *.do , *.vlc ] | | Processing time: 7 s Max time: 2498 ms Request count: 40 Error count: 0 Load time: 8943 ms Classloading time: 13 ms | default [ / ] | | Processing time: 0 s Max time: 0 ms Request count: 0 Error count: 0 Load time: 0 ms Classloading time: 0 ms | jsp [ *.jsp , *.jspx ] | | Processing time: 0 s Max time: 0 ms Request count: 0 Error count: 0 Load time: 0 ms Classloading time: 0 ms | Looks fine? If I remove the war file (vicop.war) from the deploy directory, the web application does not get undeployed. The only way I can stop jboss is by killing it using (kill -6!!, other levels fail). Just running /etc/init.d/jboss stop will hang forever. Please give any advice you can as to how to track down. Thank you very much, James. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893187#3893187 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893187 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: ClassCastException on Queue JNDI lookup
I found the reason for this. It has nothing to do with ClassCastException actually. The JMS client was not able to connect to JBoss server hence I was not getting the Queue type object and thus the ClassCastException. Putting jbossall-client.jar in the classpath solved the problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893190#3893190 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893190 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Startup servlet invoking Secured EJB
After debugging the jboss code, i found that the reason why the servlet is able to invoke the method on bean is because, somehow it is able to get the right role, which is required by the bean. I put a breakpoint in the OILServerILService at the following line: | case OILConstants.AUTHENTICATE: | result = server.authenticate((String)in.readObject(), (String)in.readObject()); | break; Also, i placed a breakpoint in SecurityManager class: | public String authenticate(String user, String password) throws JMSException The value that gets passed on to the method is the user name and password(in my case admin,adminPassword). The role corresponding to admin has the privilege to invoke the method on bean. Hence i am able to access the bean. But, my question still remains as to how and where is this username and password obtained, to be passed on to the SecurityManager, since i havent mentioned any of these as parameters to the startup servlet. Can anyone please answer this. I have been trying to figure this out for the past few days. Thank you. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893192#3893192 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893192 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Startup servlet invoking Secured EJB
After debugging the jboss code, i found that the reason why the servlet is able to invoke the method on bean is because, somehow it is able to get the right role, which is required by the bean. I put a breakpoint in the OILServerILService at the following line: | case OILConstants.AUTHENTICATE: | result = server.authenticate((String)in.readObject(), (String)in.readObject()); | break; Also, i placed a breakpoint in SecurityManager class: | public String authenticate(String user, String password) throws JMSException The value that gets passed on to the method is the user name and password(in my case admin,adminPassword). The role corresponding to admin has the privilege to invoke the method on bean. Hence i am able to access the bean. But, my question still remains as to how and where is this username and password obtained, to be passed on to the SecurityManager, since i havent mentioned any of these as parameters to the startup servlet. Can anyone please answer this. I have been trying to figure this out for the past few days. Thank you. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893193#3893193 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893193 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: JMSExpection: Invalid transaction id.
Here is the code snippet package movie.ejb; import java.rmi.*; import javax.ejb.*; import javax.jms.*; import javax.naming.*; /** * @ejb.bean * name=MessageController * extends=javax.ejb.MovieSessionBean * view-type=remote * jndi-name=movie.ejb.MessageControllerHome * description=EJB to handle Message Notification * * @ejb.interface * remote-class=movie.ejb.MessageController * extends=javax.ejb.EJBObject * @ejb.home * remote-class=movie.ejb.MessageControllerHome * extends=javax.ejb.EJBHome * * * @ejb.transaction * type=Supports * @ejb.util generate = physical * * @ejb.resource-ref res-ref-name = jms/QueueConnectionFactory * res-type = javax.jms.QueueConnectionFactory * res-auth = Container * @jboss.resource-ref res-ref-name = jms/QueueConnectionFactory * jndi-name = java:/JmsXA * */ public class MessageControllerBean extends MovieSessionBean{ private QueueSession qsession; private QueueSender qsender; private Queue queue; /** * @ejb.create-method */ public void ejbCreate() throws RemoteException { try { String JMS_FACTORY=java:comp/env/jms/QueueConnectionFactory; String QUEUE=queue/testQueue; Context namingCtx = new InitialContext(); QueueConnectionFactory qconFactory = (QueueConnectionFactory) namingCtx.lookup(JMS_FACTORY); QueueConnection qcon = qconFactory.createQueueConnection(); qsession = qcon.createQueueSession(false, Session.AUTO_ACKNOWLEDGE); queue = (Queue) namingCtx.lookup(QUEUE); } catch (Exception e) { e.printStackTrace(); throw new RemoteException(e.getMessage()); } } /** * Send message method. * * @ejb.interface-method */ public void sendMessage(String message) throws RemoteException { try { TextMessage msg = qsession.createTextMessage(); msg.setText(message); qsender = qsession.createSender(queue); qsender.send(msg); } catch (Exception e) { e.printStackTrace(); throw new RemoteException(e.getMessage()); } } } View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893195#3893195 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893195 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: ClassCastException on Queue JNDI lookup
Yes the fact the ClassCastException mentions javax.naming.Reference is enough information to realise you had jars missing on your classpath. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893203#3893203 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893203 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Defining datasources in webapp config files?
I place mydb-ds.xml in the root of my ear. My ear/META-INF/jboss-app.xml looks like this: | ?xml version=1.0 encoding=UTF-8? | !DOCTYPE jboss-app | PUBLIC -//JBoss//DTD J2EE Application 1.4//EN | http://www.jboss.org/j2ee/dtd/jboss-app_4_0.dtd; | | jboss-app | module | servicemydb-ds.xml/service | /module | /jboss-app | I still have to copy the JDBC driver jar to the server's lib directory. Anyone know if it's possible to package the JDBC driver jar in the ear? The DTD for -ds.xml files doesn't look like it has a way to specify a classpath, like regular -service.xml files. I suppose I could use the XSLT stylesheet that JBoss uses to transform the -ds.xml into a -service.xml ahead of time and add the classpath entry, but I was hoping there was an easier way. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893204#3893204 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893204 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: JMSExpection: Invalid transaction id.
Instead of the following, use Required as the transaction type @ejb.transaction | * type=Supports Instead, use: @ejb.transaction | * type=Required I think this might work. Try it out View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893205#3893205 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893205 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - NPE on deploying .har in JBoss 3.2.6
I am a newbie to using HarDeployers in Jboss. I am deploying my .har file using .EAR package. I am getting below exception on deploying: --- 2005-09-02 18:22:02,868 WARN [ServiceController] ( ) Problem starting service jboss.har:service=Hibernate RuntimeMBeanException: java.lang.NullPointerException Cause: java.lang.NullPointerException at org.jboss.mx.server.ReflectedDispatcher.handleInvocationExceptions(Re flectedDispatcher.java:82) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher. java:64) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54) at org.jboss.mx.server.Invocation.invoke(Invocation.java:82) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:197) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl ler.java:837) at $Proxy18.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:367) 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.server.ReflectedDispatcher.dispatch(ReflectedDispatcher. java:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54) at org.jboss.mx.server.Invocation.invoke(Invocation.java:82) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:197) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:251) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:836) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:645) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608) at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher. java:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54) at org.jboss.mx.server.Invocation.invoke(Invocation.java:82) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:197) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy7.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen tScanner.java:304) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS canner.java:478) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. doScan(AbstractDeploymentScanner.java:201) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. loop(AbstractDeploymentScanner.java:212) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. run(AbstractDeploymentScanner.java:191) Caused by: java.lang.NullPointerException at org.jboss.hibernate.jmx.Hibernate.startService(Hibernate.java:365) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS upport.java:271) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB eanSupport.java:221) 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.server.ReflectedDispatcher.dispatch(ReflectedDispatcher. java:60) -- 1) I have added below lines to jboss-app.xml polls.har 2) My hibernate-service.xml looks as follows: java:/hibernate/PollsSessionFactoryName net.sf.hibernate.dialect.Oracle9Dialect true !-- Mappings should be specified in the HAR deployer-- 3) .EAR contents are as follows: meta-inf/application.xml meta-inf/jboss-app.xml meta-inf/Manifest.mf polls.har polls.war 4) .HAR contents are as follows: meta-inf/hibernate-service.xml meta-inf/Polls.hbm.xml com/vo/PollResponse.class ehcache.jar Looks like HarDEployer is not able to set HarUrl. Any help in this regard will be highly appreciated. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893208#3893208 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893208
[JBoss-user] [Installation, Configuration Deployment] - NPE on deploying .har in JBoss 3.2.6
I am a newbie to using HarDeployers in Jboss. I am deploying my .har file using .EAR package. I am getting below exception on deploying: --- 2005-09-02 18:22:02,868 WARN [ServiceController] ( ) Problem starting service jboss.har:service=Hibernate RuntimeMBeanException: java.lang.NullPointerException Cause: java.lang.NullPointerException at org.jboss.mx.server.ReflectedDispatcher.handleInvocationExceptions(Re flectedDispatcher.java:82) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher. java:64) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54) at org.jboss.mx.server.Invocation.invoke(Invocation.java:82) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:197) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl ler.java:837) at $Proxy18.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:367) 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.server.ReflectedDispatcher.dispatch(ReflectedDispatcher. java:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54) at org.jboss.mx.server.Invocation.invoke(Invocation.java:82) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:197) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:251) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:836) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:645) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608) at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher. java:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54) at org.jboss.mx.server.Invocation.invoke(Invocation.java:82) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:197) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy7.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen tScanner.java:304) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS canner.java:478) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. doScan(AbstractDeploymentScanner.java:201) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. loop(AbstractDeploymentScanner.java:212) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. run(AbstractDeploymentScanner.java:191) Caused by: java.lang.NullPointerException at org.jboss.hibernate.jmx.Hibernate.startService(Hibernate.java:365) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS upport.java:271) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB eanSupport.java:221) 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.server.ReflectedDispatcher.dispatch(ReflectedDispatcher. java:60) -- 1) I have added below lines to jboss-app.xml polls.har 2) My hibernate-service.xml looks as follows: java:/hibernate/PollsSessionFactoryName net.sf.hibernate.dialect.Oracle9Dialect true !-- Mappings should be specified in the HAR deployer-- 3) .EAR contents are as follows: meta-inf/application.xml meta-inf/jboss-app.xml meta-inf/Manifest.mf polls.har polls.war 4) .HAR contents are as follows: meta-inf/hibernate-service.xml meta-inf/Polls.hbm.xml com/vo/PollResponse.class ehcache.jar Looks like HarDEployer is not able to set HarUrl. Any help in this regard will be highly appreciated. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893209#3893209 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893209
[JBoss-user] [Installation, Configuration Deployment] - Re: NPE on deploying .har in JBoss 3.2.6
BTW, I am running JBoss 3.2.6 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893210#3893210 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893210 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: NPE on deploying .har in JBoss 3.2.6
BTW, I am running JBoss 3.2.6. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893212#3893212 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893212 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: NPE on deploying .har in JBoss 3.2.6
BTW, I am running JBoss 3.2.6 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893211#3893211 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893211 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - setRollBackOnly question
Hello there! This is a basic question, it's more related to ejb-spec I guess, but since JBoss is my default AS, I hope you guys could help me out here ;) Ok, I have an MDB with CMT. This MDB calls an ApplicationService (just a POJO) that performs our business logic. In case something bad happens, let's say, an SQL error from Hibernate, one should rollback the transaction. My question is suppose my onMessage(Message message) method has this snippet: try{ service.doSomething(); }catch(BusinessLogicException ex){ logger.error(ex); ctx.setRollBackOnly(); } This will rollback my transaction, but also cause my message to be re-delivered right? I've seen implementations with BMT where we could acknowledge the message, but I really would like to keep using CMT. Well, my question is just about the behaviour of the conteiner, is this what really happens when a rollback is issued from a MDB? I guess avoiding redelivery should be easy since you guyse helped me with that in another topic ;) Thanks all.. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893213#3893213 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893213 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Startup servlet invoking Secured EJB
And here's an extract from the web.xml file: servlet | servlet-nameAppStartupServlet/servlet-name | servlet-classcom.app.servlet.StartupServlet/servlet-class | load-on-startup1/load-on-startup | /servlet | | | security-constraint | web-resource-collection | web-resource-nameMy app/web-resource-name | url-pattern/jsp/*/url-pattern | url-pattern*.do/url-pattern | url-pattern*.jsp/url-pattern | url-pattern/servlet/*/url-pattern | url-pattern/servlet/DisplayChart/url-pattern | http-methodGET/http-method | http-methodPOST/http-method | /web-resource-collection | auth-constraint | role-namedev/role-name | role-nameadmin/role-name | role-nameuser/role-name | /auth-constraint | /security-constraint | | login-config | auth-methodBASIC/auth-method | realm-nameJBoss HTTP Invoker/realm-name | /login-config | security-role | role-namedev/role-name | /security-role | security-role | role-nameadmin/role-name | /security-role | security-role | role-nametapuser/role-name | /security-role View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893216#3893216 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893216 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Startup servlet invoking Secured EJB
And here's an extract from the web.xml file: servlet | servlet-nameAppStartupServlet/servlet-name | servlet-classcom.app.servlet.StartupServlet/servlet-class | load-on-startup1/load-on-startup | /servlet | | | security-constraint | web-resource-collection | web-resource-nameMy app/web-resource-name | url-pattern/jsp/*/url-pattern | url-pattern*.do/url-pattern | url-pattern*.jsp/url-pattern | url-pattern/servlet/*/url-pattern | url-pattern/servlet/DisplayChart/url-pattern | http-methodGET/http-method | http-methodPOST/http-method | /web-resource-collection | auth-constraint | role-namedev/role-name | role-nameadmin/role-name | role-nameuser/role-name | /auth-constraint | /security-constraint | | login-config | auth-methodBASIC/auth-method | realm-nameJBoss HTTP Invoker/realm-name | /login-config | security-role | role-namedev/role-name | /security-role | security-role | role-nameadmin/role-name | /security-role | security-role | role-nametapuser/role-name | /security-role View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893217#3893217 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893217 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: JAX-RPC Mapping DD, what metadata is used by JBoss?
We observer a similary problem. The MetaData in the generated WSDD file are mostly ignored by the Serializer. The follwoing web service: | ?xml version=1.0 encoding=UTF-8? | | definitions | name=MobtelPhoneLocationService | targetNamespace=http://www.asg-platform.org/scenarios/attractionbooking/services/MobtelPhoneLocationService; | xmlns:tns=http://www.asg-platform.org/scenarios/attractionbooking/services/MobtelPhoneLocationService; | xmlns=http://schemas.xmlsoap.org/wsdl/; | xmlns:xsd=http://www.w3.org/2001/XMLSchema; | xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; | | types | xsd:schema | targetNamespace=http://www.asg-platform.org/scenarios/attractionbooking/services/MobtelPhoneLocationService; | xmlns:tns=http://www.asg-platform.org/scenarios/attractionbooking/services/MobtelPhoneLocationService; | xmlns:rts=http://asg-platform.org/scenarios/attractionbooking/routes; | xmlns:cts=http://asg-platform.org/scenarios/attractionbooking/contacts; | xmlns:soap11-enc=http://schemas.xmlsoap.org/soap/encoding/; | xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; | xmlns:xsd=http://www.w3.org/2001/XMLSchema; | | xsd:import | namespace=http://asg-platform.org/scenarios/attractionbooking/routes; | schemaLocation=http://tb0.asg-platform.org/~saar/schemas/routes.xsd; / | | xsd:import | namespace=http://asg-platform.org/scenarios/attractionbooking/contacts; | schemaLocation=http://tb0.asg-platform.org/~saar/schemas/contacts.xsd; / | | xsd:complexType name=findPhoneLocation | xsd:sequence | xsd:element name=phoneNumber type=cts:PhoneNumber nillable=true//xsd:sequence/xsd:complexType | | xsd:complexType name=findPhoneLocationResponse | xsd:sequence | xsd:element name=location type=rts:Location nillable=true//xsd:sequence/xsd:complexType | | xsd:element name=findPhoneLocation type=tns:findPhoneLocation/ | xsd:element name=findPhoneLocationResponse type=tns:findPhoneLocationResponse//xsd:schema/types | | message name=PhoneLocationEndpoint_findPhoneLocation | part name=parameters element=tns:findPhoneLocation//message | | message name=PhoneLocationEndpoint_findPhoneLocationResponse | part name=result element=tns:findPhoneLocationResponse//message | | portType name=PhoneLocationEndpoint | operation name=findPhoneLocation | input message=tns:PhoneLocationEndpoint_findPhoneLocation/ | output message=tns:PhoneLocationEndpoint_findPhoneLocationResponse//operation/portType | | binding name=PhoneLocationEndpointBinding type=tns:PhoneLocationEndpoint | soap:binding transport=http://schemas.xmlsoap.org/soap/http; style=document/ | operation name=findPhoneLocation | soap:operation soapAction=/ | input | soap:body use=literal//input | output | soap:body use=literal//output/operation/binding | | service name=MobtelPhoneLocationService | port name=PhoneLocationEndpointPort binding=tns:PhoneLocationEndpointBinding | soap:address location=REPLACE_WITH_ACTUAL_URL//port/service/definitions | Got this SOAPRequest: | ?xml version=1.0 encoding=UTF-8 ? | soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd=http://www.w3.org/2001/XMLSchema; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:wsa=http://schemas.xmlsoap.org/ws/2004/08/addressing; | soapenv:Header | wsa:MessageID soapenv:mustUnderstand=0uuid:b80dc2d0-1ee3-11da-baf4-8b01201e0182/wsa:MessageID | wsa:To soapenv:mustUnderstand=0http://localhost:8080/asg-services-mobtelphonelocationservice-1/PhoneLocationEndpointPort/wsa:To | wsa:From soapenv:mustUnderstand=0 | wsa:Addresshttp://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous/wsa:Address | /wsa:From | asg:SvcImplId xmlns:asg=http://www.asg-platform.org/namespaces; soapenv:mustUnderstand=05/asg:SvcImplId | asg:SvcInstId xmlns:asg=http://www.asg-platform.org/namespaces; soapenv:mustUnderstand=01538/asg:SvcInstId | /soapenv:Header | soapenv:Body | findPhoneLocation xmlns=http://www.asg-platform.org/scenarios/attractionbooking/services/MobtelPhoneLocationService; | cts:phoneNumber xmlns:cts=http://asg-platform.org/scenarios/attractionbooking/contacts; | cts:areaCode
[JBoss-user] [JBossCache] - Re: TreeCacheAop Aspectize Exception
THe easiest way to run TreeCacheAop under AS is to pre-compile the pojo using aopc. That way, you don't need jboss-aop.xml anymore once it is done. But if you need to do loadtime instrumentation, you will need to consult the JBossAop documentation: http://docs.jboss.com/aop/1.3/aspect-framework/reference/en/html/running.html -Ben View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893221#3893221 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893221 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Defining datasources in webapp config files?
darran: I realized that after the fact. The point was to include the service definitions with the app, instead of having them outside on their own in the deploy dir. Just keeps things neater, IMO. Andy: THANKS!!! That works perfectly. Personally, the libdir thing doesn't matter to me, since I want my JDBC driver to be available system-wide to all users (no sense in replicating drivers in each app). --Scott View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893226#3893226 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893226 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: browsing messages in queue
Try this code it will work: public void browseQ() throws JMSException { QueueConnection queueConnection = null; QueueSession queueSession = null; QueueBrowser queueBrowser=null; queueConnection = QueueConnectionFactory.getInstance().getQueueConnection(channelName, hostName, queueManagerName); queueConnection.start(); queueSession = queueConnection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE); Queue responseQueue = QueueFactory.getInstance().getResponseQueue(queueSession, responseQueueName); queueBrowser=queueSession.createBrowser(responseQueue); Enumeration enumer=queueBrowser.getEnumeration(); while (enumer.hasMoreElements()) System.out.print(enumer.nextElement()+ ); } View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893227#3893227 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893227 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Server Load
I would like to know whether implementing portal in Jboss can cause major load to the server. For example, If you implement weblogic using portal the server needs to much memory. In the case of Jboss is the same? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893228#3893228 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893228 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - rpc/literal in jboss.net?
Hello there, I am using jboss 3.2.6 and I exposed a session bean as a web service, using the @jboss-net tags. Although it works well it is exposed as a service running in rpc/encoded style. I have read many topics in this forum saying that they have webservices running in rpc/literal or document/literal mode in jboss.net How do you do this? I could not find xdoclet tags for this and if I change the web-service.xml like below, the webservice does not come up anymore: View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893229#3893229 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893229 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Ejb over HTTP and connection timed out
Hello, i'm using ejbs over http in our application. Users connect to the server using a VPN, then access jboss on port 8080. Working fine for most of them, but some have the following errors: anonymous wrote : | java.net.ConnectException: Connection timed out: connect | -- Connection timed out: connectjava.net.ConnectException: Connection timed out: connect | at java.net.PlainSocketImpl.socketConnect(Native Method) | at java.net.PlainSocketImpl.doConnect(Unknown Source) | at java.net.PlainSocketImpl.connectToAddress(Unknown Source) | at java.net.PlainSocketImpl.connect(Unknown Source) | at java.net.Socket.connect(Unknown Source) | at java.net.Socket.connect(Unknown Source) | at sun.net.NetworkClient.doConnect(Unknown Source) | at sun.net.www.http.HttpClient.openServer(Unknown Source) | at sun.net.www.http.HttpClient.openServer(Unknown Source) | at sun.net.www.http.HttpClient.parseHTTP(Unknown Source) | at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown | Source) | at org.jboss.invocation.http.interfaces.Util.invoke(Util.java:116) | at | org.jboss.invocation.http.interfaces.HttpInvokerProxy.invoke(HttpInvokerProxy.java:102) | at | org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:96) | at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46) | at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45) | at | org.jboss.proxy.ejb.StatefulSessionInterceptor.invoke(StatefulSessionInterceptor.java:104) | at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85) | at $Proxy2.putFile(Unknown Source) | my classes here | or anonymous wrote : | java.net.SocketTimeoutException: Read timed out -- Read | timed outjava.net.SocketTimeoutException: Read timed out | at java.net.SocketInputStream.socketRead0(Native Method) | at java.net.SocketInputStream.read(SocketInputStream.java:129) | at java.io.BufferedInputStream.fill(BufferedInputStream.java:183) | at java.io.BufferedInputStream.read1(BufferedInputStream.java:222) | at java.io.BufferedInputStream.read(BufferedInputStream.java:277) | at org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:548) | at org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java:486) | at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:652) | at org.apache.jk.common.JkInputStream.receive(JkInputStream.java:289) | | ... | ... | ... | | org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) | at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) | at | org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) | at | org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) | at | org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) | at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) | at | org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:197) | at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:309) | at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:387) | at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:673) | at | org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:615) | at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786) | at | org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677) | at java.lang.Thread.run(Thread.java:534) | I found an attribute connectionTimeout in jboss-service.xml under jbossweb-tomcat41.sar, but application still works for me evn with a timeout of 1. I cannot make tests with users. Any help will be really apreciated, thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893230#3893230 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893230 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Newbie: JBoss 4.0.2: Deployment Problem
Hello, you sould disable the J2EE 4.0 class loading (not remeber exaclty in which file) ciao. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893231#3893231 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893231 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Newbie: JBoss 4.0.2: Deployment Problem
... should be: ...\jboss\server\default\deploy\jbossweb-tomcat55.sar\META-INF\jboss-service.xml true true View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893232#3893232 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893232 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Newbie: JBoss 4.0.2: Deployment Problem
sorry... | attribute name=Java2ClassLoadingCompliancetrue/attribute | attribute name=UseJBossWebLoadertrue/attribute | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893233#3893233 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893233 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Re: Can we avoid
Are you using Eclipse for compiling a class? I have fixed this problem (I don't call it a bug :-) Can you try the latest snapshot available from CVS HEAD? Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893235#3893235 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893235 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: browsing messages in queue
Hi What is this QueueFactory is it from jacorb.jar ? (in that jar there was such a class with no getInstance() method...) Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893237#3893237 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893237 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - webservice client using junit
any one have an ideas for why I'm getting this error, Thanks [junit] null; nested exception is: [junit] java.lang.reflect.UndeclaredThrowableException [junit] java.rmi.RemoteException: null; nested exception is: [junit] java.lang.reflect.UndeclaredThrowableException [junit] at org.jboss.webservice.client.PortProxy.invoke(PortProxy.java:176) [junit] at $Proxy1.getName(Unknown Source) [junit] at com.poc.test.ServiceTest.testPoc(Unknown Source) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [junit] at java.lang.reflect.Method.invoke(Method.java:324) [junit] at junit.framework.TestCase.runTest(TestCase.java:154) [junit] at junit.framework.TestCase.runBare(TestCase.java:127) [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:118) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:208) [junit] at junit.framework.TestSuite.run(TestSuite.java:203) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:289) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:656) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:558) [junit] Caused by: java.lang.reflect.UndeclaredThrowableException [junit] at $Proxy0.getName(Unknown Source) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [junit] at java.lang.reflect.Method.invoke(Method.java:324) [junit] at org.jboss.webservice.client.PortProxy.invoke(PortProxy.java:105) [junit] ... 17 more [junit] Caused by: org.xml.sax.SAXException: Bad envelope tag: html [junit] at org.jboss.axis.message.EnvelopeBuilder.startElement(EnvelopeBuilder.java:109) [junit] at org.jboss.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:118 [junit] at org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:445) [junit] at org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(XMLNamespaceBinder.java:832) [junit] at org.apache.xerces.impl.XMLNamespaceBinder.startElement(XMLNamespaceBinder.java:568) [junit] at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java:808) [junit] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerIm 2) [junit] at org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(XMLDocumentScan va:927) [junit] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumen cannerImpl.java:1519) [junit] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.j [junit] at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:525) [junit] at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:581) [junit] at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147) [junit] at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1157) [junit] at javax.xml.parsers.SAXParser.parse(SAXParser.java:345) [junit] at org.jboss.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:257) [junit] at org.jboss.axis.MessagePart.getAsSOAPEnvelope(MessagePart.java:684) [junit] at org.jboss.axis.Message.getSOAPEnvelope(Message.java:428) [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.001 sec [junit] Testsuite: com.poc.test.ServiceTest [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.001 sec View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893239#3893239 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893239 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list
[JBoss-user] [Clustering/JBoss] - Re: Clustered SSO not following the semantics of local SSO
Any verification of this? Another person within my organization has been able to reproduce the problem. It'll be important for us to know: A) That this is a bug B) What the timeframe for resolution will be Thanks, Jim View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893241#3893241 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893241 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - getPoolStatus, getMaxSize and Pooling
I've been tasked with updating JBOSS 2.4.4 to 4.0.2. In our current Java code for our Java Servlets, we use JBOSS 2.4.4 libraries to view connection pool information, as such: | Object obj = fJNDIContext.lookup(java:/ + fstrPoolName); | fDataSource = (DataSource) obj; | fXADataSource = (org.jboss.pool.jdbc.xa.XAPoolDataSource) obj; | Once the fXADataSource is established, we can get status or max size using, for example: | return fXADataSource.getMaxSize(); | This does not appear to be supported by JBOSS 4.0.2 libraries. I'm assuming that I need to use the current J2EE defined implementations, but have not found any examples in the documentation that refer to how to get this type of pool information in my Java code. I've searched the web and several J2EE books for this information - the web seems to be pointing me to some implementation of JDBCConnectionPoolStats - but I'm at a loss for how to get from DataSource to an object that supports that interface. Anyone who can provide me an example, a link to the proper JBOSS API documentation, J2EE sample code, etc. - would be greatly appreciated. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893242#3893242 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893242 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - JBoss as Service - HSQL Database Manager not working. Works
Hi all, If I run JBoss in a command window on a Windows XP machine I can get the HSQL Database Manager to work through invoking the MBean method. If I install JBoss as a Windows Service using JavaService the HSQL Database Manager never starts. My service command to install jboss is as follows JavaService.exe -install JBoss4 %1\jre\bin\%3\jvm.dll -Djava.class.path=%1\lib\tools.jar;%2\bin\run.jar -start org.jboss.Main -params -c default -stop org.jboss.Main -method systemExit -out %2\bin\stdout.log -err %2\bin\stderr.log -current %2\bin where the first param is my jdk_home and the second is my jboss_home if i check the stdout.log I see everything starts so I am very confused. It didn't and I realized there were different permissions between the service and my account (Which is another thing I dont' understand because I thought that [User Account] should be the user I am currently logged in as but that doesn't ever seem to work for me, I know this is a windows q] Brian View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893244#3893244 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893244 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Treecache Lock Error
I added the comment. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893245#3893245 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893245 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Oracle Proxy Authentication in JBoss
What do I need to do to configure JBoss so that it connects to Oracle with proxy authentication? I have taken over support of our business logic running on JBoss 4.0.2. We currently connect to an Oracle 10g database and JBoss connects to the database as each individual user so each user has to have an Oracle account. I have been asked to investigate changing this to take advantage of Oracle's Proxy Authentication but am not sure where to start and what is involved in order to make JBoss connect to Oracle in that way. The idea is that each user should authenticate to JBoss (I have that) and then JBoss should authenticate itself to the database and all user requests would be submitted to Oracle by the application server on behalf of the user; I have been told that this will eliminate the need for having an Oracle account for every user by putting each user in groups with certain permissions. I have found quite a bit of information on how to set up Oracle to accept proxy connections but little to nothing to suggest how to set up JBoss to perform proxy authentication. There are a few sample connection-url entries in oracle-ds.xml for OCI configurations but I'm not sure if that's what I need to do here or not. I tend to believe that there is more to doing this than simply changing the connection string. Does anybody have any advice? Can JBoss be configured to work with Oracle this way? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893247#3893247 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893247 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Home Interface and Context Thread Safety
I think therefore I can safely cache the context used for lookups. The other issue is overlapping create calls from multiple threads on an EJB home. That it's stateless is promising but you never know if it's scribbling on class values that preclude overlapping calls. Unless it's stipulated it seems risky to re-use home objects. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893248#3893248 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893248 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - deploying jsf apps
I have jboss 4.0.3 RC2 running on XP Prof. SP2 and JDK 5.0 update 4. For deploying a simple jsf appication from Java studio creator (only 1 outputext on one page) I followed instructions on the following sites: -http://www.jboss.org/wiki/Wiki.jsp?page=JBossFaces -http://wiki.jboss.org/wiki/Wiki.jsp?page=JavaStudioCreator I used jstl version 1.1.2 because of Servlet 2.4 of tomcat 5.x bundled in jboss. Althoug the stack trace of jboss looks like it's running in deploying problems. Here is the stack of deployment: anonymous wrote : | 19:55:38,171 INFO [TomcatDeployer] deploy, ctxPath=/test1, warUrl=.../tmp/deploy/tmp45149test1-exp.war/ | 19:55:39,000 WARN [Digester] [ConverterRule]{faces-config/converter} Merge(null,java.math.BigDecimal) | 19:55:39,000 WARN [Digester] [ConverterRule]{faces-config/converter} Merge(null,java.math.BigInteger) | 19:55:40,093 INFO [ConfigureListener] Application object verification completed successfully | 19:55:40,390 INFO [FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml | 19:55:40,562 INFO [FacesConfigurator] Reading config jar:file:/C:/DOKUME~1/Johannes/LOKALE~1/Temp/myfaces45150.jar!/META-INF/faces-config.xml | 19:55:40,734 INFO [FacesConfigurator] Reading config /WEB-INF/navigation.xml | 19:55:40,765 INFO [FacesConfigurator] Reading config /WEB-INF/managed-beans.xml | 19:55:40,921 ERROR [StartupServletContextListener] Error initializing ServletContext | java.lang.IllegalArgumentException: Class com.sun.jsfcl.data.ResultSetPropertyResolver is no javax.faces.el.PropertyResolver | at org.apache.myfaces.config.FacesConfigurator.getApplicationObject(FacesConfigurator.java:491) | at org.apache.myfaces.config.FacesConfigurator.configureApplication(FacesConfigurator.java:415) | at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:146) | 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:279) | 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:287) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:236) | 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) |
[JBoss-user] [Clustering/JBoss] - Re: Clustered SSO not following the semantics of local SSO
Jim, Sorry for the slow response. If this is important for your organization and you need someone from JBoss to help get answers on this quickly, you should contact our support group. Please understand the forums are a form of free support and don't necessarily get the attention we would like to give them due to time constraints with dealing with support calls in addition to performing our actual development duties. :-) That being said, there is a fundamental difference between SSO on a single node and over a cluster. On a single node, if the requireReauthentication attribute has been set to false (the default), once a user has been authenticated their Principal object is cached and for future requests is directly bound to the request object without making an authentication call to the JBossSecurityManagerRealm. However, the Principal is not replicated over the network, (because, among other reasons, Principal does not implement Serializable). So, the first time a user switches to another node, the Principal object is not cached and the ClusteredSSO valve has to authenticate the user using the login credentials (username, password) that have been cached. This should happen transparently to the user, as the required credentials are replicated. In your described use case, only the main war has authentication enabled; if the first request to a new node is for one of the other wars, the ClusteredSSO valve will not be able to authenticate the user, and the request will fall through to your loginredirect.jsp. I haven't had a chance yet to play with your wars, but I'm quite certain the problem you're seeing is related to the above. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893254#3893254 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893254 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: RemoteAddrValve Problems
Thanks Andy, but your recommendation runs contrary to the Tomcat documentation. Please see the following page: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html I've also tried dropping 'context.xml' into different directories including the one you recommend but it still doesn't seem to work. So I question myself: 1) is the content of my 'context.xml' file correct (eg, all that's in there is a single description, nothing else) 2) Does this feature even work? 3) In the case of an JBoss embedded Tomcat, where is CATALINA_HOME and is this variable even needed? The documentation is somewhat vague about the way the valve is configured, and the JBoss documentation specifically says as much. //Kurt View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893257#3893257 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893257 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Default JBoss Security problem
I installed JBoss 4 it appears to be working, but I can't get to any pages because it prompts for a user-password. How do I shut this off? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893258#3893258 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893258 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: RemoteAddrValve Problems
I'm not suggesting you place context elements in server.xml. Follow the example at http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html to add the valve at the host level. This way, you don't need to mess with context.xml at all. In server.xml, you would have something like this: | Server | ... | Engine ... | ... | Host ... | ... | Valve className=org.apache.catalina.valves.RemoteHostValve | allow=*.mycompany.com,www.yourcompany.com/ | Valve className=org.apache.catalina.valves.RemoteAddrValve | deny=192.168.1.*/ | ... | /Host | /Engine | /Server | These valves are defined in the Host section, not within Context. The docs claim this is allowed. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893259#3893259 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893259 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Default JBoss Security problem
Which version of JBoss have you installed (There are loads of releases that start with 4!)? How did you install it? Did you unzip an archive or did you use the installer? Have you installed any other application servers recently? The majority of times I have seen users with this problem they have installed another application server that is also listening on port 8080 and it is that application server prompting for a password and not JBoss. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893263#3893263 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893263 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: RemoteAddrValve Problems
So maybe we're not discussing the valve at the same level. I need to leave some app open to the world and secure others. The docs describe doing this using a context. I have tried everything the docs have suggested and I come to the conclusion that: 1) the docs are wrong or intentionally ambiguous, or 2) request valves do not work for the scope of a oontext. Please note that for tomcat 5.x, unlike tomcat 4.x, it is NOT recommended to place elements directly in the server.xml file. Instead, put them in the META-INF/context.xml directory of your WAR file or the conf directory as described above. ... and while describing a request vavle ... Context path=/examples ... ... ... //Kurt View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893267#3893267 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893267 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Re: Can we avoid
Thanks, it works now! I am indeed using Eclipse to compile classes. g View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893269#3893269 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893269 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - deploy-hasingleton and loader-repository's
Hi, Reposted from Clustering/JBoss - http://www.jboss.com/index.html?module=bbop=viewtopict=66344 (sorry, but after 570 views and 8 weeks, without a reply I thought I would risk it :-)) I have a MBean (in a .sar) that uses a custom loader repository (loader-repository in jboss-service.xml). This works fine in the 'deploy' directory, but fails in the deploy-hasingleton directory with the Only the root deployment can set the loader repository error message. Is this by design or should it work? It's very easy to recreate, and a Jira report would be easy if it is not by design. Cheers Phil View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893270#3893270 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893270 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Is there a way to timeout active connections (instead of
Did you mean to timeout on a statement execution (within a connection)? If so, you can use Statement.setQueryTimeOut(int seconds). I don't think there is any configurable way to set it on a statement via the -ds.xml or any other way. Thanks, Kalyan. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893271#3893271 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893271 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Single Client. Multiple Initial contexts not working.
Loading up my client in the Eclipse debugger I can see that its the InvocationContext that is getting confused. So my lookups are indeed being performed correctly but at some point that I haven't pinned down just yet the InvocationContect is getting changed internally. Attached is a screenshot of my debugger window with just the first three octaves of my ip censored for security reasons. The important things (to me) are the String intendedServerIP ... this is a variable I created to tell me what the object believes is the IP Address the remote ref it has is using. Notice that further down in the tree under Endpoint ep = TCPEndpoint that it believes the String host is the other ip! I can continue to dig but it seems like even with DiscoveryDisabled set to true in cluster-service.xml and jnp.disableDiscovery set to true in my client side JNDI lookup and using port 1099 part of the code are still trying to act like each server I jndi to is part of the same cluster family. Now that this is jacked into the debugger I can also attempt to provide more information if desired but I don't know what's most helpful to you guys. Something also important to note is that the first few calls on this ejb do in fact work and call the correct server. So it seems as if the InvocationContext is changing on the fly between calls. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893273#3893273 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893273 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Missing class VariableResolver for ant task JSPC
Using ant task jspc in JBoss version 3.25. Upgraded to JBoss 4.0.2 and tried to run the same task and got an error ClassNotFound for VariableResolver. Does anyone know what's missing? thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893274#3893274 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893274 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: RemoteAddrValve Problems
Now I'm confused. anonymous wrote : I'm having some trouble getting RemoteAddrValve/RemoteHostValve working at the host level. anonymous wrote : Please don't tell me in WEB-INF of each of the protected resources. This is supposed to be a host level deal; If you want to protect different contexts differently, then it sounds like you will need to create a context.xml for each webapp and place it in WEB-INF. Can you post your context.xml files? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893275#3893275 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893275 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Single Client. Multiple Initial contexts not working.
Doh... I can't upload an image so here is a copy paste of the debug tree. PublisherSequence this= PublisherSequence (id=27) | String intendedServerIP= jnp://x.x.155:1099 | PublisherSequenceSecurityProxyRemote pubSeq= $Proxy3 (id=40) | InvocationHandler h= ClientContainer (id=86) | InvocationContext context= InvocationContext (id=90) | Map context= HashMap (id=111) | Set entrySet= HashMap$EntrySet (id=260) | Set keySet= null | float loadFactor= 0.75 | int modCount= 0 | int size= 5 | HashMap$Entry[] table= HashMap$Entry[16] (id=116) | HashMap$Entry [0]= null | HashMap$Entry [1]= HashMap$Entry (id=122) | HashMap$Entry [2]= HashMap$Entry (id=124) | HashMap$Entry [3]= HashMap$Entry (id=125) | int hash= -1368190845 | Object key= InvocationKey (id=138) | HashMap$Entry next= null | Object value= JRMPInvokerProxyHA (id=140) | FamilyClusterInfo familyClusterInfo= FamilyClusterInfoImpl (id=193) | Object arbitraryObject= null | long currentViewId= 1560272158 | int cursor= 0 | String familyName= DefaultPartition/jboss.j2ee:jndiName=PublisherSequenceSecurityProxyBean,service=EJB/R | boolean isViewMembersInSyncWithViewId= true | ArrayList targets= ArrayList (id=201) | Object[] elementData= Object[1] (id=208) | Object [0]= JRMPInvoker_Stub (id=213) | RemoteRef ref= UnicastRef2 (id=220) | LiveRef ref= LiveRef (id=230) | Channel ch= TCPChannel (id=233) | Endpoint ep= TCPEndpoint (id=236) | RMIClientSocketFactory csf= null | String host= x.x.x.87 | int port= 1872 | RMIServerSocketFactory ssf= null | TCPTransport transport= null | ObjID id= ObjID (id=239) | boolean isLocal= false | int modCount= 0 | int size= 1 | LoadBalancePolicy loadBalancePolicy= RoundRobin (id=196) | String proxyFamilyName= DefaultPartition/jboss.j2ee:jndiName=PublisherSequenceSecurityProxyBean,service=EJB/R | Invoker remoteInvoker= null | boolean trace= false | HashMap$Entry [4]= null |
[JBoss-user] [Messaging, JMS JBossMQ] - stop message-delivery
i try to stop message-delivery from a queue. DocImportProcessorEJB: | onMessage(Message m) { |if (...) { | ObjectName objectName = | new ObjectName(jboss.j2ee:binding=message-driven-bean, | jndiName=local/DocImportProcessorEJB, | plugin=invoker,service=EJB); | MBeanServer server = MBeanServerLocator.locateJBoss(); | server.invoke(objectName, stopDelivery, new Object[] {}, null); |} | } error: | [exec] 22:34:36,937 INFO [STDOUT] | javax.management.InstanceNotFoundException: | jboss.j2ee:binding=message-driven-bean, | jndiName=local/DocImportProcessorEJB, | plugin=invoker,service=EJB is not registered. | jmx-console: | Domain Name:jboss.j2ee | service:EJB | plugin: invoker | binding:message-driven-bean | jndiName: local/[EMAIL PROTECTED] | local/[EMAIL PROTECTED] is this the name of the instance? however, its dynamic. it changes with every jboss-restart. what would be the correct objectname to reference the mbean? thank you for reply (and sorry for my english) marc View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893279#3893279 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893279 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: Queue-Security
Hi, I am using Jboss and have configured JAAS authentication. When I try to create a Receiver for the temporary queue I am getting follwoing exception: anonymous wrote : javax.jms.JMSSecurityException: Connection not authorized to subscribe to destination: JMS_TQ8 When I try to create queue and Topic, my user/passwod gets authenticated and successfully creates queue/topic. Under jbossmq-destinations-service.xml I have my queues and topics configured correctly with the security role. I am not using Message Driven Beans. I am having this error for temporaray queue when I tried to createReceiver for the temporary queue. Any idea what might be happening? Without implementing MDB can I use JAAS security for the temporary queue ? part of my code: | try | { |Context jndiContext = getInitialContext(); | QueueConnectionFactory ref = | (QueueConnectionFactory)jndiContext.lookup(ConnectionFactory); | | Queue queue = (Queue)jndiContext.lookup(queue/testQueue); | queueConnection = ref.createQueueConnection(); | QueueSession queueSession = queueConnection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE); | // The temporary queue, | TemporaryQueue tq = queueSession.createTemporaryQueue(); | queueSender = queueSession.createSender(queue); | QueueReceiver qr = queueSession.createReceiver(tq); | } | catch (Exception e) { | System.out.println(e.getMessage()); | e.printStackTrace(); | } | | I am using Jboss 4.0.2. Thanks for your help in advance, Ushir View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893283#3893283 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893283 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Clustered SSO not following the semantics of local SSO
Thanks for the response Brian. I know you're under time pressures. What you say makes sense. What it feels like JBoss is doing in SSO is that upon authentication with one app the principal gets propagated to the other webapp's context and the credentials are cached. Or there is some security context pointer back to the original login app (for single log-out). On fail over the cached credentials are used, but that initial push propagation doesn't happen. At least that's what it feels like as a user. Cached credentials would explain why main functions correctly. I get the feeling that the SSO credentials aren't passed to the other webapps in SSO and that something else happens behind the scenes that allows the other apps to authenticate their principal. Not caching the credentials in all the apps and not pushing out the SSO principal again on failover would explain what I'm seeing. I respect that this is free support. Pretty good free support at that. My organization is currently investigating the viability of JBoss. Once we're confident that JBoss will fit the bill we'll have no problem paying JBoss for support. Until then I know it's a bit of a catch-22. I'm willing to dedicate as much time as I need to to get you what you need. Let me know if there is anything. -Jim View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893285#3893285 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893285 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: RemoteAddrValve Problems
Ouch. My bad. In my original post I should have written context and not host. Sorry for the confusion. The context file I've been using to test/prove is very simple. It contents is (IPs and names changed to protect the innocent): context path=/bob/admin | valve classname=org.apache.catalina.valves.RemoteAddrValve deny=130.107.xxx.xxx/ | valve classname=org.apache.catalina.valves.RemoteHostValve deny=bluefish.bob.com/ | /context View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893287#3893287 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893287 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Clustered SSO not following the semantics of local SSO
I should be able to run through your test wars in the next day to get an exact idea of what's going on. I definitely appreciate your good inputs on this. Getting a test case so quickly is not the norm with most forum questions :-) . View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893288#3893288 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893288 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Compile Warnings
When I compile using the latest JBoss I link against ${jboss.home}/lib and ${jboss.home}/server/all/lib and I get the warnings below. These jar files certainly do not exist in the directories, and I think they are being generated from the classpath's defined in some of the manifest files. I'm I just using jboss wrong or are these warnings expected? [javac] warning: [path] bad path element C:\foo\tools\jboss-4.0.3RC2\lib\log4j.jar: no such file or directory [javac] warning: [path] bad path element C:\foo\tools\jboss-4.0.3RC2\lib\log4j-core.jar: no such file or directory [javac] warning: [path] bad path element C:\foo\tools\jboss-4.0.3RC2\server\all\lib\log4j-core.jar: no such file or directory [javac] warning: [path] bad path element C:\foo\tools\jboss-4.0.3RC2\server\all\lib\logkit-1.2.jar: no such file or directory [javac] warning: [path] bad path element C:\foo\tools\jboss-4.0.3RC2\server\all\lib\avalon-framework-4.1.5.jar: no such file or directory [javac] warning: [path] bad path element C:\foo\tools\jboss-4.0.3RC2\server\all\lib\concurrent-1.3.2.jar: no such file or directory [javac] warning: [path] bad path element C:\foo\tools\jboss-4.0.3RC2\server\all\lib\antlr-2.7.2.jar: no such file or directory [javac] warning: [path] bad path element C:\foo\tools\jboss-4.0.3RC2\server\all\deploy\ejb3.deployer\log4j.jar: no such file or directory [javac] warning: [path] bad path element C:\foo\tools\jboss-4.0.3RC2\server\all\deploy\ejb3.deployer\log4j-core.jar: no such file or directory [javac] warning: [path] bad path element C:\foo\lib\jaxws-2.0_20050825\lib\jsr173_1.0_api.jar: no such file or directory [javac] 10 warnings View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893291#3893291 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893291 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Temporary queue JAAS Security
Hi, I am using Jboss and have configured JAAS authentication. When I try to create a Receiver for the temporary queue I am getting follwoing exception: anonymous wrote : javax.jms.JMSSecurityException: Connection not authorized to subscribe to destination: JMS_TQ8 When I try to create queue and Topic, my user/passwod gets authenticated and successfully creates queue/topic. Under jbossmq-destinations-service.xml I have my queues and topics configured correctly with the security role. I am not using Message Driven Beans. I am having this error for temporaray queue when I tried to createReceiver for the temporary queue. Any idea what might be happening? Without implementing MDB can I use JAAS security for the temporary queue ? part of my code: | try | { |Context jndiContext = getInitialContext(); | QueueConnectionFactory ref = | (QueueConnectionFactory)jndiContext.lookup(ConnectionFactory); | | Queue queue = (Queue)jndiContext.lookup(queue/testQueue); | queueConnection = ref.createQueueConnection(); | QueueSession queueSession = queueConnection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE); | // The temporary queue, | TemporaryQueue tq = queueSession.createTemporaryQueue(); | queueSender = queueSession.createSender(queue); | QueueReceiver qr = queueSession.createReceiver(tq); | } | catch (Exception e) { | System.out.println(e.getMessage()); | e.printStackTrace(); | } | | I am using Jboss 4.0.2. Thanks for your help in advance, Ushir View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893292#3893292 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893292 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSB
Hi - the next version of my app is about to go into production, but this issue is still unresolved, and it runs jobs that can take up to a couple of hours to run - being able to balance the load of these jobs across my app servers will be a major help. can anyone shed any light as to why the stateless session beans aren't load balancing? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893296#3893296 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893296 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - strting jboss issue
when I start my jboss server I got an error message, I believe this is the cause that when I test my applicatio they can't find the DefaultDS here is the error: | ObjectName: jboss.jca:name=DefaultDS,service=DataSourceBinding | state: CONFIGURED | I Depend On: jboss.jca:name=DefaultDS,service=LocalTxCM | jboss:service=invoker,type=jrmp | | Depends On Me: jboss.ejb:persistencePolicy=database,service=EJBTimerService | jboss:service=KeyGeneratorFactory,type=HiLo | jboss.mq:service=StateManager | jboss.mq:service=PersistenceManager | | | MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM: | ObjectName: jboss:database=localDB,service=Hypersonic | state: NOTYETINSTALLED | I Depend On: | Depends On Me: jboss.jca:name=DefaultDS,service=ManagedConnectionFactory | | | 18:35:52,310 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080 | 18:35:52,532 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009 | 18:35:52,538 INFO [JkMain] Jk running ID=0 time=1/30 config=null | 18:35:52,579 INFO [Server] JBoss (MX MicroKernel) [4.0.1sp1 (build: CVSTag=JBoss_4_0_1_SP1 date=200502160314)] Started in 40s:748ms | and my hsqldb-ds.xml file is: | ?xml version=1.0 encoding=UTF-8? | | !-- The Hypersonic embedded database JCA connection factory config | $Id: hsqldb-ds.xml,v 1.15 2004/09/15 14:37:40 loubyansky Exp $ -- | | | datasources |local-tx-datasource | | !-- The jndi name of the DataSource, it is prefixed with java:/ -- | !-- Datasources are not available outside the virtual machine -- | jndi-nameDefaultDS/jndi-name | | !-- for tcp connection, allowing other processes to use the hsqldb | database. This requires the org.jboss.jdbc.HypersonicDatabase mbean.-- | connection-urljdbc:hsqldb:hsql://localhost:1701/connection-url | | !-- for totally in-memory db, not saved when jboss stops. | The org.jboss.jdbc.HypersonicDatabase mbean necessary | connection-urljdbc:hsqldb:./connection-url | -- | !-- for in-process persistent db, saved when jboss stops. The | org.jboss.jdbc.HypersonicDatabase mbean is necessary for properly db shutdown | -- | !-- COMMENTED BY MONTI | connection-urljdbc:hsqldb:${jboss.server.data.dir}${/}hypersonic${/}localDB/connection-url | -- | !-- The driver class -- | driver-classorg.hsqldb.jdbcDriver/driver-class | | !-- The login and password -- | user-namesa/user-name | password/password | | !--example of how to specify class that determines if exception means connection should be destroyed-- | !--exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.DummyExceptionSorter/exception-sorter-class-name-- | | !-- this will be run before a managed connection is removed from the pool for use by a client-- | !--check-valid-connection-sqlselect * from something/check-valid-connection-sql -- | | !-- The minimum connections in a pool/sub-pool. Pools are lazily constructed on first use -- | min-pool-size5/min-pool-size | | !-- The maximum connections in a pool/sub-pool -- | max-pool-size20/max-pool-size | | !-- The time before an unused connection is destroyed -- | !-- NOTE: This is the check period. It will be destroyed somewhere between 1x and 2x this timeout after last use -- | !-- TEMPORARY FIX! - Disable idle connection removal, HSQLDB has a problem with not reaping threads on closed connections -- | idle-timeout-minutes0/idle-timeout-minutes | | !-- sql to call when connection is created | new-connection-sqlsome arbitrary sql/new-connection-sql | -- | | !-- sql to call on an existing pooled connection when it is obtained from pool | check-valid-connection-sqlsome arbitrary sql/check-valid-connection-sql | -- | | !-- example of how to specify a class that determines a connection is valid before it is handed out from the pool | valid-connection-checker-class-nameorg.jboss.resource.adapter.jdbc.vendor.DummyValidConnectionChecker/valid-connection-checker-class-name | -- | | !-- Whether to check all statements are closed when the connection is returned to the pool, |this is a debugging feature that should be turned off in production -- | track-statements/ | | !-- Use the getConnection(user, pw) for logins | application-managed-security/ | -- | | !-- Use the security domain defined in conf/login-config.xml -- | security-domainHsqlDbRealm/security-domain | | !-- Use the security domain defined in conf/login-config.xml or the |getConnection(user, pw) for logins. The security domain takes precedence. |
[JBoss-user] [Security JAAS/JBoss] - Re: JAAS Issues rolesQuery with a hashed username from Datab
Enabling trace helped me find the problem. Here is the return of the getUserRoles during the problem: Principal: Roles(members:safetyAppUser,HttpInvoker ) Notice the white space after the role name. The database column that I was pulling these from was a char(30) column, so I changed it to a varchar(30) and the query returned the following: Principal: Roles(members:safetyAppUser,HttpInvoker) Thanks for all of the help. Mike View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893298#3893298 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893298 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSB
i've also just added in configuration-nameClustered Stateless SessionBean/configuration-name for my EJB DDs, but still no joy :-/ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893301#3893301 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893301 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Default JBoss Security problem
Hi, I am using 4.0. I just unzipped it. Where is the installer? I could not find any way to configure the server. The only other thing I have installed is Oracle 10g Database, listening on 1521. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893302#3893302 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893302 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [News Announcements] - JBoss Microcontainer standalone release 1.0.0
The JBoss Microcontainer has been released under its own distribution: It is currently used in the following ways: * Standalone EJB3 * The POJO/bean deployer to be included in JBoss-4.0.3 * Soon to be the core of JBoss5 Release Notes: http://sourceforge.net/project/shownotes.php?release_id=286951 Downloads: http://sourceforge.net/project/showfiles.php?group_id=22866package_id=137237release_id=286951 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893305#3893305 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893305 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Re: JBoss.Net ClassNotFoundException in JBoss 4.0.2
Hi! Have you solved your problem? I am having exactly the same error. I am exposing a SLSB as a web service with jboss.net on JBoss 4.0.2 (patched). I am trying to expose a VO on my web service, and I am getting the error below at deploy time: 2005-09-07 02:18:25,554 ERROR [org.jboss.axis.deployment.wsdd.WSDDDeployment] Unable to deploy typemapping: java.lang.ClassNotFoundException: No ClassLoaders found for: org.apache.axis.encoding.ser.BeanSerializerFactory at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:198) at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:475) at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:377) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:141) at org.jboss.axis.utils.ClassUtils$2.run(ClassUtils.java:216) at java.security.AccessController.doPrivileged(Native Method) at org.jboss.axis.utils.ClassUtils.loadClass(ClassUtils.java:179) at org.jboss.axis.utils.ClassUtils.forName(ClassUtils.java:120) at org.jboss.axis.deployment.wsdd.WSDDTypeMapping.getSerializer(WSDDTypeMapping.java:256) at org.jboss.axis.deployment.wsdd.WSDDDeployment.deployMapping(WSDDDeployment.java:372) at org.jboss.axis.deployment.wsdd.WSDDDeployment.getTypeMappingRegistry(WSDDDeployment.java:570) at org.jboss.net.axis.Deployment.getTypeMappingRegistry(Deployment.java:350) at org.jboss.net.axis.Deployment.installTypeMappingWithOptions(Deployment.java:365) at org.jboss.net.axis.Deployment.getTypeMappingRegistry(Deployment.java:345) at org.jboss.net.axis.Deployment.deployToRegistry(Deployment.java:326) at org.jboss.net.axis.server.AxisService.startAxisDeployment(AxisService.java:201) at org.jboss.net.axis.server.AxisService.start(AxisService.java:521) at org.jboss.net.axis.server.AxisService.start(AxisService.java:492) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:956) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775) Here is the web-service.xml generated: deployment name=ProvisioningService xmlns=http://xml.apache.org/axis/wsdd/; targetNamespace=http://127.0.0.1:8080/ProvisioningService; xmlns:ProvisioningServicePrefix=http://127.0.0.1:8080/ProvisioningService; xmlns:java=http://xml.apache.org/axis/wsdd/providers/java; # If I don't try to export the User VO, everything works fine, ie, I can call a dummy method on my web service. Any help would really be appreciated. Thanks in advance, Victor Batista View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893308#3893308 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893308 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Re: annotation bug?
Thank you for a bug report. I have fixed this bug. Please download the latest snapshot from CVS. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893312#3893312 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893312 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Web Service Client
I get the following error when running the sample web services client: run-ws: [java] log4j:WARN No appenders could be found for logger (org.jboss.webservice.EngineConfigurationFinder). [java] log4j:WARN Please initialize the log4j system properly. [java] Exception in thread main javax.xml.rpc.ServiceException: Error processing WSDL document: [java] java.net.ConnectException: Connection refused [java] at org.jboss.axis.client.Service.initService(Service.java:289) [java] at org.jboss.axis.client.Service.(Service.java:191) [java] at org.jboss.webservice.client.ServiceImpl.(ServiceImpl.java:110) [java] at org.jboss.webservice.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:111) [java] at com.jboss.ebank.WSClient.main(WSClient.java:25) [java] Java Result: 1 BUILD SUCCESSFUL Total time: 2 seconds View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893313#3893313 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893313 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - 3.1 RC2.
I have released 3.1 RC2 including bug fixes reported these days. It was released mainly for an administrative reason but I hope it is also convenient for you all. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893315#3893315 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893315 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: NPE on deploying .har in JBoss 3.2.6
Got my deployment problem resolved after looking at below link: http://www.jboss.org/wiki/Wiki.jsp?page=JBossHibernate-old As I am using jboss 3.2.6, Ihad to downlod jboss-hernate-deployer-service and jboss-hibernate.jar from above link. I also moved hbm files out of metainf directory. removed copies of all relevant .hars/.ears/.jars . Ensured datasource is deployed and HAR got deployed. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893322#3893322 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893322 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: NPE on deploying .har in JBoss 3.2.6
Got my deployment problem resolved after looking at below link: http://www.jboss.org/wiki/Wiki.jsp?page=JBossHibernate-old As I am using jboss 3.2.6, Ihad to downlod jboss-hernate-deployer-service and jboss-hibernate.jar from above link. I also moved hbm files out of metainf directory. removed copies of all relevant .hars/.ears/.jars . Ensured datasource is deployed and HAR got deployed. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893323#3893323 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893323 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: NPE on deploying .har in JBoss 3.2.6
Got my deployment problem resolved after looking at below link: http://www.jboss.org/wiki/Wiki.jsp?page=JBossHibernate-old As I am using jboss 3.2.6, Ihad to downlod jboss-hernate-deployer-service and jboss-hibernate.jar from above link. I also moved hbm files out of metainf directory. removed copies of all relevant .hars/.ears/.jars . Ensured datasource is deployed and HAR got deployed. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893324#3893324 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893324 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: What does no classloaders found mean ?
gulaplaarajasekhar wrote : The container is not able to load com.meerkat.jfr.par.Address class and so the ClassNotFound Exception | It might be due to various reasons. Few which I know are | | 1. If we user more than 1 container, then there should be mapping in one container saying the path of the other container. | | 2. If using only one container, then the path is not set correctly.. | | | Rajasekhar Hi Rajasekhar, can you give me more info ? Thanks Andrew View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893325#3893325 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893325 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Yet another Class Loader problem - Please Help
Hi All, For the first time, i wrote the MBean service. I'm using Commons Digester and run into class loader problem. My problem disappears if i remove $JBOSS_HOME/server/default/deploy/jbossweb-tomcat50.sar/commons-diggest.jar. But as soon as i remove, the tomcat throws the following exception. Please note that i get these problems only when i set java2ParentDelegation to true. I spent several hours reading various online posts, wiki pages and JBoss documentation. Actually, what i need was to have each of our service to have it's own version of certain libraries. And that's why i've defined our own class loader repository. In many of the posts, i saw other people having the same issue and they resolved it by removing the library in question from default/lib. But in my case, if i remove commons-diggest.jar from the jbossweb-tomcat50.sar folder, that service doesn't start any more. Could someone please throw some light on what is that i'm missing? Thanks for any insight into the problem! 21:59:40,995 ERROR [BaseModelMBean] Error creating class java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester | 21:59:40,998 ERROR [Tomcat5] Starting failed jboss.web:service=WebServer | javax.management.NotCompliantMBeanException: Null MBeanInfo for jboss.web:type=server | at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:208) | at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:82) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) | at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1018) | at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:304) | at org.jboss.web.tomcat.tc5.Tomcat5.startService(Tomcat5.java:317) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221) | at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:82) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:884) | at $Proxy18.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:414) | at org.jboss.system.ServiceController.start(ServiceController.java:436) | at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:82) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) | at $Proxy4.start(Unknown Source) | at org.jboss.deployment.SARDeployer.start(SARDeployer.java:251) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:829) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604) | at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source) | at