[JBoss-user] [Installation, Configuration Deployment] - sar deployment
I am new to the concept of sar files. I would like to know if i can pack sar files along with jar files in ear file and deploy. If it is possible Pl. let me know how to do it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894382#3894382 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894382 --- 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: clustered jaas login
i´m using the all configuration and deploy my application in the farm directory. i´m using sticky sessions, but despite that, the apache redirects the requests to both jboss instances the test that i did was manually by pressing the reload button of the browser, but the redirect after the j_security_check is done immediately is there a possibility to set the cached user principal manually or to set a lock for the second server, so it has to wait until the principal is replicated? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894383#3894383 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894383 --- 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: sar deployment
You can have your ear structure as follows: MyApp.ear | MyApp.sar (contains jboss-service.xml) | MyApp.war | MyApp.jar View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894384#3894384 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894384 --- 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] - ClassNotFoundException when deploying embedded RAR with ear
I have a RAR that is embedded in an EAR. My EAR deployer is set to use isolated class loader repository (non sharing). Upon deployment of the EAR, the RAR gets picked up but RARDeployment could not find the dependent classes (which reside solely in the EAR). It appears that I need to pull out those classes and put it in the share lib directory for RARDeployment to be able to find them. Is it possible to specify a EAR class repository for the RARDeployer ? Logically, if the RAR is inside an EAR I shouldn't need to pull apart the EAR just so that I can have isolated class loading scheme. Help/comments would be appreciated. | 14:01:40,948 ERROR [RARDeployment] Could not find ManagedConnectionFactory class: com.savi.common.reports.connector.server.ReportManagedConnectionFactory | java.lang.ClassNotFoundException: No ClassLoaders found for: com.savi.common.reports.connector.server.ReportManagedConnectionFactory | 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 org.jboss.resource.connectionmanager.RARDeployment.startService(RARDeployment.java:548) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222) | at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:418) | at org.jboss.system.ServiceController.start(ServiceController.java:440) | at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) | at $Proxy32.start(Unknown Source) | at org.jboss.deployment.SimpleSubDeployerSupport.startService(SimpleSubDeployerSupport.java:378) | at org.jboss.deployment.SimpleSubDeployerSupport.start(SimpleSubDeployerSupport.java:141) | 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) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738) | at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) | at $Proxy32.start(Unknown Source) | at org.jboss.deployment.SimpleSubDeployerSupport.startService(SimpleSubDeployerSupport.java:378) | at org.jboss.deployment.SimpleSubDeployerSupport.start(SimpleSubDeployerSupport.java:141) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964) |
[JBoss-user] [Javassist user questions] - Constructor - Method
Is it possible to change constructor in method? I tried to change method name but unfortunately there was super() statement which left in method and that's why my class isn't compiling. Is it any other way of changing constructor into method? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894388#3894388 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894388 --- 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: Using IBM JDK1.4.2 with JBoss App Server
loveena_k wrote : | it fails to start. | Can you explain what this means, how do you know it failed to start? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894391#3894391 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894391 --- 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: sar deployment
In the ear you will also need to add a jboss-app.xml file to the META-INF folder of the ear with the following content: - ?xml version=1.0 encoding=UTF-8? | | jboss-app | | module | serviceMyApp.sar/service | /module | | /jboss-app View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894392#3894392 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894392 --- 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: exception conversion to javax.servlet.ServletException
Hi, tremalnaik! I am experiencing the same behavior as you. Have you found any solution to this problem? /Henrik View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894398#3894398 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894398 --- 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: javax.naming.NoInitialContextException
Thank you I just find my problem online in setSessionContext missed. I delete it and add jndi.properties to class path of my project View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894399#3894399 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894399 --- 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: NoInitialContextException could not create deployment:
Where can I find jboosall-client.jar and where should I put it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894401#3894401 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894401 --- 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: Using external classes inside a EJB
Thanks for your answer, but it seems that it didn't solve the problem. I moved one of the shared classes (due to a ClassNotFoundException) from the war file to the jar. Now the war can't find the moved class. If instead of moving I try to copy the file, the problem seems to be solved, but another one arises, the jar ask for another class, but instead of throwing a ClassNotFoundException it throws a NoClassDefFoundError. In this case, the trick of moving/copying classes doesn't work. Any suggest? By the way, can anybody tell me what's the difference between a ClassNotFoundException and a NoClassDefFoundError? Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894402#3894402 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894402 --- 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: javax.naming.NoInitialContextException
rrawasi wrote : Thank you I just find my problem online in setSessionContext missed. | I delete it and add jndi.properties to class path of my project I mean one line not online View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894403#3894403 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894403 --- 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] - Making JBoss Work. Tom Marrs and Scott Davis. (O'Reilly 2005
Does anyone have any idea as to the content of this upcoming book? Is it designed for the beginner - a bit like The Developers Notebook from O'Reilly - How does it's content compare to that one (a good one in my opinion). Any chance of getting in an early review :-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894405#3894405 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894405 --- 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: MDB's, DataSource in a cluster
Hi all! found the following about my DataSource issue: * Jboss just bind the datasourc in local jndi namespace, so you cannot retrieve it out of jboss jvm. If you want that, you should bind the datasource to the global namespace : In XX-ds.xml, under jndi-name, add this: use-java-contextfalse/use-java-context test again ! :) btw, you must use jboss4.0 * Does this also fix my cluster issue, when i try the explicit access to a DataSource in a module running in the JBOSS VM? btw, you must use jboss4.0 So no workaround for 3.2.6 ? Thanx! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894408#3894408 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894408 --- 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 at Work : A Practical Guide (Paperback) Tom Marrs, Sco
Does anyone have any idea as to the content of this upcoming book? Is it designed for the beginner - a bit like The Developers Notebook from O'Reilly - How does it's content compare to that one (a good one in my opinion). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894409#3894409 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894409 --- 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: How to start up multiple hsql database?
When HSQL is starting.. server.properties is loaded. So I wrote a property within server.properties. | server.database.0=localdb | server.dbname.0=localdb | | server.database.1=file:/C:\\z_dev\\jboss-4.0.2\\server\\default\\data\\hypersonic\\ibatis | server.dbname.1=ibatis | Are there any other idea? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894410#3894410 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894410 --- 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: JSP/Servlet .war/.ear example needed.
managed to figure this out. Included below is a simple example that you can try out yourself: - Simple example to create a JSP page calling a Servlet and deploy the .war (or .ear) in JBoss -- 1) create the foll directory structure: /example2/WEB-INF/classes 2) store the files as follows JSP File:/example2/index.jsp Servlet File:/example2/WEB-INF/classes/HelloWorld.class (compile the servet HelloWorld.java and store the class file) web.xml: /example2/WEB-INF/web.xml application.xml:/META-INF/application.xml 3) In JSP file, reference the Servlet as: a href=/example2/Servlet/HelloWorld/ 4) web.xml file ?xml version=1.0 encoding=ISO-8859-1? | !DOCTYPE web-app | PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN | http://java.sun.com/dtd/web-app_2_3.dtd; | | web-app | servlet |servlet-nameHelloWorld/servlet-name | servlet-classHelloWorld/servlet-class | /servlet | servlet-mapping | servlet-nameHelloWorld/servlet-name | url-pattern/servlet/HelloWorld/url-pattern | /servlet-mapping | /web-app 5) application.xml file ?xml version=1.0 encoding=ISO-8859-1? | | application | display-nameExample 2/display-name | module | web | web-uriexample2.war/web-uri | context-root/example2/context-root | /web | /module | /application 6) Create a .war file with the *contents* of example2 folder: cd c:\example2 jar -cvf example2.war * (Same thing can be done using winzip, but **enter example2 directory** and zip the contents to example2.war) 7) jar /META-INF/ + example2.war = example2.ear 8) Deploy example2.ear in /server/default/deploy directory OR skip #7 and deploy the example2.war directly into the deploy directory 9) http://localhost:8080/example2/index.jsp --- JSP page http://localhost:8080/example2/servlet/HelloWorld -- Servlet Note to access URLs: --- The URL to access the JSP page will be: http://localhost:8080/.war_package_name//page.jsp To access the Servlet, simply append the url-pattern defined for the Servlet like this: http://localhost:8080/.war_package_name//**url-pattern_for_servlet** Deploying the .ear file instead of the .war has no bearing on the URLS. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894411#3894411 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894411 --- 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: JBoss 4.0.2 web deployment module query
Thanks lokesh! that helped. The problem was with .war creation (I zipped example2 folder itself, rather than cd-ing into it and zipping the contents) and in the JSP link referencing the Servlet. btw, I tried zipping the example2 folder itself, the change is required for the JSP link to the Servlet and not the url-pattern in web.xml The url pattern can be anything. It just gets appended to http://localhost:8080/.war_package_name//**here** The JSP link to the servlet must give the full path (/.war_name/url-pattern/). I have posted a working example under the other thread, for others with a similar problem: http://www.jboss.com/index.html?module=bbop=viewtopict=69224 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894412#3894412 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894412 --- 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: Getting the HttpSession of a SOAP service?
Hi, Yes it is feasible by making your endpoint bean implement the ServiceLifecycle interface. However, WS are stateless by nature and doing this have you take the risk of having not working some day without any good explanation. I guess the preferred approach is to implement a SFSB that passes its handle via the stateless webservice to your WS client. On the next inbound call, the client sends the handle back to your WebService which in turn reconnects to the SFSB. Cheers Bruno View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894413#3894413 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894413 --- 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: JBoss 4.0.2 web module deployment query
This has been fixed. Check the foll threads: http://www.jboss.com/index.html?module=bbop=viewtopict=69165 (fix) http://www.jboss.com/index.html?module=bbop=viewtopict=69224 (example) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894414#3894414 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894414 --- 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: Great but...
Look at CallbackTest: testLocalGetCallbackSameFqnWithoutTransaction() does exactly what you describe, and passes. Can you check whether this works for you ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894415#3894415 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894415 --- 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: Using external classes inside a EJB
It works! Your answer was right, what I did was making a JAR with my classes, and put my JAR in the EBJ. All works fine. The main difference between a ClassNotFoundException and a NoClassDefFoundError is that in the first case, the classLoader can't find the class. In the second case, the classLoader can find the class, but can't find any other classes used by the first class. Thank you. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894418#3894418 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894418 --- 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: JBoss TMP Folder
I think that's what you want: 2005-09-13 10:37:26,125 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/ZooWebProj].[jsp]] Servlet.service() for servlet jsp threw exception | java.lang.ClassCastException | at com.sun.corba.se.impl.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:229) | at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137) | at com.zoo.TigerUtil.lookupHome(TigerUtil.java:25) | at com.zoo.TigerUtil.getHome(TigerUtil.java:42) | at org.apache.jsp.zootest_jsp._jspService(org.apache.jsp.zootest_jsp:58) | at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322) | at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Caused by: java.lang.ClassCastException: $Proxy53 | at com.sun.corba.se.impl.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:212) | ... 29 more | My JSP page is very simple: | html | head | titleInsert title here/title | /head | body | % |com.zoo.Tiger tiger = null; |try{ |com.zoo.TigerHome home = com.zoo.TigerUtil.getHome(); |tiger = home.create(); | |}catch(Exception exception) |{ | |} | | | % | b%= tiger.roar() %/b | /body | /html | My EJB just have one method named Rrrr(). I'm following the tutorial: http://www.eclipse.org/webtools/testtutorials/M2/ejbtutorial/buildingejbs.html If you need something else, ask me. Any help is welcome. Thanks a lot, CLaudia View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894419#3894419 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894419 --- 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] - Problems with german 'Umlaute'
Hi all, I have following configuration: j2sdk1.4.2_09 jboss-4.0.2 MySQL-DB 4.1.14 Eclipse 3.0 + Lomboz I only upgraded JBoss from 3.2.2 to 4.0.2 and didn't change anything else. After the upgrade the german umlaute like 'ü' in the name Müller were displayed with funny squares and other symbols. Any ideas? Thx and cu View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894420#3894420 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894420 --- 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] - Problems with german 'Umlaute'
Hi all, I have following configuration: j2sdk1.4.2_09 jboss-4.0.2 MySQL-DB 4.1.14 Eclipse 3.0 + Lomboz I only upgraded JBoss from 3.2.2 to 4.0.2 and didn't change anything else. After the upgrade the german umlaute like 'ü' in the name Müller were displayed with funny squares and other symbols. Any ideas? Thx and cu View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894421#3894421 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894421 --- 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] - Problems with german 'Umlaute'
Hi all, I have following configuration: j2sdk1.4.2_09 jboss-4.0.2 MySQL-DB 4.1.14 Eclipse 3.0 + Lomboz I only upgraded JBoss from 3.2.2 to 4.0.2 and didn't change anything else. After the upgrade the german umlaute like 'ü' in the name Müller were displayed with funny squares and other symbols. Any ideas? Thx and cu View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894422#3894422 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894422 --- 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] [Management, JMX/JBoss] - Duplicate MBean Timer Events
Hi all, I am using JBoss-3.0.6 on Mac OS X (Tiger) with code below invoke for each message received by SLSB Integer eventId = (Integer)this.mBeanServer.invoke( | this.timer.getObjectName(), | addNotification, | new Object[] { | IDoNotKnowWhatTypeIs, | , | null, | new Date(new Date().getTime() + Timer.ONE_MINUTE), | new Long(Timer.ONE_MINUTE), | new Long(2) | }, | new String[]{ | .getClass().getName(), | .getClass().getName(), | java.lang.Object, | Date.class.getName(), | Long.TYPE.getName(), | Long.TYPE.getName() | } | | // Listener | this.mbeanServer.addNotificationListener( | this.timer.getObjectName(), | new NotificationListener { | private void handleNotification(Notification notification, Object callback){ | TimerNotification timerNotification = (TimerNotification)notification; | System.out.println(Event generated using event ID + timerNotification.getTimerID()); | } | } | ) | | | ) For each message a new timer and a new listener are added which produce 2 events each 1 minute apart. It seems the events are not de-registerd since first time through I get Event generated using event ID 1 Event generated using event ID 1 (so far so good) Second message and Event generated using event ID 1 Event generated using event ID 2 Event generated using event ID 1 Event generated using event ID 2 i.e the listener is still receiving events from event id 1 event though the jmx-console only reports event 2 as active. Any ideas? Am I using the listener correctly and any thoughts on the whole approach of creating new events and listeners for each message time .. is this a robust strategy? The reason I am doing this is because I need exactly 1 min delay for each message. Regards Lea. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894425#3894425 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894425 --- 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: NoInitialContextException could not create deployment:
The jar is in the client folder of the JBoss installation. You do not need to put it anywhere you need to add it to the classpath of the client. I have just notices you are using JBoss 4.0.0 RC1, you need to upgrade to a later suitable release. The RC means 'Release Candidate', this was the first release candidate for JBoss 4.0.0 and was not considered suitable so a second release candidate was made before the final production release was made. On top of this there have a number of production release since JBoss 4.0.0 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894429#3894429 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894429 --- 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: NoInitialContextException could not create deployment:
I add that jbossall-client.jar file to my project but I get another error: | javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused: connect]]] | at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1399) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:579) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572) | at javax.naming.InitialContext.lookup(Unknown Source) | at tutorial.client.ClientTest.go(ClientTest.java:30) | at tutorial.client.ClientTest.main(ClientTest.java:39) | Caused by: javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused: connect]] | at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:254) | at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1370) | ... 5 more | Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused: connect] | at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:228) | ... 6 more | Caused by: java.net.ConnectException: Connection refused: 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 java.net.Socket.init(Unknown Source) | at java.net.Socket.init(Unknown Source) | at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:69) | at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:62) | at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:224) | ... 6 more | I use the latest one: jboss-4.0.3RC2 and Our production App server is Jboss 3.0 I , I wish my EJB2 work there too. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894434#3894434 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894434 --- 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] - Loading class problem
Hello once again I have problem with class loading. Given code: 1 ClassPool pool = ClassPool.getDefault(); | 2 Loader cl = new Loader(pool); Class c = null; | 3 try { | 4 c = Class.forName(pClassName); | 5 } catch (ClassNotFoundException e1) { | 6 e1.printStackTrace(); | 7 } | 8 CtClass cc; | 9 try { | 10log.debug( Getting class: + pClassName); | 11cc = pool.get(c.getName()); throws me NotFoundException at line 11 and i can't understand why such thing happens. Why is class seen at 4th line and at 11 it can't be found? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894438#3894438 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894438 --- 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: do I need to install MQ Client
If you're doing a remote (TCP) connection to WMQ then just the java classes, if you want a native bind to a colocated WMQ manager then the .so/DLL is also needed. Colin, View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894439#3894439 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894439 --- 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: org.apache.commons.lang.SystemUtils.isJavaVersionAtLeast
I have the same problem. Have you found a solution now? Miere View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894441#3894441 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894441 --- 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] - ignoring invalid namespace mapping?
A direct question: what does it means ignoring invalid namespace mapping? The server (Jboss 4.0.1, 4.0.2RC1, 4.0.2...) tells me so when i try to access a web service. The service works fine, everything is right, the answer that it returns is correct, I'm happy, but why do Jboss write that warning to the console? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=389#389 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=389 --- 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: Jboss warning(No appenders could be found for logger) du
Hello JaiKiran The following is the contents of jboss-service.xml file. Thanks ?xml version=1.0 encoding=UTF-8? !-- $Id: jboss-service.xml,v 1.117.2.9 2005/04/01 13:50:43 andd Exp $ -- !-- = -- !-- JBoss Server Configuration -- !-- = -- !-- Load all jars from the JBOSS_DIST/server//lib directory. This can be restricted to specific jars by specifying them in the archives attribute. -- !-- -- !-- JSR-77 Single JBoss Server Management Domain -- !-- -- jboss.system:service=MainDeployer jboss.system:service=ServiceDeployer jboss.j2ee:service=EARDeployer jboss.ejb:service=EJBDeployer jboss.jca:service=RARDeployer jboss.jca:service=ConnectionFactoryDeployer jboss.web:service=WebServer jboss:service=Mail jboss.mq:service=DestinationManager jboss:service=Naming jboss:service=TransactionManager jboss:service=ClientUserTransaction jboss:service=CorbaORB !-- -- !-- XMBean Persistence -- !-- -- mbean code=org.jboss.system.pm.AttributePersistenceService name=jboss:service=AttributePersistenceService xmbean-dd=resource:xmdesc/AttributePersistenceService-xmbean.xml !-- the AttributePersistenceService is persistent, itself -- !-- org.jboss.system.pm.XMLAttributePersistenceManager data-directorydata/xmbean-attrs/data-directory false -- !-- A Thread pool service -- JBoss System Threads System Threads !-- How long a thread will live without any tasks in MS -- 6 !-- The max number of threads in the pool -- 10 !-- The max number of tasks before the queue is full -- 1000 !-- The behavior of the pool when a task is added and the queue is full. abort - a RuntimeException is thrown run - the calling thread executes the task wait - the calling thread blocks until the queue has room discard - the task is silently discarded without being run discardOldest - check to see if a task is about to complete and enque the new task if possible, else run the task in the calling thread -- run !-- Preload all custom editors for VMs that don't use the thread context class loader when searching for PropertyEditors. Uncomment if your JDK 1.3.0 VM fails to find JBoss PropertyEditors. java.math.BigDecimal=org.jboss.util.propertyeditor.BigDecimalEditor java.lang.Boolean=org.jboss.util.propertyeditor.BooleanEditor java.lang.Class=org.jboss.util.propertyeditor.ClassEditor java.util.Date=org.jboss.util.propertyeditor.DateEditor java.io.File=org.jboss.util.propertyeditor.FileEditor java.net.InetAddress=org.jboss.util.propertyeditor.InetAddressEditor java.lang.Integer=org.jboss.util.propertyeditor.IntegerEditor javax.management.ObjectName=org.jboss.mx.util.propertyeditor.ObjectNameEditor java.util.Properties=org.jboss.util.propertyeditor.PropertiesEditor [Ljava.lang.String;=org.jboss.util.propertyeditor.StringArrayEditor java.net.URL=org.jboss.util.propertyeditor.URLEditor -- !-- -- !-- Log4j Initialization -- !-- -- mbean code=org.jboss.logging.Log4jService name=jboss.system:type=Log4jService,service=Logging xmbean-dd=resource:xmdesc/Log4jService-xmbean.xml resource:log4j.xml !-- Set the org.apache.log4j.helpers.LogLog.setQuiteMode. As of log4j1.2.8 this needs to be set to avoid a possible deadlock on exception at the appender level. See bug#696819. -- true !-- How frequently in seconds the ConfigurationURL is checked for changes -- 60 !-- -- !-- JBoss RMI Classloader - only install when available -- !-- -- java.rmi.server.RMIClassLoaderSpi org.jboss.system.JBossRMIClassLoader !-- -- !-- Service Binding
[JBoss-user] [JBoss Portal] - portlet:defineObjects/
Hello I have a problem with this tag, when I place it inside my jsp page, it generates an exception. The jsp page looks like this: | %@ taglib uri=http://java.sun.com/portlet; prefix=portlet % | portlet:defineObjects/ | | form method=POST action=%= renderResponse.createActionURL().toString() % | input type=text name=text/ | input type=submit name=submitform/ | /form | The portlet class: | public class HelloWorldPortlet extends GenericPortlet | { | public void processAction(ActionRequest request, ActionResponse response) throws PortletModeException | { | } | | public void render(RenderRequest request, RenderResponse response) throws IOException, PortletException | { | response.setContentType(text/html); | PortletRequestDispatcher rd = getPortletContext().getRequestDispatcher(/WEB-INF/jsp/hello.jsp); | rd.include(request, response); | } | | } This is the stack trace: javax.portlet.PortletException: org.apache.jasper.JasperException at org.jboss.portal.portlet.impl.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:131) at com.ionut.HelloWorldPortlet.render(HelloWorldPortlet.java:36) at org.jboss.portal.portlet.invocation.DispatcherInterceptor.invokeRequest(DispatcherInterceptor.java:163) at org.jboss.portal.portlet.invocation.DispatcherInterceptor.invoke(DispatcherInterceptor.java:195) at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213) at org.jboss.portal.portlet.invocation.PreferencesInterceptor.invoke(PreferencesInterceptor.java:93) at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213) at org.jboss.portal.server.invocation.component.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatcherInterceptor.java:94) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:49) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499) at org.jboss.portal.server.invocation.component.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:58) at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213) at org.jboss.portal.core.invocation.AccessControlInterceptor.invoke(AccessControlInterceptor.java:125) at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213) at org.jboss.portal.server.invocation.component.CacheInterceptor.invoke(CacheInterceptor.java:74) at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213) at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:238) at org.jboss.portal.server.Component.invoke(Component.java:173) at org.jboss.portal.server.invocation.portal.MainDispatcherInterceptor.invoke(MainDispatcherInterceptor.java:93) at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213) at org.jboss.portal.core.invocation.StrategyInterceptor.invoke(StrategyInterceptor.java:184) at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213) at org.jboss.portal.core.invocation.ViewInterceptor.invoke(ViewInterceptor.java:118) at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213) at org.jboss.portal.server.invocation.portal.TargetInterceptor.invoke(TargetInterceptor.java:153) at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213) at org.jboss.portal.core.invocation.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:117) at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213) at
[JBoss-user] [JCA/JBoss] - Datasource MBeans stop to answer for some datasources
Hi, I don't claim the following to be a bug in JCA or JMX. I'm posting this in order to find out if others have seen this behavior before and what they have found out about it. My current client uses an application that connects to several different datasources. After some time - sometimes several times a day - it happens that one of the datasources becomes inaccessible to the application. The database server itself can still be accessed by other tools. At the same time, the 3 JCA MBeans for this datasource (LocalTxCM, ManagedConnectionFactory, ManagedConnectionPool) also become inaccessible. That is, when you click on the MBean in the JMX Console, nothing happens. A remote JMX call also does not return. All other datasources and their MBeans are OK. The environment is JBoss 3.2.6, a custom developed O/R framework and Solid (www.solidtech.com) databases. Thank you for any input, Karsten View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894451#3894451 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894451 --- 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: Getting the HttpSession of a SOAP service?
Hi Bruno, Yes, I've seen that suggested. One problem - these are POJOs, not session beans. ;) Ehh... well, really, I could write my stuff as beans. It's just that I'm not as comfortable yet with the whole EJB architecture. There are still fuzzy spots in my knowledge and understanding. I could, but I don't want to, since I'm not that far yet in my experience. :D Is there any other way, or am I really technically being forced into using beans? Thanks! --Scott View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894452#3894452 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894452 --- 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] - LoginModule question
I can see how I can easily extend the supplied jboss login modules to perform login authentication the way I want to but I just need to clear something up. I want to setup session information against a specific thread local when a subject is authenticated but I am not sure if the LoginModules will give me what I need. Scenario.. 1. User opens browser and browses to url that requires authentication... 2. LoginModule requests login details 3. User then leaves browser open and then browses back to the same site... What happens at this point? Does the LoginModule.login method get called again with browser cached details? The reason I ask is because I want to override login and then check the super.login return boolean and if true then I can set session details using a thread local...but once the user has logged in will this method be called everytime the user browses back to the same url when they have not closed the browser!!! My basic question is where is the best place to associate thread local information from user login? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894453#3894453 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894453 --- 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] - Hibernate + JBoss problem
Hi all! I'm trying to use a prepackaged persistence layer with a Web deployment in a small tutorial. So the main war has a jar with the persistence layer. The LibraryPersistence is has follows (works fine outside of JBoss) librarypersistence.jar: library. (...) all the hibernate files hibernate.cfg.xml The content of hibernate.cfg.xml is: | hibernate-configuration | | session-factory | !-- properties -- | property name=connection.usernameroot/property | property name=connection.urljdbc:mysql://localhost:3306/test/property | property name=dialectorg.hibernate.dialect.MySQLDialect/property | property name=connection.password/property | property name=connection.driver_classcom.mysql.jdbc.Driver/property | | !-- mapping files -- | property name=myeclipse.connection.profileMySQL Test Database/propertymapping resource=library/persistence/layer/Book.hbm.xml /mapping resource=library/persistence/layer/Customer.hbm.xml / | | /session-factory | | /hibernate-configuration | The main web deplyment has the following structure: LibraryWeb.war: WEB-INF lib mysql-connector.jar ehcache.jar librarypersistence.jar ... ... (all the files relative to the web part) At first it kept giving me error that it couldn't find the hibernate.cfg.xml file so I copyed it to the WEB-INFclasses dir wich worked but this solution doesn't work well form me has I'm trying to decople completely the persistence layer. Now it keeps giving me errors tha it cant find the driver (com.mysql.jdbc.Driver) wich is directly in the lib dir and also it can't find a ehcache exception. The full stack trace is: | 14:51:40,109 INFO [Environment] Hibernate 3.1 beta 2 | 14:51:40,119 INFO [Environment] hibernate.properties not found | 14:51:40,119 INFO [Environment] using CGLIB reflection optimizer | 14:51:40,119 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling | 14:51:40,310 INFO [Configuration] configuring from resource: /hibernate.cfg.xml | 14:51:40,310 INFO [Configuration] Configuration resource: /hibernate.cfg.xml | 14:51:48,321 INFO [Configuration] Reading mappings from resource: library/persistence/layer/Book.hbm.xml | 14:51:48,491 INFO [HbmBinder] Mapping class: library.persistence.layer.Book - book | 14:51:48,712 INFO [Configuration] Reading mappings from resource: library/persistence/layer/Customer.hbm.xml | 14:51:48,742 INFO [HbmBinder] Mapping class: library.persistence.layer.Customer - customer | 14:51:48,752 INFO [Configuration] Configured SessionFactory: null | 14:51:48,752 INFO [Configuration] processing extends queue | 14:51:48,752 INFO [Configuration] processing collection mappings | 14:51:48,752 INFO [HbmBinder] Mapping collection: library.persistence.layer.Customer.bookSet - book | 14:51:48,782 INFO [Configuration] processing association property references | 14:51:48,782 INFO [Configuration] processing foreign key constraints | 14:51:48,812 INFO [DriverManagerConnectionProvider] Using Hibernate built-in connection pool (not for production use!) | 14:51:48,812 INFO [DriverManagerConnectionProvider] Hibernate connection pool size: 20 | 14:51:48,812 INFO [DriverManagerConnectionProvider] autocommit mode: false | 14:51:48,862 INFO [DriverManagerConnectionProvider] using driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://localhost:3306/test | 14:51:48,872 INFO [DriverManagerConnectionProvider] connection properties: {user=root, password=} | 14:51:48,872 WARN [SettingsFactory] Could not obtain connection metadata | java.sql.SQLException: No suitable driver | at java.sql.DriverManager.getConnection(DriverManager.java:545) | at java.sql.DriverManager.getConnection(DriverManager.java:140) | at org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:110) | at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:72) | at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1502) | at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1031) | at library.persistence.hibernate.HibernateSessionFactory.currentSession(HibernateSessionFactory.java:58) | at library.businesslogic.LibraryManager.getAllBooks(LibraryManager.java:40) | at library.struts.action.BookListAction.execute(BookListAction.java:31) | at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421) | at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226) | at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164) | at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397) | at
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Hibernate + JBoss problem
Btw I hope you can get a clear idea of the structure because the forum eliminated all the suplus spaces behind the . View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894457#3894457 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894457 --- 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] - MDB message router pattern vs. multiple source queues
All, JBossMQ works extremely well for our purposes. In fact, it hasn't been touched in months and is happily doing it's thing. Our router pattern has an mdb connected to a mapped queue out to DMZ where our servlets interact with it, firewall, NAT, reverse lookup and all, it works like a champion. Now it's time to expand. We are installing a second DMZ at a large ISP. I need to somehow route messages from this dmz as well. I know an MDB queue listener can only consume messages from one queue, per the spec. Is there a way to instance an MDB and create a second instance(via configuration?) that watches a different queue, from the same bytecode? I am looking for a pointer on the cleanest way to do this. I really don't want to make a second mdb, same code, different name, but if that's the way it's done, cool. Any advice would be greatly appreciated 8 ) I don't need a great deal of detail, just a pointer on what I should look for to figure out how to do this the cleanest way possible. The way I see it, I either duplicate the router, or create a new type of mdb which does nothing but pull from the dmz's and drop the messages into the router queue (which would now be local), creating in effect, a simple queue aggregation system to consolidate stuff for the router. Any help or links about this subject would be greatly appreciated. -Neil View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894459#3894459 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894459 --- 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: Can Axis 1.2.1 be use for client based application?
we have successfully used sun's jwsdp 1.5 1.6 client libraries with jboss 4.0.2 doc/literal. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894460#3894460 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894460 --- 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] - SOAPConnection Problem
I curently have a problem using a SOAPConnection inside a STRUTS Action class. I set up the connection in the usual way: SOAPConnectionFactory.getConnectionFactory(); soapConnectionFactory.createConnection(); And use the standard method: connection.call(SOAPMessage,URL) I have a debug statement before and after the connection call in which both lines are printed and no exceptions are thrown or caught during the entire process, but the message is never sent from the Action class. Does any 1 know of any problems using web sevices inside a struts environment like this ? I initially thought it may be a class loader issue, but so far have not been able to track a solution down. Any thoughts would be appreciated. Cheers JonnyEmm View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894461#3894461 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894461 --- 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: Compile Warnings
We are building server components, beans, web services, etc. I thought the client libs were for client applications accessing jboss as opposed to running within (but I might very well be confused... still learning). It works if I use : path id=jboss.compile.classpath | fileset dir=${jboss.dir}/client includes=**/jbossall-client.jar / | !--fileset dir=${jboss.dir}/lib | include name=**/*.jar / | /fileset | fileset dir=${jboss.dir}/server/all/lib | include name=**/*.jar / | /fileset-- | fileset dir=${jboss.dir}/server/all/deploy/ejb3.deployer | include name=*.jar / | /fileset | fileset dir=${jboss.dir}/server/all/deploy/jboss-aop-jdk50.deployer | include name=*.jar / | /fileset | /path Guess the jbossall-client does not contain the ejb3.0 stuff yet. Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894464#3894464 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894464 --- 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 - Test database
Hi, Is there anyway to test the database setup in JBoss using web-console/jmx-console or otherwise ? What I am looking for is a functionality similar to WebLogic wherein I login to the admin console and perform a test connection to verify that the application server can connect to the database. Kevin. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894463#3894463 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894463 --- 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] - SecurityException in 4.0.3RC2 that didn't occur in 4.0.2
Hello. JBAS-2025 was something of a showstopper for us when we came across it, so we're trying out 4.0.3RC2 to confirm that the problem is fixed (we expect we can wait long enough for 4.0.3 to be finalized, so its RC status doesn't pose a problem). Background: We're using JACC so that web and ejb security can play nicely with our custom LoginModule that talks to our custom AuthN/AuthZ system. We have two apps; essentially a web front-end talking to an ejb back-end (separate .ears because real deployments will have the two deployed separately, though for development purposes we're running within the same JBoss/VM). Presently only our web app is secured (using declarations in web.xml and occasional isUserInRole type stuff); none of the ejb descriptors contain any security stuff at all. In 4.0.2 this all appeared to work fine; the web app could make whatever EJB calls it needed, and its various URLs were properly secured. However, when some CMP beans were updated to use CMRs we ran into the aforementioned bug (NPEs when checking the security of CMR methods). So we're trying out 4.0.3RC2 to see if that fares any better. Which leads to the problem: The web app, upon being deployed (using a ServletContextListener, so at a time when there's no user logged in or anything like that), attempts to retrieve some data from the back-end EJB app. This is meant to be unsecured, and in 4.0.2 that's exactly what it was; unsecured. The call worked. However, the same call in 4.0.3RC2 yields a security exception. The caller subject, and hence the principals array, are both null, and the ProtectionDomain is deemed to not imply the permission. What can I do to remedy this? I'm at a bit of a loss to even know where to start, to be honest. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894467#3894467 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894467 --- 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: servlet depends on MBean!
Hi, To register the mBean you need to add the following lines to the default\conf\jBoss-service.xml This makes the jBoss while loading to recognize the mBean Following is a sample how to use it mbean code=your mbean |name=your mBean name which you have given in the mbean java file |/mbean for example mbean code=com.jnu.temp.server.ServerExample |name=temp.server:alias=temp/server/ServerExample |/mbean the name in the above code sample is the ObjectName you specify in your mBean Before that you make sure that your mbean follows the architecture or Jboss throws exception and will not start Hope this helps Thanks Venkat View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894469#3894469 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894469 --- 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: soap client code getting items in the message context fo
You can set/get a property on a SOAPMessage. -Jason View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894477#3894477 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894477 --- 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: soap client code getting items in the message context fo
I can get to the soap message in the ejb. But I do not have a handle on it in the client code. I have the generated items from wscompile service endpoint stub View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894479#3894479 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894479 --- 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] - Location to definer application specific properties
hello All, Where can you define an application specific property in JBoss. Currently I have defined it in jboss/bin/run.sh as an additonal JBoss specific property as follows : #Setup JBoss specific properties JAVA_OPTS=$JAVA_OPTS -Dprogram.name=$PROGNAME JAVA_OPTS=$JAVA_OPTS -Dmyprop=mypropvalue Although this works, I want to define it in a more appropriate location in JBoss. Any help ? Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894478#3894478 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894478 --- 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: SecurityException in 4.0.3RC2 that didn't occur in 4.0.2
Create a new jira issue with an example of the interaction that is failing please. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894480#3894480 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894480 --- 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] - Server did not recognize the value of HTTP Header SOAPAction
I am using the followin API to invoke the webserive on other server, then JBoss create the following message, do i need to configue this in my wsdl and jaxrpc-mapping.xml files althrough I invoke the other server's web servie. ? API: SOAPConnectionFactory soapConnectionFactory = SOAPConnectionFactory.newInstance(); SOAPConnection connection = soapConnectionFactory.createConnection(); SOAPMessage response = connection.call(message, endpoint); ERROR: soap:Fault soap:Client System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: . at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest() at System.Web.Services.Protocols.SoapServerProtocol.Initialize() View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894483#3894483 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894483 --- 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: Using IBM JDK1.4.2 with JBoss App Server
It was giving Could not create the JVM and hence Jboss was not starting. I have solved this by editing run.sh and executing the JVM without the JAVA_OPTS options since the JAVA_OPTS contained the -server option which was not supported. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894484#3894484 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894484 --- 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] - Getting Application Dispatcher Error
I am getting the Application Dispatcher error very often.It is not for some specific module but it frequently appear in the logs. And the problem I am facing is my application suddenly is not accessable by the end user and then I need to bounce my server again and again. One thing which may help you to thing is that the URL which my enduser uses it the redirect url and when this error comes , the original url is accessible for some time and the redirect url does not work. Can somebody please help on this. As this is production server we can not effort to bounce the server everyother day. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894486#3894486 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894486 --- 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: Location to definer application specific properties
You can use the System Properties Service. It's very easy and useful. You'll find the file in your server\deploy directory called: properties-service.xml In the attribute URLList you can specify a list of files/URLs where you can put your application-level properties. If you need to change the application-level properties, you have only to change it in the file/URL specified in the properties-service.xml and touch it, and JBoss will stop and restart the System Properties Service with the new properties. Ciao View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894487#3894487 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894487 --- 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: SecurityException in 4.0.3RC2 that didn't occur in 4.0.2
I'll try. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894488#3894488 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894488 --- 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: SecurityException in 4.0.3RC2 that didn't occur in 4.0.2
Ugh. My bad. Our CVS had stuck angle brackets into the jacc-service.xml which meant that it didn't deploy properly. I hadn't noticed that failure amongst all the other stack traces and stuff. Without a JACC policy provider JACC obviously doesn't work properly. Repairing the file allowed restored functionality. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894494#3894494 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894494 --- 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: SecurityException in 4.0.3RC2 that didn't occur in 4.0.2
Make it quick if you want a 4.0.3 change. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894495#3894495 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894495 --- 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] - launch mode and prepend
Hi 1)i installed jboss+eclipse.Now at windows -prferences -myclipse -jboss-launch mode there is two option run and debug mode.what is the difference between these two? 2)on windows -prferences -myclipse -jboss-path a)path to add ?append to classpath b)prepend to classpath c)append to library what are these three indicating.means append to library means which library? append to classpath means which classpath and what is difference between these append to classpath and prepend to classpath thanxs in advance View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894496#3894496 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894496 --- 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] - when trying to login to dukes app I get org.jboss.security
I built and deployed j2ee-1_4-doc-tutorial_5.zip on jboss-4.0.1sp1 . Everything was fine but when trying to log in to the web app with user 200 password j2ee I see the error in the server.log org.jboss.security.auth.spi.DatabaseServerLoginModule] Bad password for username=200.Any one seen this problem before? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894497#3894497 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894497 --- 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] - PLEASE Help mapping roles in JBoss like WAS 5.1
I am trying to get my security module to map roles like WAS 5.1 does with the ibm_application-bnd.xmi file below. Websphere seems to map role01 to a role called cn=FFv1::01Find Customer::Simple Search,o=blackhawk. But without the mapping WAS does not like, or understand the comma and equals signs. Thus a need for mapping, as ldap sends back cn=FFv1::01Find Customer::Simple Search,o=blackhawk, not role01. ibm_application-bnd.xmi: | ?xml version=1.0 encoding=UTF-8? | com.ibm.ejs.models.base.bindings.applicationbnd:ApplicationBinding xmi:version=2.0 xmlns:xmi=http://www.omg.org/XMI; xmlns:com.ibm.ejs.models.base.bindings.applicationbnd=applicationbnd.xmi xmi:id=ApplicationBinding_1126576842118 | authorizationTable xmi:id=AuthorizationTable_1126576842118 | authorizations xmi:id=RoleAssignment_1126576842118 | role href=META-INF/application.xml#SecurityRole_1126576842103/ | groups xmi:id=Group_1126576842118 name=cn=FFv1::01Find Customer::Simple Search,o=blackhawk/ | /authorizations | authorizations xmi:id=RoleAssignment_1126576842119 | role href=META-INF/application.xml#SecurityRole_1126576842104/ | groups xmi:id=Group_1126576842119 name=cn=FFv1::02Research Customer::Advanced Search,o=blackhawk/ | /authorizations | authorizations xmi:id=RoleAssignment_1126576842134 | role href=META-INF/application.xml#SecurityRole_1126576842105/ | groups xmi:id=Group_1126576842134 name=cn=FFv1::03Customer Detail::Update Customer Info -All,o=blackhawk/ | /authorizations | authorizations xmi:id=RoleAssignment_1126576842135 | role href=META-INF/application.xml#SecurityRole_1126576842106/ | groups xmi:id=Group_1126576842135 name=cn=FFv1::04Customer Detail::Update Customer Info -Selected,o=blackhawk/ | /authorizations | authorizations xmi:id=RoleAssignment_1126576842136 | role href=META-INF/application.xml#SecurityRole_1126576842107/ | groups xmi:id=Group_1126576842136 name=cn=FFv1::05Customer Detail::Terminate Account,o=blackhawk/ | /authorizations | authorizations xmi:id=RoleAssignment_1126576842137 | role href=META-INF/application.xml#SecurityRole_1126576842108/ | groups xmi:id=Group_1126576842137 name=cn=FFv1::06Customer Detail::Create Enrollment,o=blackhawk/ | /authorizations | authorizations xmi:id=RoleAssignment_1126576842138 | role href=META-INF/application.xml#SecurityRole_1126576842109/ | groups xmi:id=Group_1126576842138 name=cn=FFv1::07Customer Detail::Block Account,o=blackhawk/ | /authorizations | authorizations xmi:id=RoleAssignment_1126576842139 | role href=META-INF/application.xml#SecurityRole_1126576842110/ | groups xmi:id=Group_1126576842139 name=cn=FFv1::08Customer Detail::Unblock Account,o=blackhawk/ | /authorizations | authorizations xmi:id=RoleAssignment_1126576842140 | role href=META-INF/application.xml#SecurityRole_1126576842111/ | groups xmi:id=Group_1126576842140 name=cn=FFv1::09Customer Detail::Add Comments,o=blackhawk/ | /authorizations | authorizations xmi:id=RoleAssignment_1126576842141 | role href=META-INF/application.xml#SecurityRole_1126576842112/ | groups xmi:id=Group_1126576842141 name=cn=FFv1::10Customer Detail::View Contents,o=blackhawk/ | /authorizations | authorizations xmi:id=RoleAssignment_1126576842142 | role href=META-INF/application.xml#SecurityRole_1126576842113/ | groups xmi:id=Group_1126576842142 name=cn=FFv1::11ACH Adjustments::ACH Adjustments,o=blackhawk/ | /authorizations | authorizations xmi:id=RoleAssignment_1126576842143 | role href=META-INF/application.xml#SecurityRole_1126576842114/ | groups xmi:id=Group_1126576842143 name=cn=FFv1::12Velocity::Velocity Limits - Create,o=blackhawk/ | /authorizations | authorizations xmi:id=RoleAssignment_1126576842144 | role href=META-INF/application.xml#SecurityRole_1126576842118/ | groups xmi:id=Group_1126576842144 name=cn=FFv1::13Velocity::Velocity Limits - View,o=blackhawk/ | /authorizations | authorizations xmi:id=RoleAssignment_1126576842145 | role href=META-INF/application.xml#SecurityRole_1126576842119/ | groups xmi:id=Group_1126576842145 name=cn=FFv1::14Database Changes::Account History,o=blackhawk/ | /authorizations | authorizations xmi:id=RoleAssignment_1126576842146 | role href=META-INF/application.xml#SecurityRole_1126576842120/ | groups xmi:id=Group_1126576842149 name=cn=FFv1::15Recent Transaction::Transaction History - Recent,o=blackhawk/ | /authorizations | authorizations xmi:id=RoleAssignment_1126576842149 | role href=META-INF/application.xml#SecurityRole_1126576842121/ | groups xmi:id=Group_1126576842150 name=cn=FFv1::16Historical Transactions::Transaction
[JBoss-user] [JBossWS] - Re: org.xml.sax.SAXException: Invalid element
Is there any help or ideas on this one? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894502#3894502 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894502 --- 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: launch mode and prepend
In Eclipse if you are debugging something this means that you have can set breakpoints and step through code execution. If you run something this just means that it is executed but with no debugger so you can not set breakpoints and step through the code. The word 'append' in this context means 'add to the very end' in other words add the path to the end of the classpath so it will be found last. The word 'prepend' means 'To prefix or add to the beginning' in other words add it to the start of the classpath so it will be found first. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894518#3894518 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894518 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Location to definer application specific properties
great it works. thanks for the help. Another question, I' have several server instances and I am refering to the server name in my system property value. Is there any way I can dynamically pick up the server instance name and use it in the system property value ? This way I will not have to change the server name in property value for each server instance . eg ABCProp=/usr/jboss-4.0.2/server/server_name/abc Can server_name be dynamically picked up ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894519#3894519 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894519 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - JB's Developer Notebook - Omission and Error
I am going through this book, which is GREAT by the way, but I have found one missing line of code and have now come up against something that is beyond me. I am in chapter 4: Connecting to a Real Database. I have created the jbossdb as root and assigned the todoapp user to the database w/full rights. I've done the ant with the -Doptional.ddl switch and deployed the WAR (which was working up to that point with Hypersonic. I can delve into the WAR and see the jbosscmp-jdbc.xml file. But when the war is deployed (before its first use): 2005-09-13 14:39:57,937 DEBUG [org.jboss.mq.pm.jdbc2.PersistenceManager] Starting jboss.mq:service=PersistenceManager 2005-09-13 14:39:57,937 DEBUG [org.jboss.mq.pm.jdbc2.PersistenceManager] Resolving uncommited TXS 2005-09-13 14:39:57,937 DEBUG [org.jboss.mq.pm.jdbc2.PersistenceManager] Could not create table with SQL: CREATE CACHED TABLE JMS_MESSAGES ( MESSAGEID INTEGER NOT NULL, DESTINATION VARCHAR(255) NOT NULL, TXID INTEGER, TXOP CHAR(1), MESSAGEBLOB OBJECT, PRIMARY KEY (MESSAGEID, DESTINATION) ) java.sql.SQLException: Table already exists: JMS_MESSAGES in statement [CREATE CACHED TABLE JMS_MESSAGES] and 2005-09-13 14:39:57,953 DEBUG [org.jboss.mq.pm.jdbc2.PersistenceManager] Could not create table with SQL: CREATE CACHED TABLE JMS_TRANSACTIONS ( TXID INTEGER, PRIMARY KEY (TXID) ) java.sql.SQLException: Table already exists: JMS_TRANSACTIONS in statement [CREATE CACHED TABLE JMS_TRANSACTIONS] Which I know to be wrong since the database has no tables and still doesn't. I've created -ds.xml files for our production servers and other code is connecting so I know that's not it. The JMX shows the DS up and running and usable. Page 56 says to edit the jbosscmp-jdbc.xml file but there are 7 of these in the todo folder hierarchy and no mention is made to which needs to be edited and/or copied to another directory (/default?) What is causing this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894524#3894524 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894524 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: Tracking down MQ Threads
Finally got around to doing some tracing - I turned on the TRACE logging for the TraceInterceptor. I can see subscriptions and unsubsciptions being logged. The problem is that the ID identifing any particular subscription are bogus - always -2147483648 which is min int. Based on this information, it's not possible to correlate subscribes with the unsubscribes, so I can't see what's not being closed. Ideas? 2005-09-13 15:24:19,727 Thread-27528 TRACE [org.jboss.mq.server.TracingInterceptor] CALLED : subscribe 2005-09-13 15:24:19,727 Thread-27528 TRACE [org.jboss.mq.server.TracingInterceptor] ARG: Subscription[subId=-2147483 648 destination=TOPIC.FMLiveEventChangeTopic messageSelector=(JMSType = 'Updated' OR JMSType = 'Deleted' OR JMSType = 'N ew') AND (DeviceType='SOLARIS' ) Local Create] 2005-09-13 15:26:19,304 Thread-27555 TRACE [org.jboss.mq.server.TracingInterceptor] CALLED : unsubscribe 2005-09-13 15:26:19,304 Thread-27555 TRACE [org.jboss.mq.server.TracingInterceptor] ARG: -2147483648 2005-09-13 15:26:19,305 Thread-27555 TRACE [org.jboss.mq.server.TracingInterceptor] RETURN : unsubscribe View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894528#3894528 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894528 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Location to definer application specific properties
Sure, look at the http://localhost:8080/web-console and click on System in the java applet and you'll find all the JBoss System Properties. The system property jboss.server.name contains the name of the configuration that is running. Ciao View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894536#3894536 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894536 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Location to definer application specific properties
Thanks but how to I refer to this in my property value. I tried $jboss.server.name as follows but it doesn't seem to be working abcprop = /usr/jboss-4.0.2/server/$jboss.server.name/abc View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894541#3894541 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894541 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Location to definer application specific properties
javadeveloper30 wrote : Thanks but how to I refer to this in my property value. I tried $jboss.server.name as follows but it doesn't seem to be working | | abcprop = /usr/jboss-4.0.2/server/$jboss.server.name/abc | OK, I understand but I really don't know this... you could try abcprop = /usr/jboss-4.0.2/server/${jboss.server.name}/abc or, if it doesn't work, do something like this: define the property abcprop = abc and then String jBossDir = System.getProperty(jboss.server.dir); String jBossServerName = System.getProperty(jboss.server.name); String myProperty = System.getProperty(abcprop); String total = jBossDir; total += System.getProperty(file.separator); total += jBossServerName; total += System.getProperty(file.separator); total += myProperty; And you'll have: /usr/jboss-4.0.2/server/MY_SERVER_NAME/abc Ciao View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894546#3894546 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894546 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - @ejb.finder fails to deploy
Hi, I'm using JBoss-4.0.2 and I am having a problem deploying a CMP bean with the following finder: * @ejb.finder | * query=SELECT OBJECT(a) FROM news AS a ORDER BY a.articleId DESC LIMIT 5 | * signature=java.util.Collection findRecent() This seems to generate the correct XML in ejb-jar.xml query | query-method |method-namefindRecent/method-name |method-params |/method-params | /query-method | ejb-ql[CDATA[SELECT OBJECT(a) FROM news AS a ORDER BY a.articleId DESC LIMIT 5]]/ejb-ql | /query But when I deploy this I get 21:57:18,935 WARN [ServiceController] Problem starting service jboss.j2ee:jndiName=ejb/remote/News,service=EJB | org.jboss.deployment.DeploymentException: Error compiling EJB-QL statement 'SELECT OBJECT(a) FROM news AS a ORDER BY a.articleId DESC LIMIT 5'; - nested throwable: (org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered LIMIT at line 1, column 59. | I am right in thinking that LIMIT is now part of EJB-QL, aren't I? What am I doing wrong? TIA Chris. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894547#3894547 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894547 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Location to definer application specific properties
the first option does not work. For now I'll just hardcode the server instance name and include it as a point in the deployment instructions. thanks for all the help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894556#3894556 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894556 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: AnyCertVerifier
I found the solution by simple signing both server and client certificates and storing the ca certificate into server truststore. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894559#3894559 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894559 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - mqbind.jar file
I am trying to run a demo found at the JBoss Website UsingWebSphereMQSeriesWithJBossASPart1. It requires com.ibm.mqbind.jar. I do not have this .jar file in my MQSeries. How can I test the same demo without using the mqbind.jar file? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894563#3894563 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894563 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Extracting info from unauthenticatedIdentity
I need to know the best way to extract the info about unauthenticatedIdentity using DatabaseCertLoginModule and then create a user in the JAAS... What i have to do? Create a login module that extends from DatabaseCertLoginModule and override which method? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894564#3894564 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894564 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Deploying web application war file on JBoss App Svr
darranl, Can you please email me offline, I would like to chat with you. The email provided in the forums (darran at dalnet.plus.net) bounces back. Sorry for the OT. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894566#3894566 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894566 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - EJB Entity Bean based on a Database View
Hope someone has more experience with this than I do and can answer how to setup an entity bean based on a database View. This will be just for data presentation while other entity beans will concentrate on the data input. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894571#3894571 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894571 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: servlet depends on MBean!
Package your servlet in a war file. Package your mbean in a SAR file. Create jboss-web.xml under WEB-INF folder and mention the SAR dependency in that file. Example ** jboss-web.xml under WEB-INF jboss-web depends someservice:mbeanName /jboss-web Regards. Lokesh. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894572#3894572 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894572 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
Can you help me please, i have a problem when to try access a EJB (StoreAccesss) from a servlet in the chapter 8. The problem is, when i call the create() method in the loginUser() method on the servlet, when i create the instace of a StoreAccess: 18:05:39,359 INFO [STDOUT] Leaving AccessController.processRequest() 18:05:49,109 INFO [STDOUT] Entering AccessController.processRequest() 18:05:49,109 INFO [STDOUT] In validateLogin 18:05:49,109 INFO [STDOUT] Entering AccessController.loginUser() 18:05:49,203 ERROR [LogInterceptor] EJBException in method: public abstract au.com.tusc.session.StoreAccess au.com.tusc.session.StoreAccessHome.create() throws javax.ejb.CreateException,java.rmi.RemoteException javax.ejb.EJBException: Invalid invocation, check your deployment packaging, method=public abstract au.com.tusc.session.StoreAccess au.com.tusc.session.StoreAccessHome.create() throws javax.ejb.CreateException,java.rmi.RemoteException at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invokeHome(StatelessSessionContainer.java:632) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:206) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(StatelessSessionInstanceInterceptor.java:51) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:88) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315) at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:128) at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:85) at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:120) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93) at org.jboss.ejb.StatelessSessionContainer.internalInvokeHome(StatelessSessionContainer.java:319) at org.jboss.ejb.Container.invoke(Container.java:729) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.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.invocation.local.LocalInvoker.invoke(LocalInvoker.java:97) at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:90) at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46) at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55) at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:173) at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85) at $Proxy117.create(Unknown Source) at au.com.tusc.servlet.AccessController.loginUser(AccessController.java:172) at au.com.tusc.servlet.AccessController.processRequest(AccessController.java:113) at au.com.tusc.servlet.AccessController.doGet(AccessController.java:88) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at
[JBoss-user] [Messaging, JMS JBossMQ] - Some remote clients not receiving messages
I have jms running inside my jboss application server 4.0.3 rc2. In approx 10 machines I have tested and works great but in 3 machines , all running windows 2000 prof, they cant seem to get the messages. None of these machines have firewalls and I can see using the jmx console that they are connected to the topic , but for some reason, they just dont receive the messages. The only similarity I see with the machines is they are not on the domain, but when I connect to the domain, still no message received, no error message. I am using ejb3 and I can successfully use context lookup and connect to my session beans on these 3 machines. I cant figure out whats going on, any ideas? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894574#3894574 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894574 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Can not catch ConstraintViolationException.
All, I try to explicitly catch the ConstraintViolationException by the persist() method of the EJb3.0 entity bean but not successful. Has anyone experienced this before ? and what is the way to catch this exception. thank you. rgds, fei View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894580#3894580 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894580 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Getting Application Dispatcher Error
Amishra, I have been working with Cognizant in regarding a support contract. Please give me a call or send me email at the contact points below. Norm Smith [EMAIL PROTECTED] 972-410-0590 214-912-3309 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894585#3894585 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894585 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ 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: can not cooect to sqlserver on windows xp or 2003
You need to install latest service pack for SQL Server 2000 i.e. service Pack 3. Unless you have SQL server listening on TCP, Shared. in the ErrorLog of the SQL Server (SQL Sever install directory\MSSQL\LOG\ERROR.LOG) the listener is not started to which the JDBC driver connect. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894594#3894594 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894594 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - JBossCache 1.2.4 beta is available
As titled. You can download it from: http://sourceforge.net/project/showfiles.php?group_id=22866package_id=102339release_id=356087 Here is the changelog.txt. Full details of the Jira issues can be found on jira.jboss.com. I will try to blog about the key features in this release. Please report any problem here. Release 1.2.4Beta (Spet 12 2005) === * New object graph model for JBossCacheAop to handle complex interactions between Collections and Pojos. * Added jboss-cache-minimal-dist.zip for library only * ExtendedTreeCacheListener for additional TreeCache events * Upgraded to JBossAop 1.3.1 libraries * JBossCacheAop load-time instrumentation mode uses a new class loader * Added passivation/activation * Added a TreeCacheMarshaller to handle scoped class loader * Added an additional Api findObjects for TreeCacheAop * JBossCacheAop object graph now works with persistency * Added 2 network management test cases under org.jboss.cache.aop.integrated packages * Renamed previously examples directory to tests. Examples directory now has complete examples * Collection classes when detached from cache will now automatically populate the values from cache to in-memory * TreeCacheAop loadtime instrumentation use a GeneratedInstrumentClassLoader now * TreeCacheAop new doc * Test package has been renamed to mirror class being tested Details ** Feature Request * [JBCACHE-12] - Async CacheLoader * [JBCACHE-66] - Passivation/overflow * [JBCACHE-87] - Add an abstract implementation of TreeCacheListener * [JBCACHE-104] - Mass removal of AOP POJOs * [JBCACHE-159] - preEvict and preRemove would be useful * [JBCACHE-196] - Upgrade to Sleepycat 2.0 * [JBCACHE-205] - Added a new API to query all the existing pojos in TreeCacheAop * [JBCACHE-223] - CacheLoader in cacheaop support object relationship * [JBCACHE-246] - Should allow to overwrite existing Pojo if it is not multipled referenced * [JBCACHE-255] - Create a marshalling handler for TreeCache * [JBCACHE-265] - Create build examples for load and compile time instrumentation for JBossCacheAop * [JBCACHE-273] - Support partial state transfer * [JBCACHE-287] - Create individual example completed with Ant script for ship in the distribution ** Bug * [JBCACHE-116] - CacheLoaderInterceptor calls CacheLoader.exists() spuriously * [JBCACHE-127] - Binding JBossCache 1.2.1 using JRMPProxyFactory to JNDI * [JBCACHE-135] - Node eviction in AopTree causes permanent removal of a node * [JBCACHE-178] - removeObject needs to remove remote node's cacheinterceptor in TreeCacheAop * [JBCACHE-184] - Error in capacity warning calculation in Region.putNodeEvent * [JBCACHE-185] - JBossCacheAop getObject call will trigger un-necessary network replication * [JBCACHE-191] - replication_granularity is not specified in jboss-web_4_0.dtd (and 3_2) * [JBCACHE-192] - Nodes don't get unlocked in special cases after method calls * [JBCACHE-200] - Initial state transfer produces class not serializable error in TreeCacheAop * [JBCACHE-216] - Should throw exception when default region is not configured in LRUPolicy config * [JBCACHE-221] - Shared objects under Collection throws exception * [JBCACHE-228] - Collection class removeObject should return the old copy * [JBCACHE-243] - Incorrect Iterator impl in Collection List and Set proxies * [JBCACHE-253] - Missing Modify Notification if an object is removed from a node * [JBCACHE-260] - Jboss Cache IdentityLock read/write lock could not be acquired * [JBCACHE-277] - PassivationInterceptor fails when used with a tx started outside of calls to the cache. * [JBCACHE-280] - nodeCreated() callback leads to leftover locks when calling back into the cache (get(), put()) * [JBCACHE-284] - Node.put() does not result in replication ** Task * [JBCACHE-148] - null obj arguement will throw exception in putObject * [JBCACHE-164] - TreeCacheAop eviction is allowed only with CacheLoader * [JBCACHE-179] - refactoring removeObject * [JBCACHE-183] - Over synchronization in IdentityLock and LockMap * [JBCACHE-186] - Replace synchronizedSet/List() with ConcurrentHashMap * [JBCACHE-187] - Inefficient create_lock in LockInterceptor.lock() * [JBCACHE-188] - Replace TreeCacheListener Vector with more concurrent equivalent * [JBCACHE-189] - Cache hash code for Fqn and GlobalTransaction objects * [JBCACHE-190] - Reduce frequency of calls to nodeEventQueue_.size() in Region.putNodeEvent * [JBCACHE-193] - ReadWriteLockWithUpgrade concurrency problem due to ThreadLocal * [JBCACHE-195] - Change LockMap.readOwnersList_ to ConcurrentReaderHashMap from ConcurrentHashMap * [JBCACHE-202] - Custom Eviction Policy: Use age of items to determine eviction order * [JBCACHE-211] - faq update * [JBCACHE-212] - Doc update * [JBCACHE-217] - Refactor test class package