[EJB 3.0] - help required for JBOSS 4.0.4 GA and EJB 3.0 RC9
by priyavijayan1
Hi,
I am having a problem with EJB 3.0 . I am using
EJB-3.0_RC9-FD
jboss-4.0.4.GA
jdk 1.5
ant 1.6.5
package com.EJB3.application;
import com.EJB3.application.FacadeRemote;
import javax.naming.InitialContext;
import java.sql.Timestamp;
CODE
public class client
{
public static void main(String[] args)
{
try
{
InitialContext ctx = new InitialContext();
ctx.addToEnvironment("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory");
ctx.addToEnvironment("java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces");
ctx.addToEnvironment("java.naming.provider.url","jnp://localhost:1099");
System.out.println("<------"+FacadeRemote.class.getName()+"------->");
FacadeRemote lFacadeRemote = (FacadeRemote) ctx.lookup(FacadeRemote.class.getName());
lFacadeRemote.createDepartment("Finance");
lFacadeRemote.createDepartment("Administration");
lFacadeRemote.createDepartment("Sales");
lFacadeRemote.assignEmployeeToDepartment(new Long(1),"Brijesh",31,"M");
lFacadeRemote.assignEmployeeToDepartment(new Long(1),"xxxx",31,"M");
lFacadeRemote.assignEmployeeToDepartment(new Long(2),"yyyy",31,"M");
}
catch(Exception ex)
{
System.out.println(ex);
}
}
}
and the run time exception I am getting is
Buildfile: C:\prototype\EJB3.0\application\build.xml
[echo] -------------1-----------
run:
[echo] -------------2-----------
[java] <------com.EJB3.application.FacadeRemote------->
[java] javax.naming.NameNotFoundException: com.EJB3.application.FacadeRemote not bound
prepare:
[echo] C:\jboss-4.0.4.GA
prepare:
[echo] C:\jboss-4.0.4.GA
compile:
deploy:
BUILD SUCCESSFUL
Total time: 28 seconds
Please help....
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996174#3996174
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996174
19 years, 4 months
[EJB/JBoss] - Problem with Mysql for CMP
by Kentzhou
I use jboss default db hsqldb to run application with CMP, it is okay. But When I change the datasource to mysql, I got the errors as below.
It seems can not connect to db. But I the user name and password set in file mysql-ds.xml are correct.
Please help to identify the problem and to solve this issue. Thanks.
----------------Errors message here -----------------------
2006-12-24 22:10:58,108 DEBUG [org.jboss.deployment.MainDeployer] Deployed package: file:/C:/jboss-4.0.5.GA/server/default/deploy/todo.ear
2006-12-24 22:10:58,108 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for: file:/C:/jboss-4.0.5.GA/server/default/deploy/todo.ear -> file:/C:/jboss-4.0.5.GA/server/default/deploy/todo.ear
2006-12-24 22:10:58,108 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing:
--- MBeans waiting for other MBeans ---
ObjectName: jboss.j2ee:service=EjbModule,module=todo.jar
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Error while fixing table name; - nested throwable: (org.jboss.util.NestedSQLException: Could not create connection; - nested throwable: (com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:
** BEGIN NESTED EXCEPTION **
java.net.SocketException
MESSAGE: java.net.ConnectException: Connection refused: connect
STACKTRACE:
java.net.SocketException: java.net.ConnectException: Connection refused: connect
at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156)
at com.mysql.jdbc.MysqlIO.(MysqlIO.java:276)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:2666)
at com.mysql.jdbc.Connection.(Connection.java:1531)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:171)
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:565)
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:250)
at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:491)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:341)
at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:301)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:396)
at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
at org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.fixTableName(SQLUtil.java:173)
at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.init(JDBCEntityBridge.java:157)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:435)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:368)
at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:172)
at org.jboss.ejb.EjbModule.startService(EjbModule.java:414)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor71.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:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor4.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:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy23.start(Unknown Source)
at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:662)
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:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy24.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor13.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:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy6.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
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:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
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:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
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:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:490)
at java.lang.Thread.run(Thread.java:595)
** END NESTED EXCEPTION **
Last packet sent to the server was 90 ms ago.); - nested throwable: (org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:
** BEGIN NESTED EXCEPTION **
java.net.SocketException
MESSAGE: java.net.ConnectException: Connection refused: connect
STACKTRACE:
java.net.SocketException: java.net.ConnectException: Connection refused: connect
at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156)
at com.mysql.jdbc.MysqlIO.(MysqlIO.java:276)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:2666)
at com.mysql.jdbc.Connection.(Connection.java:1531)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:171)
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:565)
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:250)
at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:491)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:341)
at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:301)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:396)
at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
at org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.fixTableName(SQLUtil.java:173)
at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.init(JDBCEntityBridge.java:157)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:435)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:368)
at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:172)
......
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996152#3996152
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996152
19 years, 4 months
[JBoss Seam] - Re: Avoiding the DRY Principle with beans
by fabio.ita04
First of all, I think this post is closelly related with original topic: build session beans that encapsulates commom business logic, taking advantage of Seam annotations (inheritance of annotaded members: @in, @out, @datamodel, @datamodelselection, @begin, @end, @destroy, etc).
Please tell me exatly the reasons you think the topics aren't related, so I'll be convinced to create a new topic.
The code I sent is just a draft based on original code. The implementations are ok, and what I see it's happening is problems with EJB proxying.
In the following codes, *Service refers to interfaces, and *Manager refers to Stateful Session Bean classes.
When I write single (direct) hierarchies
BusinessManager implements BusinessService
everything runs allright.
But I'll have to write interfaces UserService, CompanyService, EmployeeService, ContactService, etc... that closelly shares the same structure (methods save(), search(), select(), destroy(), etc...).
And worse: the implementations (BusinessManager) are identical in the vast majority of cases. Just in few cases a subclass will need to override the default BusinessManager behavior.
So ideally, the best thing to do would be:
| interface BusinessService (common Service method declarations)
|
| BusinessManager implements BusinessService (default implementations)
|
| interface UserService extends BusinessService (declares User related methods)
|
| UserManager extends BusinessManager implements UserService
| (UserService implementations and some BusinessManager overriding)
|
But in this case, only UserService methods are proxied in the UserManager objects (exception occurs when trying to invoke BusinessManager methods - the exception says the UserManager proxy don't have the related BusinessManager / BusinessService methods).
If needed, in the next reply I send the UserManager code I've mentionated.
Thanx
Fábio.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996151#3996151
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996151
19 years, 4 months
[JBoss Seam] - StackOverflowError and
by svadu
HI All,
Trying to run JBoss Seam on Resin under linux (works in my development environment under win xp).
Getting the following strange errors upon startup:
anonymous wrote :
| 01:28:30,148 INFO [AnnotationBinder] Binding entity from annotated class: org.emaps.dao.UserBean
| 01:28:30,148 INFO [EntityBinder] Bind entity org.emaps.dao.UserBean on table users
| 01:28:30,151 INFO [AnnotationBinder] Binding entity from annotated class: org.emaps.dao.CityBean
| 01:28:30,152 INFO [EntityBinder] Bind entity org.emaps.dao.CityBean on table NP
| 01:28:30,545 INFO [CollectionBinder] Mapping collection: org.emaps.dao.CountryBean.regionses -> REGIONS
| 01:28:30,545 INFO [CollectionBinder] Mapping collection: org.emaps.dao.RegionBean.districts -> DISTRICTS
| 01:28:30,686 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.LocalOnlyContextFactory, java.naming.factory
| .url.pkgs=org.jboss.naming:org.jnp.interfaces}
| 01:28:30,691 INFO [DatasourceConnectionProvider] Using datasource: java:/EmapsDS
| [01:28:31.209] java.lang.RuntimeException: exception invoking: startup
| [01:28:31.209] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:112)
| [01:28:31.209] at org.jboss.seam.Component.callComponentMethod(Component.java:1799)
| [01:28:31.209] at org.jboss.seam.Component.callCreateMethod(Component.java:1739)
| [01:28:31.209] at org.jboss.seam.Component.newInstance(Component.java:1728)
| [01:28:31.209] at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:152)
| [01:28:31.209] at org.jboss.seam.contexts.Lifecycle.endInitialization(Lifecycle.java:126)
| [01:28:31.209] at org.jboss.seam.init.Initialization.init(Initialization.java:430)
| [01:28:31.209] at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:33)
| [01:28:31.209] at com.caucho.server.webapp.Application.start(Application.java:1647)
| [01:28:31.209] at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:621)
| [01:28:31.209] at com.caucho.server.deploy.DeployController.restartImpl(DeployController.java:584)
| [01:28:31.209] at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.alarm(StartAutoRedeployAutoStrategy.java:176)
| [01:28:31.209] at com.caucho.server.deploy.DeployController.handleAlarm(DeployController.java:742)
| [01:28:31.209] at com.caucho.util.Alarm.handleAlarm(Alarm.java:339)
| [01:28:31.209] at com.caucho.util.Alarm.run(Alarm.java:309)
| [01:28:31.209] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:516)
| [01:28:31.209] at com.caucho.util.ThreadPool.run(ThreadPool.java:442)
| [01:28:31.209] at java.lang.Thread.run(Thread.java:595)
| [01:28:31.209] Caused by: java.lang.reflect.InvocationTargetException
| [01:28:31.209] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| [01:28:31.209] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| [01:28:31.209] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| [01:28:31.209] at java.lang.reflect.Method.invoke(Method.java:585)
| [01:28:31.209] at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| [01:28:31.209] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:102)
| [01:28:31.209] ... 17 more
| [01:28:31.209] Caused by: java.lang.StackOverflowError
| [01:28:31.209] at org.jboss.resource.JBossResourceException.getCause(JBossResourceException.java:132)
| [01:28:31.209] at javax.resource.ResourceException.getLinkedException(ResourceException.java:78)
| [01:28:31.209] at org.jboss.resource.JBossResourceException.getCause(JBossResourceException.java:132)
| [01:28:31.209] at javax.resource.ResourceException.getLinkedException(ResourceException.java:78)
|
skipped (very long repeating stack trace)...
anonymous wrote :
| [01:28:31.240] at javax.resource.ResourceException.getLinkedException(ResourceException.java:78)
| 01:28:31,178 WARN [LocalTxDataSource] Throwable while attempting to get a new connection: null
| 01:28:31,567 INFO [FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml
|
Using pojo + jpa here.
Any idea what this could be? Completely the same deployment works on another PC under windows...
Thanks in advance,
Siarhei
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996150#3996150
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996150
19 years, 4 months