[JBoss Seam] - jboss-el doesn't include javax.el.LocalStrings?
by matt.drees
Sometimes I get a stracktrace looking like this:
| javax.el.ELException: java.util.MissingResourceException: Can't find bundle for base name javax.el.LocalStrings, locale en_US
| at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:329)
| at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:338)
| at org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)
| at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
| at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
| at org.jboss.seam.mock.BaseSeamTest$Request.invokeMethod(BaseSeamTest.java:452)
| at org.jboss.seam.mock.BaseSeamTest$Request.invokeAction(BaseSeamTest.java:463)
| at org.uscm.crs.registration.FamilyRegistrationTest$4.invokeApplication(FamilyRegistrationTest.java:98)
| at org.jboss.seam.mock.BaseSeamTest$Request.invokeApplicationPhase(BaseSeamTest.java:600)
| at org.jboss.seam.mock.BaseSeamTest$Request.emulateJsfLifecycle(BaseSeamTest.java:552)
| at org.jboss.seam.mock.BaseSeamTest$Request.run(BaseSeamTest.java:483)
| at org.uscm.crs.registration.FamilyRegistrationTest.createFamilyRegistration(FamilyRegistrationTest.java:101)
| at org.uscm.crs.registration.FamilyRegistrationTest.singleRegistration(FamilyRegistrationTest.java:56)
| Caused by: java.util.MissingResourceException: Can't find bundle for base name javax.el.LocalStrings, locale en_US
| at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
| at java.util.ResourceBundle.getBundleImpl(Unknown Source)
| at java.util.ResourceBundle.getBundle(Unknown Source)
| at javax.el.ELResolver.message(ELResolver.java:40)
| at javax.el.BeanELResolver.getValue(BeanELResolver.java:72)
| at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
| at org.jboss.el.parser.AstPropertySuffix.getValue(AstPropertySuffix.java:53)
| at org.jboss.el.parser.AstValue.getValue(AstValue.java:67)
| at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
| at org.jboss.seam.core.Expressions$1.getValue(Expressions.java:102)
| at org.jboss.seam.Component.getValueToInject(Component.java:2016)
| at org.jboss.seam.Component.injectAttributes(Component.java:1497)
| at org.jboss.seam.Component.inject(Component.java:1321)
| at org.jboss.seam.interceptors.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:44)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
| at org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.java:42)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
| at org.jboss.seam.interceptors.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:30)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
| at org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:27)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
| at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:103)
| at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:151)
| at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:87)
| at org.uscm.crs.registration.SpouseManager_$$_javassist_70.rejectRecords(SpouseManager_$$_javassist_70.java)
| at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:325)
| ... 33 more
| ... Removed 25 stack frames
|
It masks the real exception, which is slightly frustrating; I have to set a breakpoint to find out what really went wrong.
I downloaded Tomcat 6 and put javax/el/LocalStrings.properties in my classpath, and that worked. Perhaps this file should be put in Seam, or better yet in Jboss-el.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055440#4055440
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055440
18Â years, 10Â months
[JBossCache] - Some problem with cache
by ylims
hi.
need your help.
what mean's that?
| 09:03:47,812 INFO [STDOUT] FlexWorkflow: Error on geting task information
| 09:04:16,468 INFO [STDOUT] FlexWorkflow: Clear cache (21 instances)
| 09:04:19,281 INFO [STDOUT] FlexWorkflow: Clear cache (100 instances)
| 09:04:29,343 INFO [STDOUT] FlexWorkflow: Close connection
| 09:04:46,453 INFO [STDOUT] Exception in thread "Cache auto delete"
| 09:04:46,453 INFO [STDOUT] java.lang.NullPointerException
|
| ..................
| .................
| ..................
|
| 09:07:38,546 INFO [STDOUT] FlexWorkflow: Clear cache (22 instances)
| 09:07:40,093 INFO [STDOUT] FlexWorkflow: Clear cache (100 instances)
| 09:07:52,546 INFO [STDOUT] FlexWorkflow: Clear cache (100 instances)
| 09:08:16,468 INFO [STDOUT] FlexWorkflow: Clear cache (72 instances)
| 09:08:19,421 INFO [STDOUT] FlexWorkflow: Clear cache (1 instances)
| 09:08:20,234 INFO [STDOUT] FlexWorkflow: Clear cache (103 instances)
| 09:08:24,515 INFO [STDOUT] FlexWorkflow: Clear cache (7 instances)
| 09:08:27,750 INFO [STDOUT] FlexWorkflow: Clear cache (218 instances)
| 09:08:41,671 INFO [STDOUT] FlexWorkflow: Clear cache (100 instances)
| 09:08:54,250 INFO [STDOUT] FlexWorkflow: Clear cache (62 instances)
| 09:09:08,312 INFO [STDOUT] FlexWorkflow: Clear cache (100 instances)
| 09:09:11,906 INFO [STDOUT] FlexWorkflow: Clear cache (99 instances)
| 09:09:33,750 INFO [STDOUT] FlexWorkflow: Clear cache (106 instances)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055438#4055438
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055438
18Â years, 10Â months
[JNDI/Naming/Network] - Failed to retrieve stub from server
by tamaluna
I wasn't sure which forum to submit this to, since it covers a variety of topics -- hibernate, JNDI, clustering, etc. So I'm picking this forum; if you can suggest a better one, I'll repost there.
Here's the situation. We've had a web app that's been running fine on JBoss 4.0.5.GA, as the server-side for a Flex app. I built an MDB, added it to the deploy dir, and it worked somewhat with our web app, but the MDB couldn't find the FlexSession stuff. So we thought we'd build an .ear, to include the .war of the web app and the .jar of the MDB.
The problem I'm getting on start-up is anonymous wrote : ...
| 17:59:02 INFO [org.hibernate.util.NamingHelper] JNDI InitialContext properties:{}
| 17:59:02 FATAL [org.hibernate.connection.DatasourceConnectionProvider] Could not find datasource: jdbc/PlanITDataSource
| javax.naming.CommunicationException: Failed to retrieve stub from server 192.168.1.18:1100 [Root exception is java.io.StreamCorruptedException: unexpected block data]
| ...
Now, I never had this problem before, so something is not configured right, I guess. That IP address belongs to my colleague, who is running a clustered JBoss setup; I'm running non-clustered. He's also running Linux, whereas I'm running Windows XP Pro. He was able to get the app up and running, after wading through some configuration issues. We're on the same LAN, as are several other developers, who are only using the .war, not the .ear or .jar (MDB), and they don't experience any errors.
Can you please tell me what's wrong with our set-up? Is there a way to make sure the clustered JBoss installation doesn't interfere with the non-clustered ones? I'm hoping that will solve my issue. Or maybe there's another solution.
Thanks
Pauly T.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055434#4055434
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055434
18Â years, 10Â months