openejb-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicola Dellisanti <nicola.dellisa...@gmail.com>
Subject Re: Jar not loaded: Unknown module type
Date Thu, 10 Feb 2011 13:13:42 GMT
I made a test to solve the problem.
I've extracted the richtest.jar in webapps/richtest folder, then I deleted
richtest.jar in webapps and I've deleted the line

<Deployments jar="richtest.jar" />

in openejb.xml and now my log is:


2011-02-10 14:14:16,218 - INFO  - openejb.home =
C:\Programmi\apache-tomcat-6.0.32
2011-02-10 14:14:16,218 - INFO  - openejb.base =
C:\Programmi\apache-tomcat-6.0.32
2011-02-10 14:14:16,812 - INFO  - Using
'openejb.provider.default=org.apache.openejb.tomcat'
2011-02-10 14:14:16,843 - INFO  - Configuring Service(id=Tomcat Security
Service, type=SecurityService, provider-id=Tomcat Security Service)
2011-02-10 14:14:16,843 - INFO  - Configuring Service(id=Default Transaction
Manager, type=TransactionManager, provider-id=Default Transaction Manager)
2011-02-10 14:14:16,859 - INFO  - Configuring Service(id=My DataSource,
type=Resource, provider-id=Default JDBC Database)
2011-02-10 14:14:16,859 - INFO  - Configuring Service(id=My Unmanaged
DataSource, type=Resource, provider-id=Default JDBC Database)
2011-02-10 14:14:16,859 - INFO  - Configuring Service(id=MySqlDataSource,
type=Resource, provider-id=Default JDBC Database)
2011-02-10 14:14:16,859 - INFO  - Configuring Service(id=My JMS Resource
Adapter, type=Resource, provider-id=Default JMS Resource Adapter)
2011-02-10 14:14:16,859 - INFO  - Configuring Service(id=My JMS Connection
Factory, type=Resource, provider-id=Default JMS Connection Factory)
2011-02-10 14:14:16,859 - INFO  - Configuring Service(id=My Stateful
Container, type=Container, provider-id=Default Stateful Container)
2011-02-10 14:14:16,859 - INFO  - Configuring Service(id=My Stateless
Container, type=Container, provider-id=Default Stateless Container)
2011-02-10 14:14:16,859 - INFO  - Configuring Service(id=My MDB Container,
type=Container, provider-id=Default MDB Container)
2011-02-10 14:14:16,859 - INFO  - Using 'openejb.deployments.classpath=true'
2011-02-10 14:14:16,859 - INFO  - Using
'openejb.deployments.classpath.filter.systemapps=false'
2011-02-10 14:14:17,109 - INFO  - Found EjbModule in classpath:
C:\Programmi\apache-tomcat-6.0.32\webapps\openejb\lib\openejb-core-3.1.4.jar
2011-02-10 14:14:17,453 - INFO  - Beginning load:
C:\Programmi\apache-tomcat-6.0.32\webapps\openejb\lib\openejb-core-3.1.4.jar
2011-02-10 14:14:17,703 - INFO  - Configuring enterprise application:
classpath.ear
2011-02-10 14:14:19,562 - INFO  - Enterprise application "classpath.ear"
loaded.
2011-02-10 14:14:19,562 - INFO  - Creating TransactionManager(id=Default
Transaction Manager)
2011-02-10 14:14:19,703 - INFO  - Creating SecurityService(id=Tomcat
Security Service)
2011-02-10 14:14:19,734 - INFO  - Creating Resource(id=My DataSource)
2011-02-10 14:14:19,765 - INFO  - Creating Resource(id=My Unmanaged
DataSource)
2011-02-10 14:14:19,781 - INFO  - Creating Resource(id=MySqlDataSource)
2011-02-10 14:14:19,781 - INFO  - Creating Resource(id=My JMS Resource
Adapter)
2011-02-10 14:14:20,046 - INFO  - Creating Resource(id=My JMS Connection
Factory)
2011-02-10 14:14:20,062 - INFO  - Creating ConnectionManager for
Resource(id=My JMS Connection Factory)
2011-02-10 14:14:20,093 - INFO  - Creating Container(id=My Stateful
Container)
2011-02-10 14:14:20,171 - WARN  - Property "AccessTimeout" not supported by
"My Stateful Container"
2011-02-10 14:14:20,171 - INFO  - Creating Container(id=My Stateless
Container)
2011-02-10 14:14:20,187 - INFO  - Creating Container(id=My MDB Container)
2011-02-10 14:14:20,250 - INFO  - Assembling app: classpath.ear
2011-02-10 14:14:20,328 - INFO  - Using
'openejb.jndiname.format={deploymentId}{interfaceType.openejbLegacyName}'
2011-02-10 14:14:20,359 - INFO  -
Jndi(name=openejb/ConfigurationInfoBusinessRemote) -->
Ejb(deployment-id=openejb/ConfigurationInfo)
2011-02-10 14:14:20,375 - INFO  - Jndi(name=openejb/DeployerBusinessRemote)
--> Ejb(deployment-id=openejb/Deployer)
2011-02-10 14:14:20,375 - INFO  - Jndi(name=MEJB) -->
Ejb(deployment-id=MEJB)
2011-02-10 14:14:20,375 - INFO  - Jndi(name=MEJBLocalBean) -->
Ejb(deployment-id=MEJB)
2011-02-10 14:14:20,500 - INFO  - Created
Ejb(deployment-id=openejb/ConfigurationInfo,
ejb-name=openejb/ConfigurationInfo, container=My Stateless Container)
2011-02-10 14:14:20,531 - INFO  - Created
Ejb(deployment-id=openejb/Deployer, ejb-name=openejb/Deployer, container=My
Stateless Container)
2011-02-10 14:14:20,562 - INFO  - Created Ejb(deployment-id=MEJB,
ejb-name=MEJB, container=My Stateless Container)
2011-02-10 14:14:20,562 - INFO  - Deployed Application(path=classpath.ear)
2011-02-10 14:14:21,812 - INFO  - Importing a Tomcat Resource with id
'UserDatabase' of type 'org.apache.catalina.UserDatabase'.
2011-02-10 14:14:21,812 - INFO  - Creating Resource(id=UserDatabase)
2011-02-10 14:14:22,812 - INFO  - Configuring enterprise application:
C:\Programmi\apache-tomcat-6.0.32\webapps\host-manager
2011-02-10 14:14:22,843 - INFO  - Enterprise application
"C:\Programmi\apache-tomcat-6.0.32\webapps\host-manager" loaded.
2011-02-10 14:14:22,843 - INFO  - Assembling app:
C:\Programmi\apache-tomcat-6.0.32\webapps\host-manager
2011-02-10 14:14:22,843 - INFO  - Deployed
Application(path=C:\Programmi\apache-tomcat-6.0.32\webapps\host-manager)
2011-02-10 14:14:23,562 - INFO  - Configuring enterprise application:
C:\Programmi\apache-tomcat-6.0.32\webapps\manager
2011-02-10 14:14:23,578 - INFO  - Enterprise application
"C:\Programmi\apache-tomcat-6.0.32\webapps\manager" loaded.
2011-02-10 14:14:23,578 - INFO  - Assembling app:
C:\Programmi\apache-tomcat-6.0.32\webapps\manager
2011-02-10 14:14:23,578 - INFO  - Deployed
Application(path=C:\Programmi\apache-tomcat-6.0.32\webapps\manager)
2011-02-10 14:14:24,250 - INFO  - Configuring enterprise application:
C:\Programmi\apache-tomcat-6.0.32\webapps\openejb
2011-02-10 14:14:24,312 - INFO  - Enterprise application
"C:\Programmi\apache-tomcat-6.0.32\webapps\openejb" loaded.
2011-02-10 14:14:24,312 - INFO  - Assembling app:
C:\Programmi\apache-tomcat-6.0.32\webapps\openejb
2011-02-10 14:14:24,312 - INFO  - Deployed
Application(path=C:\Programmi\apache-tomcat-6.0.32\webapps\openejb)
2011-02-10 14:14:24,812 - INFO  - Configuring enterprise application:
C:\Programmi\apache-tomcat-6.0.32\webapps\richtest
2011-02-10 14:14:24,812 - INFO  - Enterprise application
"C:\Programmi\apache-tomcat-6.0.32\webapps\richtest" loaded.
2011-02-10 14:14:24,812 - INFO  - Assembling app:
C:\Programmi\apache-tomcat-6.0.32\webapps\richtest
2011-02-10 14:14:24,812 - INFO  - Deployed
Application(path=C:\Programmi\apache-tomcat-6.0.32\webapps\richtest)
2011-02-10 14:14:29,718 - INFO  - Configuring enterprise application:
C:\Programmi\apache-tomcat-6.0.32\webapps\docs
2011-02-10 14:14:29,734 - INFO  - Enterprise application
"C:\Programmi\apache-tomcat-6.0.32\webapps\docs" loaded.
2011-02-10 14:14:29,734 - INFO  - Assembling app:
C:\Programmi\apache-tomcat-6.0.32\webapps\docs
2011-02-10 14:14:29,734 - INFO  - Deployed
Application(path=C:\Programmi\apache-tomcat-6.0.32\webapps\docs)
2011-02-10 14:14:30,562 - INFO  - Configuring enterprise application:
C:\Programmi\apache-tomcat-6.0.32\webapps\examples
2011-02-10 14:14:30,671 - INFO  - Enterprise application
"C:\Programmi\apache-tomcat-6.0.32\webapps\examples" loaded.
2011-02-10 14:14:30,671 - INFO  - Assembling app:
C:\Programmi\apache-tomcat-6.0.32\webapps\examples
2011-02-10 14:14:30,671 - INFO  - Deployed
Application(path=C:\Programmi\apache-tomcat-6.0.32\webapps\examples)
2011-02-10 14:14:31,234 - INFO  - Configuring enterprise application:
C:\Programmi\apache-tomcat-6.0.32\webapps\ROOT
2011-02-10 14:14:31,250 - INFO  - Enterprise application
"C:\Programmi\apache-tomcat-6.0.32\webapps\ROOT" loaded.
2011-02-10 14:14:31,250 - INFO  - Assembling app:
C:\Programmi\apache-tomcat-6.0.32\webapps\ROOT
2011-02-10 14:14:31,250 - INFO  - Deployed
Application(path=C:\Programmi\apache-tomcat-6.0.32\webapps\ROOT)
2011-02-10 14:14:42,750 - INFO  - Undeploying app:
C:\Programmi\apache-tomcat-6.0.32\webapps\richtest
2011-02-10 14:14:42,781 - INFO  - Configuring enterprise application:
C:\Programmi\apache-tomcat-6.0.32\webapps\richtest
2011-02-10 14:14:42,843 - INFO  - Auto-linking resource-ref
'jdbc/MySqlDataSource' in bean RichTestEJBBean to
Resource(id=MySqlDataSource)
2011-02-10 14:14:42,843 - INFO  - Auto-linking resource-ref 'RichTestJPA' in
bean RichTestEJBBean to Resource(id=My DataSource)
2011-02-10 14:14:42,843 - INFO  - Configuring
PersistenceUnit(name=RichTestJPA,
provider=org.eclipse.persistence.jpa.PersistenceProvider)
2011-02-10 14:14:42,843 - INFO  - Auto-creating a Resource with id
'MySqlDataSourceNonJta' of type 'DataSource for 'RichTestJPA'.
2011-02-10 14:14:42,843 - INFO  - Configuring
Service(id=MySqlDataSourceNonJta, type=Resource,
provider-id=MySqlDataSource)
2011-02-10 14:14:42,843 - INFO  - Creating
Resource(id=MySqlDataSourceNonJta)
2011-02-10 14:14:42,859 - INFO  - Adjusting PersistenceUnit RichTestJPA
<non-jta-data-source> to Resource ID 'MySqlDataSourceNonJta' from 'null'
2011-02-10 14:14:42,859 - INFO  - Configuring
PersistenceUnit(name=RichTestLocal,
provider=org.eclipse.persistence.jpa.PersistenceProvider)
2011-02-10 14:14:42,859 - INFO  - Adjusting PersistenceUnit RichTestLocal
<jta-data-source> to Resource ID 'My DataSource' from 'null'
2011-02-10 14:14:42,859 - INFO  - Adjusting PersistenceUnit RichTestLocal
<non-jta-data-source> to Resource ID 'My Unmanaged DataSource' from 'null'
2011-02-10 14:14:42,875 - INFO  - Enterprise application
"C:\Programmi\apache-tomcat-6.0.32\webapps\richtest" loaded.
2011-02-10 14:14:42,875 - INFO  - Assembling app:
C:\Programmi\apache-tomcat-6.0.32\webapps\richtest
2011-02-10 14:14:43,593 - INFO  - PersistenceUnit(name=RichTestJPA,
provider=org.eclipse.persistence.jpa.PersistenceProvider) - provider time
713ms
2011-02-10 14:14:43,718 - INFO  - PersistenceUnit(name=RichTestLocal,
provider=org.eclipse.persistence.jpa.PersistenceProvider) - provider time
127ms
2011-02-10 14:14:43,750 - INFO  - Jndi(name=RichTestEJBBeanLocal) -->
Ejb(deployment-id=RichTestEJBBean)
2011-02-10 14:14:43,796 - INFO  - Created Ejb(deployment-id=RichTestEJBBean,
ejb-name=RichTestEJBBean, container=My Stateless Container)
2011-02-10 14:14:43,796 - INFO  - Deployed
Application(path=C:\Programmi\apache-tomcat-6.0.32\webapps\richtest)
It seems to be better than before.
Is this the correct deployment way?

N.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message