[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: access MainDeployer in JBoss 5

2007-07-24 Thread editha
I also use Beta 2. when I try to deploy the war with jboss.system:service=MainDeployer i get the following error: No deployer found for url: file: c:\mywar.war When I list the deployers that are registered with the Maindeployer only jboss.system:service=ServiceDeployer is returned. This

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: access MainDeployer in JBoss 5

2007-07-19 Thread editha
Thank you for your answer. I want to access the maindeployer programatically in jboss 5. in Jboss 4 i used tha maindeployer to deploy a war with RMI: javax.management.ObjectName maindeployer = new javax.management.ObjectName(jboss.system:service=MainDeployer); | |

[jboss-user] [Installation, Configuration DEPLOYMENT] - access MainDeployer in JBoss 5

2007-07-18 Thread editha
Hello, I'd like to know how to acess the MainDeployer in Jboss 5. The Wiki entry (http://wiki.jboss.org/wiki/Wiki.jsp?page=MainDeployer) of the Maindeployer says that in JBoss4 the MBean jboss.system:service=MainDeployer can be used to acess the MainDeployer. However for JBoss5 it only says

[jboss-user] [Management, JMX/JBoss] - Re: Jboss 5: jmx not bound

2007-06-29 Thread editha
I solved the problem. The error ocurred because RMIAdaptor rmiadaptor = (RMIAdaptor)jndiContext.lookup(jmx/rmi/RMIAdaptor); was called before the jmx-remoting.sar was deployed. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4059192#4059192 Reply to the post :

[jboss-user] [Management, JMX/JBoss] - Jboss 5: jmx not bound

2007-06-28 Thread editha
Hi! I'm trying to deploy my application, which is already running on Jboss 4, in jboss 5 beta. When I try to lookup the RMIAdaptor with Properties p = new Properties(); p.put(java.naming.factory.initial,org.jnp.interfaces.NamingContextFactory); |

[jboss-user] [Beginners Corner] - jsp not found when UseJBossWebLoader = true

2007-03-27 Thread editha
My application works when UseJbosswebloader=false in jboss-service.xml. Due to some requirements I need to set usejbosswebloader=true. But when I do that, I get a nullpointerexception when I insert a html link page e.g. html:link page=/jsps/login.jsp into my jsp. Does anyone know why that is?

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Hibernate: NoClassDefFoundError

2007-01-26 Thread editha
Hi! I use jboss 4.0.4-Ga with Hibernate2. I also need a scoped repository for the application that uses hibernate. When the application is about to be deployed the Exception NoClassDefFoundError: net/sf/cglib/KeyFactory is thrown although the cglib.jar is in the WEB-INF/lib directory as well

[jboss-user] [Installation, Configuration Deployment] - build jboss source

2006-12-20 Thread editha
I downloaded the file jboss-4.0.4.GA-src.tar, extracted it and tried to run the build.bat file in the build directory but building the source fails. Here is the log: anonymous wrote : configure: | [echo] groups: most | [echo] modules:

[jboss-user] [Beginners Corner] - Scoping classes

2006-12-07 Thread editha
In chapter 2 of the jboss application server guide, i found the following sentence concerning scoped classloading: With deployment based scoping, each deployment creates its own class loader repository in the form of a HeirarchicalLoaderRepository3 that looks first to the UnifiedClassLoader3

[jboss-user] [Installation, Configuration Deployment] - Re: JBoss Custom Application loader

2006-12-01 Thread editha
Has anybody already done that? Because I have a similiar problem, I also need to load my application with a custom classloader. And I do not know how to solve that task. I am looking forward to your answers! Edith View the original post :

[jboss-user] [Beginners Corner] - use custom classloader instead of ucl

2006-11-22 Thread editha
As far as I understand jboss classloading, for every application a ucl (you can find out which ucl it is by mydeploymentinfo.ucl ) is created when the application is deployed, that does the classloading for this application. Is there any possibility to substitute this ucl with a custom

[jboss-user] [Beginners Corner] - problem with classloader repository

2006-11-11 Thread editha
I have a war file. and i want to use my own classloader instance for loading this war file. I can now add loader-repositorycom.example:loader=mywar.war /loader repository to my jboss-web.xml. This means that my war has it's own classloader repository and when the war is loaded, first the

[jboss-user] [Management, JMX/JBoss] - ClassLoaderRepository

2006-11-07 Thread editha
I get the HierachicalClassLoaderRepository3 of a .war via its mbean Objectname. I would like to add to this repository an instance of (my own) URLClassLoader implementation, because I want this .war to use this classloader instance. The Problem is that I only see a registerClassLoader() method

[jboss-user] [Beginners Corner] - Re: jmx-console

2006-11-06 Thread editha
Now I'm facing another problem: Invoking some methods of the LoaderRepository mbean works, and invoking other methods doesn't work: e.g. mconn.invoke(new ObjectName(mbean), getUrls, new Object[]{} ,newString[]{}); works, whereas mconn.invoke(new ObjectName(mbean), getLoaders, new Object[]{}

[jboss-user] [Beginners Corner] - Re: jmx-console

2006-11-06 Thread editha
Thank you for your quick answer. Where do you see that? I was looking at the jboss LoaderRepository class... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3983479#3983479 Reply to the post :

[jboss-user] [Beginners Corner] - Re: jmx-console

2006-11-04 Thread editha
Thank you very much! I was indeed looking at the wring name. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3983225#3983225 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3983225

[jboss-user] [Beginners Corner] - jmx-console

2006-11-03 Thread editha
In the documentation it says that the jmx-console provides a listing of all MBeans registered with the MBeanServer. but when I try: myrmiadaptor.invoke(new javax.management.ObjectName(JMImplementation:service=LoaderRepository,getLoaders,new Object[]{},newString[]{}); I get a

[jboss-user] [Beginners Corner] - Re: jmx-console

2006-11-03 Thread editha
Thank you for your answer! I tried to do it your way but it still isn't working. I still get the MBeanException caused by the InstanceNotFoundException.. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3983024#3983024 Reply to the post :

[jboss-user] [Management, JMX/JBoss] - Re: classloader issue: deployment at runtime

2006-10-27 Thread editha
Thank you for your answer! In my case, warA calls the invoke method to deploy warB. My Problem is that the classloader for warB is generated at runtime in warA. Is it still possible to set up the classloader in the jboss-web.xml of warB? How do I do that? View the original post :

[jboss-user] [Beginners Corner] - Re: Classloader issue: deployment at runtime

2006-10-25 Thread editha
Well, it was a bit late when I wrote my posting yesterday. What I actually mean is, I need to run this war file with my own custom CLASSLOADER. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3980692#3980692 Reply to the post :

[jboss-user] [Management, JMX/JBoss] - classloader issue: deployment at runtime

2006-10-25 Thread editha
with RMI and the MainDeplyoer I deploy a war file in jboss: RMIAdaptor server = (RMIAdaptor)jndiContext.lookup(jmx/rmi/RMIAdaptor); javax.management.ObjectName name = new javax.management.ObjectName(jboss.system:service=MainDeployer); server.invoke(name,deploy,new Object[]{deployurl},new

[jboss-user] [Beginners Corner] - Classloader issue: deployment at runtime

2006-10-24 Thread editha
with RMI and the MainDeplyoer I deploy a war file in jboss: RMIAdaptor server = (RMIAdaptor)jndiContext.lookup(jmx/rmi/RMIAdaptor); javax.management.ObjectName name = new javax.management.ObjectName(jboss.system:service=MainDeployer); server.invoke(name,deploy,new Object[]{deployurl},new

[jboss-user] [Beginners Corner] - classes in /WEB-INF/classes not found

2006-10-18 Thread editha
Hi! I have the following problem: my jsp works fine with the imported classes when I deploy the application with the deploymentscanner in jboss-service.xml. When I deploy the application on runtime with the RMIAdaptor, suddenly the jsp does not find the imported classes anymore. Any

[jboss-user] [Beginners Corner] - Re: MainDeployer: Could not make local copy for ...

2006-10-12 Thread editha
I solved the problem with the three slashes: mymaindeployer.deploy(new URL(file:/c:/test.war) but I still get this error message (now with three slashes): Could not make copy for file:///c:/test.war View the original post :

[jboss-user] [Beginners Corner] - Re: MainDeployer: Could not make local copy for ...

2006-10-12 Thread editha
I found out what my real problem is: A Nullpointerexception is thrown in the inLocalCopyDir method of the MainDeployer. It seems that the tempDirString variable has no value. Can anybody tell me how to assign a value to that variable? View the original post :

[jboss-user] [Beginners Corner] - current Instance of Maindeployer

2006-10-11 Thread editha
Hi! Is there a way to get the current instance of the MainDeployer? Thank you! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977565#3977565 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977565

[jboss-user] [Beginners Corner] - MainDeployer: Could not make local copy for ...

2006-10-11 Thread editha
When I call the deploy(url) method of the MainDeployer, I always get the following error: Could not make copy for file:/c:/test.war What could be the reasons for this error? My url looks like this: file:/c:/test.war Could the url be the problem? View the original post :

[jboss-user] [Beginners Corner] - Re: MainDeployer: Could not make local copy for ...

2006-10-11 Thread editha
Thank you for your answer! Unfortunately it still does not work. When I write something like mymaindeployer.deploy(new URL(file:///c:/test.war)); I still get the Error message Could not make copy for file:/c:/test.war Somehow the two additional slashes disappear View the original post

[jboss-user] [Beginners Corner] - setting my own classloader

2006-10-09 Thread editha
I have a main war application running in jboss. This war application contains other wars, ears etc. as plugins. These wars, ears, etc. need each a special classloader. Is there something like context.setclassloader( because I need to set the classloaders in the source code of the main

[jboss-user] [EJB 3.0] - embedded ejb 3.0 and entity beans

2006-08-10 Thread editha
The ejb3.0 page says: JBoss EJB 3.0, also gives you the ability to use Session Beans and Message Driven Beans out of the application server in standalone programs What about entity beans? Are there any limitations concerning entity beans? Thanks in advance, editha View the original post