RE: deploying Axis under WebLogic

2009-11-23 Thread Vance
I was able to get Axis version 1.4 deployed under WebLogic 10.3, but not 
version 1.5.
 
But with version 1.4, there's nothing listed under 'Web Services'.
 

--- On Fri, 11/20/09, McCoy, Daniel (HTSC) daniel.mc...@htsco.com wrote:


From: McCoy, Daniel (HTSC) daniel.mc...@htsco.com
Subject: RE: deploying Axis under WebLogic
To: axis-user@ws.apache.org
Date: Friday, November 20, 2009, 6:38 PM



Check this link out. Pretty comprehensive.
 
http://charithaka.blogspot.com/2008/07/how-to-deploy-apache-axis2-on-weblogic.html
 

Dan McCoy
Architect
Office of the CTO
8 Farms Springs
Farmington, CT 06032
(860) 409-8170
daniel.mc...@thehartford.com
 



From: Vance [mailto:aroc...@yahoo.com] 
Sent: Friday, November 20, 2009 6:35 PM
To: axis-user@ws.apache.org
Subject: deploying Axis under WebLogic







Is there documentation somewhere describing how to deploy Axis (1.x) under 
WebLogic 10 ?

This communication, including attachments, is for the exclusive use of 
addressee and may contain proprietary, confidential and/or privileged 
information.  If you are not the intended recipient, any use, copying, 
disclosure, dissemination or distribution is strictly prohibited.  If you are 
not the intended recipient, please notify the sender immediately by return 
e-mail, delete this communication and destroy all copies.




  

deploying Axis under WebLogic

2009-11-20 Thread Vance
Is there documentation somewhere describing how to deploy Axis (1.x) under 
WebLogic 10 ?


  

RE: deploying Axis under WebLogic

2009-11-20 Thread McCoy, Daniel (HTSC)
Check this link out. Pretty comprehensive.
 
http://charithaka.blogspot.com/2008/07/how-to-deploy-apache-axis2-on-web
logic.html
 
Dan McCoy
Architect
Office of the CTO
8 Farms Springs
Farmington, CT 06032
(860) 409-8170
daniel.mc...@thehartford.com mailto:daniel.mc...@thehartford.com 
 



From: Vance [mailto:aroc...@yahoo.com] 
Sent: Friday, November 20, 2009 6:35 PM
To: axis-user@ws.apache.org
Subject: deploying Axis under WebLogic


Is there documentation somewhere describing how to deploy Axis (1.x)
under WebLogic 10 ?


This communication, including attachments, is for the exclusive use of 
addressee and may contain proprietary, confidential and/or privileged 
information.  If you are not the intended recipient, any use, copying, 
disclosure, dissemination or distribution is strictly prohibited.  If you are 
not the intended recipient, please notify the sender immediately by return 
e-mail, delete this communication and destroy all copies.



RE: deploying Axis under WebLogic

2009-11-20 Thread Vance
Will do, thanks, Dan

--- On Fri, 11/20/09, McCoy, Daniel (HTSC) daniel.mc...@htsco.com wrote:


From: McCoy, Daniel (HTSC) daniel.mc...@htsco.com
Subject: RE: deploying Axis under WebLogic
To: axis-user@ws.apache.org
Date: Friday, November 20, 2009, 6:38 PM



Check this link out. Pretty comprehensive.
 
http://charithaka.blogspot.com/2008/07/how-to-deploy-apache-axis2-on-weblogic.html
 

Dan McCoy
Architect
Office of the CTO
8 Farms Springs
Farmington, CT 06032
(860) 409-8170
daniel.mc...@thehartford.com
 



From: Vance [mailto:aroc...@yahoo.com] 
Sent: Friday, November 20, 2009 6:35 PM
To: axis-user@ws.apache.org
Subject: deploying Axis under WebLogic







Is there documentation somewhere describing how to deploy Axis (1.x) under 
WebLogic 10 ?

This communication, including attachments, is for the exclusive use of 
addressee and may contain proprietary, confidential and/or privileged 
information.  If you are not the intended recipient, any use, copying, 
disclosure, dissemination or distribution is strictly prohibited.  If you are 
not the intended recipient, please notify the sender immediately by return 
e-mail, delete this communication and destroy all copies.




  

RE: deploying Axis under WebLogic

2009-11-20 Thread McCoy, Daniel (HTSC)
Hello,

I have written a custom handler to deal with a soap header with
mustunderstand=1
The problem that I'm haviing is after the server (hosting the service)
starts it deploys the service and upon deployment my customhandler
causes a ClassNotFoundException

Here's a partial stack trace I have changed some names for securioty
purposes.
I am deploying on Weblogic server 10.3

My question(s) is(are) this... What do I need in order for this class to
be found by axis2? 

Should I be packging the handler under an apache package
(org.apache.axis2.handlers)?  

Thanks!
DFM

 org.apache.axis2.deployment.DeploymentException:
com.company.level.utility.MyHandler
 at org.apache.axis2.deployment.util.Utils.loadHandler(Utils.java:183)
 at
org.apache.axis2.deployment.AxisConfigBuilder.processPhaseList(AxisConfi
gBuilder.java:513)
 at
org.apache.axis2.deployment.AxisConfigBuilder.processPhaseOrders(AxisCon
figBuilder.java:544)
 at
org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigB
uilder.java:145)
 at
org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(D
eploymentEngine.java:641)
 at
org.apache.axis2.deployment.WarBasedAxisConfigurator.init(WarBasedAxis
Configurator.java:157)
 at
org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServle
t.java:516)
 at
org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:436)
 at
org.apache.axis2.transport.http.AxisAdminServlet.init(AxisAdminServlet.j
ava:55)
 at
weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubS
ecurityHelper.java:283)
 at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:321)
 at weblogic.security.service.SecurityManager.runAs(Unknown Source)
 at
weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityH
elper.java:64)
 at
weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLife
cycleHelper.java:58)
 at
weblogic.servlet.internal.StubLifecycleHelper.init(StubLifecycleHelper
.java:48)
 at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl
.java:521)
 at
weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServ
letContext.java:1893)
 at
weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(Web
AppServletContext.java:1870)
 at
weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppSe
rvletContext.java:1790)
 at
weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContex
t.java:2999)
 at
weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1
371)
 at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
 at
weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateD
river.java:204)
 at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriv
er.java:37)
 at
weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDr
iver.java:60)
 at
weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModule
Driver.java:200)
 at
weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleLis
tenerInvoker.java:117)
 at
weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateD
river.java:204)
 at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriv
er.java:37)
 at
weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDr
iver.java:60)
 at
weblogic.application.internal.flow.StartModulesFlow.activate(StartModule
sFlow.java:27)
 at
weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:
635)
 at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriv
er.java:37)
 at
weblogic.application.internal.BaseDeployment.activate(BaseDeployment.jav
a:212)
 at
weblogic.application.internal.EarDeployment.activate(EarDeployment.java:
16)
 at
weblogic.application.internal.DeploymentStateChecker.activate(Deployment
StateChecker.java:162)
 at
weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppCo
ntainerInvoker.java:79)
 at
weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDepl
oyment.java:184)
 at
weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServer
Lifecycle(BasicDeployment.java:361)
 at
weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(Deplo
ymentAdapter.java:51)
 at
weblogic.management.deploy.internal.DeploymentAdapter.activate(Deploymen
tAdapter.java:196)
 at
weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTra
nsition.java:30)
 at
weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps
(ConfiguredDeployments.java:233)
 at
weblogic.management.deploy.internal.ConfiguredDeployments.activate(Confi
guredDeployments.java:169)
 at
weblogic.management.deploy.internal.ConfiguredDeployments.deploy(Configu
redDeployments.java:123)
 at
weblogic.management.deploy.internal.DeploymentServerService.resume(Deplo
ymentServerService.java:173)
 at

RE: deploying Axis under WebLogic

2009-11-20 Thread Martin Gainty

if i can convince you to use maven build environment i would suggest packaging 
all of the classes and service.xml into aar archive and then use the admin 
interface to deploy

in which case you can use the maven-aar plugin
http://ws.apache.org/axis2/tools/1_4/maven-plugins/maven-aar-plugin.html

i would look at the pom.xml in $AXIS2_HOME/modules/samples/version for a 
running pom.xml to use

hth
Martin Gainty 
__ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.




 Subject: RE: deploying Axis under WebLogic
 Date: Fri, 20 Nov 2009 18:53:46 -0500
 From: daniel.mc...@htsco.com
 To: axis-user@ws.apache.org
 
 Hello,
 
 I have written a custom handler to deal with a soap header with
 mustunderstand=1
 The problem that I'm haviing is after the server (hosting the service)
 starts it deploys the service and upon deployment my customhandler
 causes a ClassNotFoundException
 
 Here's a partial stack trace I have changed some names for securioty
 purposes.
 I am deploying on Weblogic server 10.3
 
 My question(s) is(are) this... What do I need in order for this class to
 be found by axis2? 
 
 Should I be packging the handler under an apache package
 (org.apache.axis2.handlers)?  
 
 Thanks!
 DFM
 
  org.apache.axis2.deployment.DeploymentException:
 com.company.level.utility.MyHandler
  at org.apache.axis2.deployment.util.Utils.loadHandler(Utils.java:183)
  at
 org.apache.axis2.deployment.AxisConfigBuilder.processPhaseList(AxisConfi
 gBuilder.java:513)
  at
 org.apache.axis2.deployment.AxisConfigBuilder.processPhaseOrders(AxisCon
 figBuilder.java:544)
  at
 org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigB
 uilder.java:145)
  at
 org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(D
 eploymentEngine.java:641)
  at
 org.apache.axis2.deployment.WarBasedAxisConfigurator.init(WarBasedAxis
 Configurator.java:157)
  at
 org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServle
 t.java:516)
  at
 org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:436)
  at
 org.apache.axis2.transport.http.AxisAdminServlet.init(AxisAdminServlet.j
 ava:55)
  at
 weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubS
 ecurityHelper.java:283)
  at
 weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
 bject.java:321)
  at weblogic.security.service.SecurityManager.runAs(Unknown Source)
  at
 weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityH
 elper.java:64)
  at
 weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLife
 cycleHelper.java:58)
  at
 weblogic.servlet.internal.StubLifecycleHelper.init(StubLifecycleHelper
 .java:48)
  at
 weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl
 .java:521)
  at
 weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServ
 letContext.java:1893)
  at
 weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(Web
 AppServletContext.java:1870)
  at
 weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppSe
 rvletContext.java:1790)
  at
 weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContex
 t.java:2999)
  at
 weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1
 371)
  at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
  at
 weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateD
 river.java:204)
  at
 weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriv
 er.java:37)
  at
 weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDr
 iver.java:60)
  at
 weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModule
 Driver.java:200)
  at
 weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleLis
 tenerInvoker.java:117)
  at
 weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateD
 river.java:204)
  at
 weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriv

RE: deploying Axis under WebLogic

2009-11-20 Thread McCoy, Daniel (HTSC)
Thanks for the info but we don't have maven approved for use in our standard 
IDE. I do use maven personally though (as opposed to professionally). 
I found a fairly elegant solution to the issue. Since this custom handler is 
meant to extend Axis2 native functionality I moved the class into the axis2web 
project and refered to it there. Worked like a charm and now I have the 
extension I need. :o)
 
Peace!
DFM
 
Dan McCoy
Architect
Office of the CTO
8 Farms Springs
Farmington, CT 06032
(860) 409-8170
daniel.mc...@thehartford.com mailto:daniel.mc...@thehartford.com 
 



From: Martin Gainty [mailto:mgai...@hotmail.com] 
Sent: Friday, November 20, 2009 7:37 PM
To: axis-user@ws.apache.org
Subject: RE: deploying Axis under WebLogic


if i can convince you to use maven build environment i would suggest packaging 
all of the classes and service.xml into aar archive and then use the admin 
interface to deploy

in which case you can use the maven-aar plugin
http://ws.apache.org/axis2/tools/1_4/maven-plugins/maven-aar-plugin.html

i would look at the pom.xml in $AXIS2_HOME/modules/samples/version for a 
running pom.xml to use

hth
Martin Gainty 
__ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité


Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.

Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.





 Subject: RE: deploying Axis under WebLogic
 Date: Fri, 20 Nov 2009 18:53:46 -0500
 From: daniel.mc...@htsco.com
 To: axis-user@ws.apache.org
 
 Hello,
 
 I have written a custom handler to deal with a soap header with
 mustunderstand=1
 The problem that I'm haviing is after the server (hosting the service)
 starts it deploys the service and upon deployment my customhandler
 causes a ClassNotFoundException
 
 Here's a partial stack trace I have changed some names for securioty
 purposes.
 I am deploying on Weblogic server 10.3
 
 My question(s) is(are) this... What do I need in order for this class to
 be found by axis2? 
 
 Should I be packging the handler under an apache package
 (org.apache.axis2.handlers)? 
 
 Thanks!
 DFM
 
 org.apache.axis2.deployment.DeploymentException:
 com.company.level.utility.MyHandler
 at org.apache.axis2.deployment.util.Utils.loadHandler(Utils.java:183)
 at
 org.apache.axis2.deployment.AxisConfigBuilder.processPhaseList(AxisConfi
 gBuilder.java:513)
 at
 org.apache.axis2.deployment.AxisConfigBuilder.processPhaseOrders(AxisCon
 figBuilder.java:544)
 at
 org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigB
 uilder.java:145)
 at
 org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(D
 eploymentEngine.java:641)
 at
 org.apache.axis2.deployment.WarBasedAxisConfigurator.init(WarBasedAxis
 Configurator.java:157)
 at
 org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServle
 t.java:516)
 at
 org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:436)
 at
 org.apache.axis2.transport.http.AxisAdminServlet.init(AxisAdminServlet.j
 ava:55)
 at
 weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubS
 ecurityHelper.java:283)
 at
 weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
 bject.java:321)
 at weblogic.security.service.SecurityManager.runAs(Unknown Source)
 at
 weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityH
 elper.java:64)
 at
 weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLife
 cycleHelper.java:58)
 at
 weblogic.servlet.internal.StubLifecycleHelper.init(StubLifecycleHelper
 .java:48)
 at
 weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl
 .java:521)
 at
 weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServ
 letContext.java:1893)
 at
 weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(Web
 AppServletContext.java:1870)
 at
 weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppSe
 rvletContext.java:1790)
 at
 weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContex
 t.java:2999)
 at
 weblogic.servlet.internal.WebAppModule.startContexts