Hi Deepal;

Jboss uses Tomcat as a web containing mechanism but classloading mechanism is 
different. So some extra effort is needed to deploy applications. I also 
noticed that axis2 1.4.0-1.4.1 war is not deploying on jboss and I have to work 
with version 1.3 .... I am also searching and trying to run it . If you find 
any hint about it I will be pleased because I have not people to ask about it 
around.

Yours

 Ibrahim DEMIR
CyberSoft Yazilim Muh.
http://www.ibrahimdemir.org

     
           
     



----- Original Message ----
From: Deepal jayasinghe <[EMAIL PROTECTED]>
To: [email protected]
Sent: Sunday, October 12, 2008 3:44:44 AM
Subject: Re: Classes in classpath (Axis2)


> Hi Deepal;
>
> Thanks for the reply and excuses for the latency but I can not run my
> service till it is in the web-inf /classes directroy of the axis2 war.
Hmm ,I am not that familiar with JBoss class loader , what I suggested
was the way Tomcat works.
> So As far as I understand it first checks in side the aar file then
> the war archive. But it can not get out of the war archive. So I had
> to duplicate my classes in both jboss global classpath and
> axis2.war/web-inf/classes but this is not a preferable way for me.
You do not need to duplicate , I mean it in not necessary. Class loader
will find from only one location , as you mentioned that will be the
web-inf classes.
>
> I belive I must do some mapping my be I must put the war file in an
> ear but I do not know how my congisuration should be. Is there any
> reccomendation or samğle code that runs out of the war archive file.So
> my earlier question was not enough. I also want to take the classes
> out of the war file...
>
I am sorry , I do not have an answer now . But I will try to give some
hint soon.

-Deepal
> I will be very pleased if you help.
>
> Yours.
>
>
>  
> Ibrahim DEMIR
> CyberSoft Yazilim Muh.
> http://www.ibrahimdemir.org
>      
>            
>      
>
>
> ----- Original Message ----
> From: Deepal Jayasinghe <[EMAIL PROTECTED]>
> To: [email protected]
> Sent: Friday, October 10, 2008 3:39:33 PM
> Subject: Re: Classes in classpath (Axis2)
>
>
>
> > Hi All;
> >
> > I have a problem about classpath and classes . I have written my
> > request handler and published it using axis2.war and added my classes
> > in a aar file by defining its package and class name in services.xml
> > and it works fine .. (I am on Jboss 4.0.3)
> >
> > Now I want to remove the class files from my aar and want to show
> > classes within a jar or a classpath folder which is in jboss global
> > classpath. Is it possible to do something like that.
> Yes you can do that. It is not a requirement to have all the classes
> inside the aar file , if you want you can have them in the application
> class path as well.
> > I think changing the package name in services.xml will not be enaough.
> If you are not going to change the package name in your class then you
> do not need to touch the services.xml
> > What sould I do in order to publish a class out of aar archive.
>
> -Deepal
> >
> > I could not find enough information on the net so I wanted to get help
> > from you.
> >
> > Yours
> > 
> > Ibrahim DEMIR
> > CyberSoft Yazilim Muh.
> > http://www.ibrahimdemir.org
> >    
> >          
> >    
> >
> >
>
> -- 
> Thank you!
>
>
> http://blogs.deepal.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>
>
>


-- 
Thank you!


http://blogs.deepal.org


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


      

Reply via email to