[Installation, Configuration & DEPLOYMENT] - Deploying ZIP/JAR files issue
by neo2008
Hi all,
during deploying ZIP or JAR files I obtain the exception (see below). Other files are being deployed fine. But zip or jar not. It says "Could not deploy sub deployment.." and "could not be opened..". I checked that files exist in specified in log folder and can be opened as valid ZIP/JAR formats. So now I don't have any idea what the problem is. Please help.
2008-07-30 22:23:27,467 DEBUG [main] [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@b8b2ef67{ url=file:/C:/build-capri/eds-server/deploy, deployedLastModified=0 }
org.jboss.deployment.DeploymentException: Could not deploy sub deployment 1996_update.zip of deployment file:/C:/build-capri/eds-server/deploy; - nested throwable: (org.jboss.deployment.DeploymentException: url file:/C:/build-capri/eds-server/deploy/Raw+Data+Load/dataload/xml/1996_update.zip could not be opened, does it exist?)
at org.jboss.deployment.SubDeployerSupport.deployUrl(SubDeployerSupport.java:557)
at org.jboss.deployment.SubDeployerSupport.addDeployableFiles(SubDeployerSupport.java:451)
at org.jboss.deployment.SubDeployerSupport.addDeployableFiles(SubDeployerSupport.java:462)
at org.jboss.deployment.SubDeployerSupport.addDeployableFiles(SubDeployerSupport.java:462)
at org.jboss.deployment.SubDeployerSupport.addDeployableFiles(SubDeployerSupport.java:462)
at org.jboss.deployment.SubDeployerSupport.processNestedDeployments(SubDeployerSupport.java:369)
at org.jboss.deployment.SubDeployerSupport.init(SubDeployerSupport.java:284)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:872)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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 $Proxy9.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(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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:508)
at java.lang.Thread.run(Unknown Source)
Caused by: org.jboss.deployment.DeploymentException: url file:/C:/build-capri/eds-server/deploy/Raw+Data+Load/dataload/xml/1996_update.zip could not be opened, does it exist?
at org.jboss.deployment.DeploymentInfo.(DeploymentInfo.java:214)
at org.jboss.deployment.SubDeployerSupport.deployUrl(SubDeployerSupport.java:552)
thanks,
Alexey
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167721#4167721
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167721
16 years, 5 months
[JBoss Messaging] - How to send messages to a remote clustered queue (using HAJN
by TheOverlord
In trying to figure out how to send a message to a REMOTE clustered queue using HAJNDI from a JBoss AS (with no queue on it).
So this is the setup:
JBass AS (machine1) is sending a message to a clustered queue on (machine2 and machine 3).
The clustered queues reside on machine2 and machine3 but not on machine1.
machine2 and machine3 are part of the same partition cluster.
machine1 is NOT part of the same cluster as machine2/machine3.
So from machine1, i tried this:
| Hashtable properties = new Hashtable();
| properties.put("java.naming.provider.url", "machine2:1100, machine3:1100");
| properties.put("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory");
| properties.put("java.naming.factory.url.pkgs", "jboss.naming:org.jnp.interfaces");
| Context context = new InitialContext(properties);
|
I tried to get the managed connection factory of the remote cluster but I couldn't find it using this code:
| // Thhis failed to find anything
| context.lookup("java:/JmsXA")
|
I also need to lookup the remote queue and again I couldn't find anything
| // This failed
| context.lookup("queue/MyQueue");
|
I'm totally confused.
How do I do this?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167703#4167703
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167703
16 years, 5 months
[JBoss/Spring Integration] - Using JBoss Spring Deployer
by joga
Hi,
I wanted to deploy my service component using Spring on JBoss, and then access this component from Swing client using RMI. This is what I did:
- Downloaded the spring-deploer.zip
- Copied the jboss-spring-jdk5.deployer to Jboss server\default\deploy folder.
- Copied my component jar to the server\default\lib folder
- Created a stockmgr-spring.xml, which has my bean declarations and RmiServiceExporter, and copied to the deploy folder. I could see the Jboss deploy messages without any errors.
On the client side I did the required config for spring. When I try to get the reference to my component, I get errors "Connection refused".
Versions of my softwares:
JBoss: 4.2.1
Spring: 2.0.7
JDK: 1.6.0_05
Is there anything I am doing wrong ? I can post my config files, if required.
Thanks & Regards,
Joga
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167700#4167700
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167700
16 years, 5 months