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
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);
|
|
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
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 :
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);
|
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?
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
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:
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
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 :
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
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
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
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[]{}
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 :
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
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
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 :
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 :
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 :
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
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
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
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 :
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 :
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
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 :
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
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
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
30 matches
Mail list logo