The problem is purely on AOP annotation which is used by JBOSS and your JDK. JBOSS 4.2.2 uses JDK1.5 annotation. But my workspace uses JDK1.6 annotation. This is the cause for the problem. If you want to check annotation references in JBOSS login into the console and expand JBOS AOP link you could see the annotation entry.
You have to make sure your JDK and JBOS annotation should be same version.
It worked perfectly at my envrionment.
Regards
Tamil Selvan.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180087#4180087
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180087
Peter,
anonymous wrote : If you would have passed the name "config.xml" instead (no leading slash), it would look for the file in jboss_home/bin (which is the current working directory).
You are correct, it printed out the JBOSS_HOME/bin directory as the current directory - something I just learned, thanks.
By switching to the getResourceAsStream("config.xml") (without a prepended frontslash) resolved this issue for me.
Thank you, and everyone, that helped me.
John
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180083#4180083
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180083
Total Connections is the number of database connections that have been created since the app server started. Connections are created lazily - none are made until the first connection request comes along at which time min connections are created. Therefore, you will see Total Connection set to 0 for a while, then when the first connection request comes along you should see Total Connection increase fairly quickly until it reaches min connections. So there is a window during which Total Connections could be less than min connections.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180069#4180069
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180069
Concerning this code:
BufferedReader br = new BufferedReader(new
| InputStreamReader(new FileInputStream(fileName)));
If you passed /config.xml, I believe that it will attempt to read config.xml from the base directory of the file system. You could verify this by adding this line earlier:
System.out.println(new File(fileName).getAbsolutePath());
If you would have passed the name "config.xml" instead (no leading slash), it would look for the file in jboss_home/bin (which is the current working directory).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180067#4180067
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180067
anonymous wrote : [spring/pap-core-securityFramework-hibernate.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/hibernate/persister/entity/EntityPersister
Are you packaging any of hibernate related jars in your application? Did you change anything in the JBoss that you installed? And can you post the output of the following command:
jar -tf myApp.ear
Where myApp.ear is your EAR name.
Please remember to wrap the output, logs, xml content or code in a Code block using the "Code" button in the message editor window. Please hit the Preview button to see that your message is properly formatted.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180066#4180066
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180066