[JBoss-user] [Beginners Corner] - Re: JBoss startup errors
Seems like a corrupt download. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921340#3921340 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921340 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: how to set classpath in run.bat for the jboss/server/def
I'm also stuck on a similar problem. Do post if you find a solution. The best way to handle properties files would be to keep them in the data directory. But JBoss does not look in that directory for any classpath related items -- it is the applications sandbox, to use as desired. Have you tried placing property files in deploy/ and lib/? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921339#3921339 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921339 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Proper location for .properties files for an EAR
Hi, I am using JBoss 4.0.1RC1 on a WinXP SP2 machine with JDK 1.5.0_06. I am currently working on a J2EE application which has an EJB jar, a client JAR and a web-app WAR compiled into an EAR file. Now these classes use several properties files. These properties files are currently jarred into a properties.jar and placed into the WEB-INF/lib dir of the WAR. The whole setup works fine and all the files are able to pick up the properties. However, this solution is not feasible if this application is to be deployed to another machine. For every machine the properties will change and so the EAR will have to be build again and again everytime the properties have to change. Do you knwo of a way to solve this problem? What is the best location for the properties files so that they are in the classpath of the classes in the EAR without having to jar them up? I tried putting the properties in the deploy/ dir, but that doesnt work. I also tried putting them in the data/app directory but the application does not pick up the properties implicitly. Please help. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921032#3921032 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921032 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: using JFreeChart from an EJB
Thanks... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3920482#3920482 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3920482 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - .properties file in /data/appName/
Hi, My question is primarily to understand how the classpath of an application is setup in JBoss. I want to move the location of certain properties files and make sure my applications can read them. I want to share the property files between different applications. Currently, I am running 3 applications on JBoss 4.0.1RC1 (default config) on Win XP. MainApp.ear has the following dir structure: | MainApp.ear | --- MainApp.jar (contains classes) | --- MainApp_EJBs.jar (only contains EJBs) | --- main.war | --- JSPs | --- WEB-INF/lib/properties.jar | --- WEB-INF/lib/all_other_jars | The classes in MainApp.jar are able to successfully read the .properties files in properties.jar. The other two applications are say, App1.war and App2.war. I want to make the MainApp properties files hot-deployable (they are right now too, but I have to rebuild the EAR everytime I want to make a change in a property file) and I want to be able to keep them unpackaged. I also want to be able to share the properties files of MainApp with App1 and App2. How is it possible to do all this? Is it possible? I've read quite a few posts and the properties.jar method seems like the best way to go, but its quite limiting. What do you do when you want to change properties on the fly? Thanks.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3919431#3919431 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3919431 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Sharing classes between two applications
Hi, I am using JBoss 4.0.1RC1 on Win XP SP2, with JDK 1.5_05. I am deploying one EAR file containing a app.jar, app_EJBs.jar and a appweb.war. I am also deployign another web application app2.war, on the server. Now app2.war is an independent scheduler application. So it needs to access job classes which exist in any other application deployed on the same server. So it needs to access com.app.jobs.job1 class in app.jar package inside app.ear. How is this possible? Is this even possible? Thanks.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3918474#3918474 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3918474 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: NoClassDefFoundError and DeploymentException
Is there no one out there with a solution or at least a hint of a solution to this problem View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908528#3908528 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908528 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - NoClassDefFoundError and DeploymentException
My EJB skills are not really the best, and I am trying to deploy this application written by someone else on JBoss AS 4.0.3SP1. The system is running Windows XP with JDK 1.5_05. If someone could help me out with getting this setup, it would be really great, as I have already spent a considerable time trying to solve the problem. I'm positive its going to be something simple. I am facing the following errors: | 17:27:46,399 INFO [EARDeployer] Init J2EE application: file:/C:/Java/jboss-4.0.3SP1/server/default/deploy/MyAPP.ear | 17:28:03,366 WARN [EJBDeployer] Verify failed; continuing | java.lang.NoClassDefFoundError: com/company/circle/util/UserRegistryException | at java.lang.Class.getDeclaredMethods0(Native Method) | at java.lang.Class.privateGetDeclaredMethods(Class.java:2365) | at java.lang.Class.privateGetPublicMethods(Class.java:2488) | at java.lang.Class.getMethods(Class.java:1406) | at org.jboss.verifier.strategy.AbstractVerifier.hasEJBCreateMethod(AbstractVerifier.java:664) | at org.jboss.verifier.strategy.EJBVerifier20.verifySessionBean(EJBVerifier20.java:834) | at org.jboss.verifier.strategy.EJBVerifier20.checkSession(EJBVerifier20.java:64) | at org.jboss.verifier.BeanVerifier.verify(BeanVerifier.java:166) | at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:559) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127) | at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) | at $Proxy35.create(Unknown Source) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:935) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:925) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:789) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753) | at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) | at $Proxy6.deploy(Unknown Source) | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:489) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:203) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:182) | 17:28:03,569 ERROR [MainDeployer] Could not create deployment: file:/C:/Java/jboss-4.0.3SP1/server/default/tmp/deploy/tmp35857MyAPP.ear-contents/MyAPP-E | JBs.jar | org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages. | at org.jboss.ejb.EJBDeployer.create(EJ
[JBoss-user] [Installation & Configuration] - Re: Log4j - separating logging from jBoss logging
What difference, does it make, if I have different versions of log4j (as describe in the post above)i.e., a diff version in server/default/lib (call it version A)and a diff version in server/default/deploy/myapp.war/WEB-INF/lib (call this version B)? Since jBoss has already loaded log4j before it begins to load my application, is version A running/loading my log4j.properties or is the one I have supplied, version B, loaded again, being used by my application? Regards, Karan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3870246#3870246 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3870246 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Log4j - separating logging from jBoss logging
That should solve this issue. Thanks. Regards, Karan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3870245#3870245 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3870245 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Log4j - separating logging from jBoss logging
I tested it out. If I want to use log4j.properties in my application, I will HAVE to make the required change in jboss-service.xml, i.e. rename the resource file that jBoss uses to pick up its log4j settings (conf/log4j.xml -> conf/jboss-log4j.xml). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3870231#3870231 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3870231 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Log4j - separating logging from jBoss logging
The log4j.jar in server/default/lib is 1.2.8. The log4j.jar in server/default/deploy/myapp.war/WEB-INF/lib is 1.2.9. The log4j.properties system described in the wiki works even with different versions of jars being used by jBoss and my application. Does this mean something? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3870229#3870229 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3870229 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Log4j - separating logging from jBoss logging
I'm using jBoss 4.0.1sp1. My log4j.jar is version 1.2.9. I played around with the logging. I like to use log4j.properties. I have been able to seperate the logging between jboss and myapp.war (I'm fairly new to all this, so have no idea how an EAR works). I have updated the wiki: http://www.jboss.org/wiki/Wiki.jsp?page=Logging However, I still have to change jboss-service.xml on every server. I am checking to see if the approach outlined in the link above will work without doing that. Will post what I find, soon. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3870224#3870224 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3870224 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Log4j - separating logging from jBoss logging
Did you get a solution to your problem? I am trying to do the same thing with no luck, yet. I don't want to have to change jBoss's log4j.xml file on every machine I install my application to. Also, it is much cleaner to maintain everythign related to your application in the application's dir only. Please post your progress on this issue. Regards, Karan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3870094#3870094 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3870094 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user