[JBoss-user] [Beginners Corner] - deployment problem

2005-01-04 Thread repkin
hi I cant deploy simple ejb application, I want to explain what I have done and 
please tell me what I am missing

I have this files

myWebApp.jar
/index.jsp
/WEB-INF(dir)
|/web.xml
|/classes(dir)
|| /myejb(dir)
||/myConnector.class
||/myConnectorBean.class
||/myConnectorHome.class
|/lib(dir)
|   /mysql_jdbc.jar
/META-INF
  /MANIFEST.MF

Is there any missing file, after that how can I deploy this war file to jboss? 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3860675#3860675

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3860675


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Deployment problem with a simple EJB example

2004-12-07 Thread PeaceMaker88
Hi,
I want to reproduce an EJB tutorial and want to deploy Konto.jar into JBoss 
4.0.0. So, I put it into the default/deploy directoy and I got the following 
error message:
anonymous wrote : 13:29:33,581 WARN  [verifier] EJB spec violation:
  | Bean   : KontoBean
  | Method : public abstract double abheben(int) throws RemoteException
  | Section: 6.10.5
  | Warning: The methods defined in the remote interface must have a matching 
method
  |  in the bean's class with the same name and same number and types of 
arguments.
  | 
  | 13:29:33,591 WARN  [verifier] EJB spec violation:
  | Bean   : KontoBean
  | Method : public abstract void einzahlen(int) throws RemoteException
  | Section: 6.10.5
  | Warning: The methods defined in the remote interface must have a matching 
method
  |  in the bean's class with the same name and same number and types of 
arguments.
  | 
  | 13:29:33,611 ERROR [MainDeployer] could not create deployment: 
file:/D:/jboss-4.
  | 0.0/server/default/deploy/Konto.jar
  | org.jboss.deployment.DeploymentException: Verification of Enterprise Beans 
faile
  | d, see above for error messages.
  | at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:553)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:889)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:745)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:709)
  | at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  | sorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
  | er.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
  | or.java:119)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
  | BeanOperationInterceptor.java:131)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
  | java:242)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  | at $Proxy8.deploy(Unknown Source)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
  | tScanner.java:305)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
  | canner.java:481)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
  | doScan(AbstractDeploymentScanner.java:204)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
  | bstractDeploymentScanner.java:277)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
  | upport.java:271)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
  | eanSupport.java:221)
  | at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  | sorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
  | er.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
  | java:242)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
  | ler.java:891)
  | at $Proxy0.start(Unknown Source)
  | at 
org.jboss.system.ServiceController.start(ServiceController.java:416)
  | at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  | sorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
  | er.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
  | java:242)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  | at $Proxy4.start(Unknown Source)
  | at 

[JBoss-user] [Beginners Corner] - deployment problem

2004-09-12 Thread daSzadol
Jboss 3.2.5 and Eclipse 3.0

I have a problem with deployment: I've made .jar and .jardesc files and put them into 
/server/default/deploy/ dir of jboss.
After server start i got this :

23:23:09,187 WARN  [JARDeployer] Failed to add deployable jar: 
file:/C:/jboss-3.2.5/server/default/tmp/deploy/tmp34069build.jardesc
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(Unknown Source)
at java.util.jar.JarFile.(Unknown Source)
at java.util.jar.JarFile.(Unknown Source)
at 
org.jboss.deployment.SubDeployerSupport.processNestedDeployments(SubDeployerSupport.java:241)
at org.jboss.deployment.SubDeployerSupport.init(SubDeployerSupport.java:139)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:700)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:635)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)



I know ( I suppose ) that tmp34069build.jardesc is copy of by build.jardesc, it in 
temp with copy of my jar file.
Exception appears at native 'open' call.
Project ( sample from ejb book ), jar and jardesc file was made with Eclipse.

Help me please...


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3847957#3847957

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847957


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Deployment problem

2004-06-08 Thread Poppenborg
Hi,

i have got a problem deploying an MBean for connecting to a Datasource.

The Error comes from the URLDeploymentScanner which mentioned that there MBeans 
waiting for other MBeans.

[ObjectName: jboss.jca:service=LocalTxCM,name=cachePoolWWS
  |  state: CONFIGURED
  |  I Depend On:   jboss.jca:service=LocalTxDS,name=cachePoolWWS
  |   jboss.jca:service=LocalTxPool,name=cachePoolWWS
  |   jboss.jca:service=CacheConnectionManager
  |   jboss.security:name=JaasSecurityManager
  |   jboss.jca:service=RARDeployer
  |  Depends On Me: ]

Then i checked the jmx-console and there are all above mentioned MBeans shown and only 
LocalTxCM has as state string STOPPED. When i use the MBean operation start the 
MBean starts without an error message.

Why doesn't the MBean start in normal startup of the whole server?

I am using JBoss 3.0.8 because it is supported from Intersystems Cach

Regards
Franz

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3837965#3837965

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3837965


---
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user