Error while deploying a CAF DC
Hi,
I am trying to deploy a CAF DC on my J2EE server. I am getting the following error.
May 10, 2006 6:45:34 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
[004]Deployment aborted
Settings
SDM host : INLD50047267A
SDM port : 53018
URL to deploy : file:/C:/DOCUME1/i033508/LOCALS1/Temp/temp51837sap.comiscmpmopbl.ear
Result
=> deployment aborted : file:/C:/DOCUME1/i033508/LOCALS1/Temp/temp51837sap.comiscmpmopbl.ear
Aborted: development component 'is/cmp/mop/bl'/'sap.com'/'MAIN_ISCdev_D'/'20060510184313':
Caught exception during application deployment from SAP J2EE Engine's deploy service:
java.rmi.RemoteException: Cannot deploy application sap.com/iscmpmopbl.. Reason: Exception during generation of components of application sap.com/iscmpmopbl in container EJBContainer.; nested exception is: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application sap.com/iscmpmop~bl in container EJBContainer.
(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
Deployment exception : The deployment of at least one item aborted
Add a reference
<reference
reference-type="weak">
<reference-target
provider-name="sap.com"
target-type="library">cafruntimeapi~lib</reference-target>
</reference>
in your application-j2ee-engine.xml
then try rebuild and deploy
Similar Messages
-
Error while deploying a composite application
Hi
I have an error while deploying my composite application.
It says
java.lang.NoClassDefFoundError: com/sap/caf/ui/utils/cool/CoolConnectionProperties
The versions of my NWDS and WAS are 7.0.Please help.
Thanks,
ms.Hi
I have added references to libraries with hard reference type.I also added the dc
tc/conn/connectorframework.
I still have errors
=> deployment aborted : file:/C:/DOCUME1/pr46715/Local Settings/Temp/temp28823sap.comcarpool~permissions.sda
Aborted: development component 'carpool/permissions'/'sap.com'/'local'/'20070702161445':
Caught exception during access of archive "E:\usr\sap\NWS\DVEBMGS01\SDM\root\origin\sap.com\carpool\permissions\local\20070702161445\temp28823sap.comcarpoolpermissions.sda":
java.lang.RuntimeException: ERROR: Cannot initialize EARReader: Error while initializing Extended Ear Reader using file: E:\usr\sap\NWS\DVEBMGS01\SDM\root\origin\sap.com\carpool\permissions\local\20070702161445\temp28823sap.comcarpoolpermissions.sda. Reason: Exception occurred while reading ear descriptor xml. Reason: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: </ expected(META-INF/application-j2ee-engine.xml, row:10, col:25)Exception is:
=> deployment aborted : file:/C:/DOCUME1/pr46715/Local Settings/Temp/temp28822sap.comcarpool.ear
Aborted: development component 'carpool'/'sap.com'/'local'/'20070702165134':
Caught exception during application deployment from SAP J2EE Engine's deploy service:
java.rmi.RemoteException: Cannot deploy application sap.com/carpool.. Reason: Exception during generation of components of application sap.com/carpool in container EJBContainer.; nested exception is: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application sap.com/carpool in container EJBContainer.
(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
Regards
ms. -
Error While Deploying .sda File in SDM
Hi,
We have developed some GP Applications. To transport the GP Application to production system we have builded .sda file from the development portal and deployed it in SDM. But its throwing an error while deploying.
Production system details:
OS : AIX (ppc64) 5.3
EP : NW2004s SP 9
Oracle : 10.2
<b>We tried giving R/W permission to the .sda files after copying it in production. But still it throws the same error.</b>
The error we got while deploying in SDM is :
Deployment started Wed Mar 21 20:44:49 GMT+05:30 2007
===========================================================================
Starting Deployment of
com/sap/caf/eu/gp/fnd/tsp/contentD86B5900D79E11DBB0E4000D60ECF782
Aborted: development
component 'com/sap/caf/eu/gp/fnd/tsp/contentD86B5900D79E11DBB0E4000D60ECF782'/'sap.com'/'LOCAL'/'20070321165517'/'1':Caught exception during
application deployment from SAP J2EE Engine's deploy
service:java.rmi.RemoteException: Cannot deploy application
sap.com/comsapcafeugpfndtsp~contentD86B5900D79E11DBB0E4000D60ECF782.. Reason: <--Localization failed:
ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle',
ID='/usr/sap/PEP/JC02/j2ee/cluster/server0/./temp/cafeugp~model/trareader1174490093196/xlfWork/caf.eu.gp.devobj/1B319881BE5E11DBBC21000D60ECF782/1B319881BE5E11DBBC21000D60ECF782.xlf (A file or directory in the
path name does not exist.)', Arguments: []--> : Can't find resource for
bundle java.util.PropertyResourceBundle,
key /usr/sap/PEP/JC02/j2ee/cluster/server0/./temp/cafeugp~model/trareader1174490093196/xlfWork/caf.eu.gp.devobj/1B319881BE5E11DBBC21000D60ECF782/1B319881BE5E11DBBC21000D60ECF782.xlf (A file or directory in the
path name does not exist.); nested exception is:
com.sap.engine.services.deploy.container.DeploymentException: <-
-Localization failed:
ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle',
ID='/usr/sap/PEP/JC02/j2ee/cluster/server0/./temp/cafeugp~model/trareader1174490093196/xlfWork/caf.eu.gp.devobj/1B319881BE5E11DBBC21000D60ECF782/1B319881BE5E11DBBC21000D60ECF782.xlf (A file or directory in the
path name does not exist.)', Arguments: []--> : Can't find resource for
bundle java.util.PropertyResourceBundle,
key /usr/sap/PEP/JC02/j2ee/cluster/server0/./temp/cafeugp~model/trareader1174490093196/xlfWork/caf.eu.gp.devobj/1B319881BE5E11DBBC21000D60ECF782/1B319881BE5E11DBBC21000D60ECF782.xlf (A file or directory in the
path name does not exist.) (message ID:
com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
Deployment of
com/sap/caf/eu/gp/fnd/tsp/contentD86B5900D79E11DBB0E4000D60ECF782
finished with Error (Duration 8944 ms)
<b>Please guide me on how to solve this error.</b>
Kind Regards,
NirmalHi Dipankar,
I can't tell you the cause why you are facing this problem.
But I can suggest you a way that you can once again check the availability of plugins in your NWDS.
Contents of "gp_TopLevelDCs.zip" are
<b>1) sap.com caf eu gp api wd.dcref
2) sap.com caf eu gp api.dcref</b>
And
Location to Extract gp_TopLevelDcs.zip=>
<b>C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\SCs\sap.com\CAF\_comp\TopLevelDCs</b>
Contents of "gp_api_nw04s.zip" are-->
<b>1) api(folder)</b>
Location to Extract gp_api_nw04s.zip=>
<b>C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\eu\gp</b>
<b>I'm using NWDS 7.0.06</b>
Just check if this info can help you out.
Do make a reply if you stiil face the problem.
Regards,
Piyush -
Error while opening the CAF runtime configurator
Dear Experts,
I am very much new to the CAF, and working on it initially.
Let me explain what exactly i did.
1. Created a New development Project.
2. Created an entity under entity services.
3. Created an operation under operation tab. This is a findby operation which uses one of the attributes as the search criteria.
4. Saved the project.
5. Right clicked on the project and selected Generate code.
6. Now right clicked on the project, and then Selected BUILD, and in the popup i deselected Build if Neccesary check box.
7. Now right click on the project and choosen Deploy to J2EE.
8. Under Tasks/Properties tab, i am getting an error saying that, Failed to deply atleast one .Ear file. It also says that it needs administrator rights.even though user login which i used for SDM in the step 8 has Administrator role.
9. Now, when i goto the browser, and type the url: http://<host>:<port>/caf, where replacing host with my hostname and port with the port, I am getting an exception.
It says " Cluster wide exception.... " and some other thing.
Finally, I am struck up with these two errors..
1. Error while deploying it in to J2EE .
2. Unable to open CAF runtime configurator.
Hope i am clear in conveying the problem.
Need you help and guidance.
Regards,
Shashikanth. DHello,
Please check the Character formats / Text stlyes/Paragarph defined within Main window, The error is because of some inconsistency withinthe layout component.
Regards, -
Error while deploying a PAR file from NWDS into an ECC.
Hi all,
I am getting this error while deploying a PAR file from NWDS into an ECC.
Operation Failed: Please make sure the server is running or check the log (sap-plugin.log) for
more detail.
My server is running properly
1 - Where is sap-plugin.log file? I don´t find it.
2 - Could there be another file with another name with information about the error?
3 - Is there another way to deploy the file directly from the ECC?
Regards,Hi,
Just make sure you have maintained correct server setting to check the same open the NWDS and follow this path
Windows/ Prefereces / SAP Enterprise Portal
Check the following enteries
Alias
Host
Port
Login etc.
Regards, -
Error while deploying a workflow in OWB
Hi,
I am getting the below error while deploying a workflow in Control Center.
ORA-29532: Java call terminated by uncaught Java exception: java.sql.SQLException: The file /u01/app/oracle/product/11.2.0.2/dbhome_1/owb/bin/admin/rtrepos.properties cannot be accessed or has not been properly created on the server XXXXXX. If the file does not exist or if the database owner (normally user 'oracle') does not have the required file permissions or if the file has not been properly created then the file can be recreated by running the SQL*Plus script /u01/app/oracle/product/11.2.0.2/dbhome_1/owb/rtp/sql/reset_repository.sql (in a RAC environment the file must be manually copied to each server which is used for OWB). Otherwise if using a 10.2 database instance, then please run the SQL*Plus script /u01/app/oracle/product/11.2.0.2/dbhome_1/owb/UnifiedRepos/reset_owbcc_home.sql.
Did any one faced this issue before?
Kindly let me know the steps to resolve the issue.
Thanks.Hi Vidyanand,
Did you create the runtime access user using the runtime assistant? Did you select the correct runtime repository (if you have more) to associate your runtime access user with?
Note that there are 4 database roles being created when you create a runtime repository owner:
- OWB_A_<runtime repository owner>
- OWB_D_<runtime repository owner>
- OWB_R_<runtime repository owner>
- OWB_U_<runtime repository owner>
If you would grant those roles to a user, then that user becomes an access user for the user with username <runtime repository owner>.
Note that you can also use the runtime repository credentials to connect to the runtime repository for deployment purposes, but you may not want that because of security concerns.
Thanks,
Mark. -
Error While Deploying A Web Dynpro Appln thru NWDS
HI,
I am getting an error while deploying a Web Dynpro Application through NWDS.Following is the Exception
Aborted: development component '<ComponentName>'/'local'/'LOKAL'/'0.2006.07.26.15.06.05':Caught exception while checking the login credentials for SAP J2EE Engine. Check whether the SAP J2EE Engine is up and running.com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [sapsbx28] with user name: [J2EE_ADMIN] Check your login information. Exception is: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: Cannot authenticate the user.] (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMEXC)
When i give a request for deployment it asks for the SDM password. I enter a valid SDM pwd. If i enter a invalid SDM pwd i get some other exception. So the pwd SDM entered by me is correct.
can any one help me in solving this
regards
Nilesh TaunkHi Nilesh,
Try opening Visual Admin if your not able to login with username(administrator) and password. Problem with NWD2004s do the following steps.
C:\usr\sap\J2E\JC01\j2ee\configtool->configtool.bat->open it
1. Click on Secure store
2. Right you will find :
admin/password/J2E->retype your admin passowrd which you gave during installation=>SAVE properly
Restart the server and try login visual admin
Deploy now...Other wise see this thread same error solved:
Re: An Deploy Problem about Credentials.
Regards
Suresh -
Error while deploying composite in EM console
Error while deploying jar files directly from EM console.Please find the below error message and let us know how to deploy the composite.
Deploying on partition "mooa_businessservices" of "/Farm_SOADomain/SOADomain/SOAServer" ...
Deploying on "/Farm_SOADomain/SOADomain/SOAServer" failed!
Error during deployment: Deployment Failed: Unable to find a WSDL that has a definition for service {http://xmlns.oracle.com/xxxxxxx}xxxxxxx and port xxxxxxx. Please make sure that the port attribute for the binding defined in the composite file is correct by checking the namespace service name and port name. In addition check that the WSDL associated with the binding namespace is imported and currently reachable (check the import nodes at the top of the composite file). Finally validate the HTTP proxy settings for the server..Thanks for the input.
We Tried to set ListenAddress to hostname,ipaddress and localhost, still composites are not accessible with localhost for any of the three options. It seems like some network or weblogic configuration which is blocking local host 9711 port but same is accessible with hostname and ip address.
Do you have any idea on this ?
1. Host Name hostname.com
Managed Server HelloSOAServer Set the "Listen Address" to the hostname hostname.com
a. http://hostname.com:9711/soa-infra/services/default/HelloWorld/helloworldprocess_client_ep?WSDL (Accessible) - Working Fine
b. http://10.10.x.x:9711/soa-infra/services/default/HelloWorld/helloworldprocess_client_ep?WSDL (Accessible) - Working Fine
c. http://localhost:9711/soa-infra/services/default/HelloWorld/helloworldprocess_client_ep?WSDL (Not Accessible)
Either the WSDL URL is invalid or the WSDL file is not valid or incorrect. - WSDLException: faultCode=PARSER_ERROR: Failed to read wsdl file at: "http://localhost:9711/soa-infra/services/default/HelloWorld/helloworldprocess_client_ep?WSDL", caused by: java.net.ConnectException. : java.net.ConnectException: Connection refused
d. http://hostname.com:8011/soa-infra/services/default/HelloWorld/helloworldprocess_client_ep?WSDL (Not Accessible)
Error 500--Internal Server Error
java.net.ConnectException: Tried all: '1' addresses, but could not connect over HTTP to server: '127.0.0.1', port: '9711'
at weblogic.net.http.HttpClient.openServer(HttpClient.java:327)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:419)
at weblogic.net.http.HttpClient.New(HttpClient.java:246)
at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:176)
at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:361)
at weblogic.net.http.SOAPHttpURLConnection.getInputStream(SOAPHttpURLConnection.java:37)
Pasted from <http://hostname.com:8011/soa-infra/services/default/HelloWorld/helloworldprocess_client_ep?WSDL>
2. IP Address 10.10.x.x
Managed Server HelloSOAServer Set the "Listen Address" to the ipaddress 10.10.x.x
a. http://hostname.com:9711/soa-infra/services/default/HelloWorld/helloworldprocess_client_ep?WSDL (Accessible) - Working Fine
b. http://10.10.x.x:9711/soa-infra/services/default/HelloWorld/helloworldprocess_client_ep?WSDL (Accessible) - Working Fine
c. http://localhost:9711/soa-infra/services/default/HelloWorld/helloworldprocess_client_ep?WSDL (Not Accessible)
Either the WSDL URL is invalid or the WSDL file is not valid or incorrect. - WSDLException: faultCode=PARSER_ERROR: Failed to read wsdl file at: "http://localhost:9711/soa-infra/services/default/HelloWorld/helloworldprocess_client_ep?WSDL", caused by: java.net.ConnectException. : java.net.ConnectException: Connection refused
3. Local Address localhost
Managed Server HelloSOAServer Set the "Listen Address" to the localhost 127.0.0.1
a. http://hostname.com:9711/soa-infra/services/default/HelloWorld/helloworldprocess_client_ep?WSDL (Not Accessible)
b. http://10.10.x.x:9711/soa-infra/services/default/HelloWorld/helloworldprocess_client_ep?WSDL (Not Accessible)
c. http://localhost:9711/soa-infra/services/default/HelloWorld/helloworldprocess_client_ep?WSDL (Not Accessible)
Unable to retrieve composite details.
The composite HelloWorld (1.0) is not available. This could happen because either the composite has been undeployed or soa-infra has not yet loaded this -
Error while deploying configurable sku
Error while deploying configurable sku in BCC server when i give ready for review and all it gives and INFO msg as
Can't find display name resource and price in bundle and finally when i give accept for deployment the following error displayed .Please help me to resolve it thanks in advance waiting for your reply soon.
12:38:11,828 ERROR [DynamoServlet]
java.lang.NullPointerException
at atg.bizui.activity.ActivityManager.getProcessInfo(ActivityManager.ja
a:382)
at atg.bizui.activity.ActivityManager.getProcessInfo(ActivityManager.ja
a:441)
at atg.bizui.taglib.GetProcessURLTag.doStartTag(GetProcessURLTag.java:1
6)
at atg.bizui.taglib.elwrap.GetProcessURLTagWrapper.doStartTag(Unknown S
urce)
at org.apache.jsp.portlets.ProjectTodoPortlet.getTasks_jsp._jspx_meth_b
z_005fgetProcessURL_005f0(getTasks_jsp.java:1615)
at org.apache.jsp.portlets.ProjectTodoPortlet.getTasks_jsp._jspService(
etTasks_jsp.java:359)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrappe
.java:369)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
22)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
icationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(Application
ilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDis
atcher.java:638)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(Application
ispatcher.java:543)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDi
patcher.java:480)
at atg.servlet.WrappingRequestDispatcher.include(WrappingRequestDispatc
er.java:94)
at atg.servlet.ServletUtil.invokeInclude(ServletUtil.java:3552)
at atg.taglib.dspjsp.IncludeTag.doEndTag(IncludeTag.java:757)
at atg.taglib.dspjsp.elwrap.IncludeTagWrapper.doEndTag(IncludeTagWrappe
.java:41)
at org.apache.jsp.portlets.ProjectTodoPortlet.getProjects_jsp._jspx_met
dspel005finclude_005f0(getProjects_jsp.java:1192)
at org.apache.jsp.portlets.ProjectTodoPortlet.getProjects_jsp._jspx_met
c005fif_005f5(getProjects_jsp.java:1119)
at org.apache.jsp.portlets.ProjectTodoPortlet.getProjects_jsp._jspx_met
c005fforEach_005f0(getProjects_jsp.java:1077)
at org.apache.jsp.portlets.ProjectTodoPortlet.getProjects_jsp._jspx_met
c005fwhen_005f1(getProjects_jsp.java:1036)
at org.apache.jsp.portlets.ProjectTodoPortlet.getProjects_jsp._jspx_met
c005fchoose_005f1(getProjects_jsp.java:1000)
at org.apache.jsp.portlets.ProjectTodoPortlet.getProjects_jsp._jspServi
e(getProjects_jsp.java:244)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrappe
.java:369)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
22)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
icationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(Application
ilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDis
atcher.java:638)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(Application
ispatcher.java:543)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDi
patcher.java:480)
at atg.servlet.WrappingRequestDispatcher.include(WrappingRequestDispatc
er.java:94)
at atg.taglib.dspjsp.IncludeTag.doEndTag(IncludeTag.java:780)
at atg.taglib.dspjsp.elwrap.IncludeTagWrapper.doEndTag(IncludeTagWrappe
.java:41)
at org.apache.jsp.portlets.ProjectTodoPortlet.index_jsp._jspx_meth_dspe
_005finclude_005f0(index_jsp.java:2712)
at org.apache.jsp.portlets.ProjectTodoPortlet.index_jsp._jspService(ind
x_jsp.java:381)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrappe
.java:369)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
22)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
icationFilterChain.java:290)Error while deploying configurable sku in BCC server when i give ready for review and all it gives and INFO msg as
Can't find display name resource and price in bundle and finally when i give accept for deployment the following error displayed .Please help me to resolve it thanks in advance waiting for your reply soon.
12:38:11,828 ERROR [DynamoServlet]
java.lang.NullPointerException
at atg.bizui.activity.ActivityManager.getProcessInfo(ActivityManager.ja
a:382)
at atg.bizui.activity.ActivityManager.getProcessInfo(ActivityManager.ja
a:441)
at atg.bizui.taglib.GetProcessURLTag.doStartTag(GetProcessURLTag.java:1
6)
at atg.bizui.taglib.elwrap.GetProcessURLTagWrapper.doStartTag(Unknown S
urce)
at org.apache.jsp.portlets.ProjectTodoPortlet.getTasks_jsp._jspx_meth_b
z_005fgetProcessURL_005f0(getTasks_jsp.java:1615)
at org.apache.jsp.portlets.ProjectTodoPortlet.getTasks_jsp._jspService(
etTasks_jsp.java:359)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrappe
.java:369)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
22)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
icationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(Application
ilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDis
atcher.java:638)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(Application
ispatcher.java:543)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDi
patcher.java:480)
at atg.servlet.WrappingRequestDispatcher.include(WrappingRequestDispatc
er.java:94)
at atg.servlet.ServletUtil.invokeInclude(ServletUtil.java:3552)
at atg.taglib.dspjsp.IncludeTag.doEndTag(IncludeTag.java:757)
at atg.taglib.dspjsp.elwrap.IncludeTagWrapper.doEndTag(IncludeTagWrappe
.java:41)
at org.apache.jsp.portlets.ProjectTodoPortlet.getProjects_jsp._jspx_met
dspel005finclude_005f0(getProjects_jsp.java:1192)
at org.apache.jsp.portlets.ProjectTodoPortlet.getProjects_jsp._jspx_met
c005fif_005f5(getProjects_jsp.java:1119)
at org.apache.jsp.portlets.ProjectTodoPortlet.getProjects_jsp._jspx_met
c005fforEach_005f0(getProjects_jsp.java:1077)
at org.apache.jsp.portlets.ProjectTodoPortlet.getProjects_jsp._jspx_met
c005fwhen_005f1(getProjects_jsp.java:1036)
at org.apache.jsp.portlets.ProjectTodoPortlet.getProjects_jsp._jspx_met
c005fchoose_005f1(getProjects_jsp.java:1000)
at org.apache.jsp.portlets.ProjectTodoPortlet.getProjects_jsp._jspServi
e(getProjects_jsp.java:244)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrappe
.java:369)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
22)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
icationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(Application
ilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDis
atcher.java:638)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(Application
ispatcher.java:543)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDi
patcher.java:480)
at atg.servlet.WrappingRequestDispatcher.include(WrappingRequestDispatc
er.java:94)
at atg.taglib.dspjsp.IncludeTag.doEndTag(IncludeTag.java:780)
at atg.taglib.dspjsp.elwrap.IncludeTagWrapper.doEndTag(IncludeTagWrappe
.java:41)
at org.apache.jsp.portlets.ProjectTodoPortlet.index_jsp._jspx_meth_dspe
_005finclude_005f0(index_jsp.java:2712)
at org.apache.jsp.portlets.ProjectTodoPortlet.index_jsp._jspService(ind
x_jsp.java:381)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrappe
.java:369)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
22)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
icationFilterChain.java:290) -
Error while deploying EJB 1.1 on Weblogic 10.3.0.0
I am trying to deploy an EJB (1.1) jar which is succesfully running on JBoss5.0 on WebLogic 10.3.0.0; I am getting following Error while deploying the jar on weblogic;
Exception preparing module: EJBModule(ejb_RemoteServicesEjb) Unable to deploy EJB: RemoteServicesEjb.jar from RemoteServicesEjb.jar: There are 1 nested errors: weblogic.ejb.container.compliance.ComplianceException: In EJB com.package.ejbimpl.RemoteServicesEjb, the throws clause for ejbCreate method ejbCreate() contains exceptions that are NOT in the throws clause of the corresponding home interface method. at weblogic.ejb.container.compliance.HomeInterfaceChecker.checkCreateMethodsMatchBeanCreates(HomeInterfaceChecker.java:365) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at weblogic.ejb.container.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:337) at weblogic.ejb.container.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:286) at weblogic.ejb.container.ejbc.EJBCompiler.complianceCheckJar(EJBCompiler.java:952) at weblogic.ejb.container.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:920) at weblogic.ejb.container.ejbc.EJBCompiler.doCompile(EJBCompiler.java:246) at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:552) at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:519) at weblogic.ejb.container.deployer.EJBDeployer.runEJBC(EJBDeployer.java:393) at weblogic.ejb.container.deployer.EJBDeployer.compileJar(EJBDeployer.java:715) at weblogic.ejb.container.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:618) at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1154) at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:425) at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93) at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58) at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42) at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191) at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:16) at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155) at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:197) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:89) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:723) at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1190) at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:248) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Does anybody knows what must be going wrong?
Can't I deploy EJB 1.1 jar directly on Weblogic 10.3.0.0 or I need to change or configure something before doing it?Does the ejbCreate() method of the com.package.ejbimpl.RemoteServicesEjb class have an exception on it's throws clause that is not present on the ejbCreate() method of your home interface? If so, does the error go away if you add the exception to the home's ejbCreate() method? In general, you want checked exceptions in a throws clause to match between the interface declaration of the method and the implementation of the method on the bean class.
- Matt -
Getting following error while deploying my webservice on weblogic 10.3
hi
I am tring to deploy a webservice (spring + cxf ) in weblogic 10.3
applicationContext.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:jee="http://www.springframework.org/schema/jee"
xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:jaxws="http://cxf.apache.org/jaxws"
xsi:schemaLocation="
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd
http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.5.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
<!-- Scan for both Jersey Rest Annotations a -->
<import resource="classpath:META-INF/cxf/cxf.xml" />
<import resource="classpath:META-INF/cxf/cxf-extension-http-binding.xml"/>
<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
<context:component-scan base-package="com.persistent.rest"/>
<context:annotation-config />
<jaxws:endpoint
id="accountProcess"
implementor="com.persistent.rest.GetAccountListImpl"
address="/"
bindingUri="http://apache.org/cxf/binding/http" >
<jaxws:serviceFactory>
<bean class="org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean">
<property name="wrapped" value="false" />
</bean>
</jaxws:serviceFactory>
</jaxws:endpoint>
<bean>...........</bean>
</beans>
web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>springCXFWeb</display-name>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>WEB-INF/applicationContext.xml</param-value>
</context-param>
<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
<servlet>
<servlet-name>CXFServlet</servlet-name>
<servlet-class>
org.apache.cxf.transport.servlet.CXFServlet
</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>CXFServlet</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
</web-app>
Getting following error while deploying my webservice on weblogic 10.3
<Dec 4, 2009 2:04:04 PM PST> <Error> <org.springframework.web.context.ContextLoader> <BEA-000000> <Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path resource http://META-INF/cxf/cxf.xml: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
Truncated. see log file for complete stacktrace
org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
Truncated. see log file for complete stacktrace
java.lang.InternalError: erroneous handlers
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
Truncated. see log file for complete stacktrace
<Dec 4, 2009 2:04:04 PM PST> <Warning> <HTTP> <BEA-101162> <User defined listener org.springframework.web.context.ContextLoaderListener failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path resource http://META-INF/cxf/cxf.xml: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path resource http://META-INF/cxf/cxf.xml: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
Truncated. see log file for complete stacktrace
org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
Truncated. see log file for complete stacktrace
java.lang.InternalError: erroneous handlers
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
Truncated. see log file for complete stacktrace
<Dec 4, 2009 2:04:04 PM PST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1259964185054' for task '2'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1373)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
Truncated. see log file for complete stacktrace
java.lang.InternalError: erroneous handlers
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
Truncated. see log file for complete stacktrace
<Dec 4, 2009 2:04:04 PM PST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'springCXFApp'.>
<Dec 4, 2009 2:04:04 PM PST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'springCXFApp'.>
<Dec 4, 2009 2:04:04 PM PST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1373)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
Truncated. see log file for complete stacktrace
java.lang.InternalError: erroneous handlers
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
Truncated. see log file for complete stacktrace
thankshi
I am tring to deploy a webservice (spring + cxf ) in weblogic 10.3
applicationContext.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:jee="http://www.springframework.org/schema/jee"
xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:jaxws="http://cxf.apache.org/jaxws"
xsi:schemaLocation="
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd
http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.5.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
<!-- Scan for both Jersey Rest Annotations a -->
<import resource="classpath:META-INF/cxf/cxf.xml" />
<import resource="classpath:META-INF/cxf/cxf-extension-http-binding.xml"/>
<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
<context:component-scan base-package="com.persistent.rest"/>
<context:annotation-config />
<jaxws:endpoint
id="accountProcess"
implementor="com.persistent.rest.GetAccountListImpl"
address="/"
bindingUri="http://apache.org/cxf/binding/http" >
<jaxws:serviceFactory>
<bean class="org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean">
<property name="wrapped" value="false" />
</bean>
</jaxws:serviceFactory>
</jaxws:endpoint>
<bean>...........</bean>
</beans>
web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>springCXFWeb</display-name>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>WEB-INF/applicationContext.xml</param-value>
</context-param>
<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
<servlet>
<servlet-name>CXFServlet</servlet-name>
<servlet-class>
org.apache.cxf.transport.servlet.CXFServlet
</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>CXFServlet</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
</web-app>
Getting following error while deploying my webservice on weblogic 10.3
<Dec 4, 2009 2:04:04 PM PST> <Error> <org.springframework.web.context.ContextLoader> <BEA-000000> <Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path resource http://META-INF/cxf/cxf.xml: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
Truncated. see log file for complete stacktrace
org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
Truncated. see log file for complete stacktrace
java.lang.InternalError: erroneous handlers
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
Truncated. see log file for complete stacktrace
<Dec 4, 2009 2:04:04 PM PST> <Warning> <HTTP> <BEA-101162> <User defined listener org.springframework.web.context.ContextLoaderListener failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path resource http://META-INF/cxf/cxf.xml: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path resource http://META-INF/cxf/cxf.xml: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
Truncated. see log file for complete stacktrace
org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
Truncated. see log file for complete stacktrace
java.lang.InternalError: erroneous handlers
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
Truncated. see log file for complete stacktrace
<Dec 4, 2009 2:04:04 PM PST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1259964185054' for task '2'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1373)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
Truncated. see log file for complete stacktrace
java.lang.InternalError: erroneous handlers
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
Truncated. see log file for complete stacktrace
<Dec 4, 2009 2:04:04 PM PST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'springCXFApp'.>
<Dec 4, 2009 2:04:04 PM PST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'springCXFApp'.>
<Dec 4, 2009 2:04:04 PM PST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1373)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
Truncated. see log file for complete stacktrace
java.lang.InternalError: erroneous handlers
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
Truncated. see log file for complete stacktrace
thanks -
Error while deploying a webdynpro application
Hi,
Iam getting an error while deploying the application in nwds the error is like this
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to get deployable object part info for component com.labprocess.LabProcess1
what is the remedy for this and due to what reason it is displaying. plz reply me ASAP.
Regards,
Shilpa.N
Edited by: pasumarthi shilpa on Apr 17, 2008 7:01 AMHi,
Iam having one doubt regarding ECATT in case of this at front end any changes we need to make is it necessary.....
actually ECATT means recording the nwds applications at backend browser when we click on start recording it will start recording and what ever values we r entering at front end we can view from backend... Plz suggest me ASAP.... waiting for u r response........
Regards,
Shilpa.N -
Error while deploying a business process
Hi all.
Am new to Integration Server development. I got this error while deploying my
business process.
ERROR:
<Feb 15, 2004 3:19:41 PM GMT+05:30> <Warning> <DRS> <BEA-002506> <The current
ve
rsion 6 for DataIdentifier DataIdentifierID: 1 does not match with incoming vers
ion 7 for a one-phase update.>
java.io.IOException: There are no more files
at java.io.WinNTFileSystem.canonicalize(Native Method)
at java.io.File.getCanonicalPath(File.java:513)
at weblogic.utils.jars.ManifestEntry.getName(ManifestEntry.java:136)
at weblogic.utils.jars.Manifest.addEntry(Manifest.java:65)
at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
va:326)
at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
va:322)
at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
va:322)
at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
va:322)
at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
va:322)
at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
va:322)
at weblogic.utils.jars.JarFileObject.makeJar(JarFileObject.java:373)
at weblogic.utils.jars.RandomAccessJarFile.save(RandomAccessJarFile.java
:214)
at weblogic.utils.jars.RandomAccessJarFile.close(RandomAccessJarFile.jav
a:225)
at weblogic.utils.classloaders.ExtractionHelper.resolveManifestName(Extr
actionHelper.java:491)
at weblogic.utils.classloaders.ExtractionHelper.extractClassFiles(Extrac
tionHelper.java:238)
at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebA
ppServletContext.java:5129)
at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServl
etContext.java:5001)
at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletCont
ext.java:542)
at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletCo
ntext.java:493)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:628)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:626)
at weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(J2EEApplicati
onContainer.java:3011)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplication
Container.java:1532)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
er.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
er.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.
prepareContainer(SlaveDeployer.java:2602)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createCon
tainer(SlaveDeployer.java:2552)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(S
laveDeployer.java:2474)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
veDeployer.java:798)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDepl
oyer.java:507)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
loyer.java:465)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
dler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
<Feb 15, 2004 3:19:44 PM GMT+05:30> <Warning> <Deployer> <BEA-149004> <Failures
were detected while initiating Deploy task for application targetIntegrationPOC.
>
<Feb 15, 2004 3:19:44 PM GMT+05:30> <Error> <Deployer> <BEA-149201> <Failed to
c
omplete the deployment task with ID 1 for the application targetIntegrationPOC.
java.lang.InternalError: IO error while trying to compute name from: D:\Target\d
omain\TARGET~2\TARGET~1\.\targetPOCServer\.wlnotdelete\extract\targetPOCServer_t
argetIntegrationPOC_targetIntegrationPOCWeb\jarfiles\WEB-INF\lib\jar2187\org\apa
che\struts\tiles\definition\ReloadableDefinitionsFactory$ServletPropertiesMap.cl
ass
at weblogic.utils.jars.ManifestEntry.getName(ManifestEntry.java:148)
at weblogic.utils.jars.Manifest.addEntry(Manifest.java:65)
at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
va:326)
at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
va:322)
at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
va:322)
at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
va:322)
at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
va:322)
at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
va:322)
at weblogic.utils.jars.JarFileObject.makeJar(JarFileObject.java:373)
at weblogic.utils.jars.RandomAccessJarFile.save(RandomAccessJarFile.java
:214)
at weblogic.utils.jars.RandomAccessJarFile.close(RandomAccessJarFile.jav
a:225)
at weblogic.utils.classloaders.ExtractionHelper.resolveManifestName(Extr
actionHelper.java:491)
at weblogic.utils.classloaders.ExtractionHelper.extractClassFiles(Extrac
tionHelper.java:238)
at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebA
ppServletContext.java:5129)
at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServl
etContext.java:5001)
at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletCont
ext.java:542)
at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletCo
ntext.java:493)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:628)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:626)
at weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(J2EEApplicati
onContainer.java:3011)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplication
Container.java:1532)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
er.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
er.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.
prepareContainer(SlaveDeployer.java:2602)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createCon
tainer(SlaveDeployer.java:2552)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(S
laveDeployer.java:2474)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
veDeployer.java:798)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDepl
oyer.java:507)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
loyer.java:465)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
dler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
--------------- nested within: ------------------
weblogic.management.ManagementException: - with nested exception:
[java.lang.InternalError: IO error while trying to compute name from: D:\Target\
domain\TARGET~2\TARGET~1\.\targetPOCServer\.wlnotdelete\extract\targetPOCServer_
targetIntegrationPOC_targetIntegrationPOCWeb\jarfiles\WEB-INF\lib\jar2187\org\ap
ache\struts\tiles\definition\ReloadableDefinitionsFactory$ServletPropertiesMap.c
lass]
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(S
laveDeployer.java:2491)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
veDeployer.java:798)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDepl
oyer.java:507)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
loyer.java:465)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
dler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
>
Thanks in advance
Regards
Sheshis your soa suite up and running ?
-
500 internal server error while deploying a Web Dynpro application
Hi
I got the 500 internal server error while deploying the application to server.
I tried to find the log file at usr --> SAP --> SID --> JC XX --> j2EE --> Cluster --> Server 0 --> log, but no log was there.
There were structure changes in the RFC and also code change in my Web
Dynpro code.
I´m working on EP 7.
NWDS version is 7.0.1
Please help me as the production move is pending because of this.
Regards
Vineet VikramHi
Restarting the server does not help in my case.
I tried it several times.
I'm getting following error message in NWA>
Originated from: com.sapmarkets.bam.logcontroller.InvalidLogQuerySessionException: Invalid or expired log query session "1"
at com.sapmarkets.bam.logcontroller.jmx.LogControllerFacade.closeLogQuerySession(LogControllerFacade.java:356)
at sun.reflect.NativeMethodAccessorImpl.invoke0
Can you pl help on this.
Regards
Vineet Vikram -
Error while Deploying .EAR file
Hi All,
Iam getting the following Error while deploying a .ear file (generated by jdeveloper 11g) into OC4J 10.1.3.3
[Apr 16, 2008 3:49:00 PM]application : ModelEJB is in failed state
[Apr 16, 2008 3:49:00 PM] Operation failed with error: Missing class: oracle.jbo.server.ejb.StatefulSessionBeanImpl Dependent class: model.server.ejb.beanmanaged.AppModuleServer Loader: ModelEJB.root:0.0.1 Code-Source: /D:/OC4J/j2ee/home/applications/ModelEJB/ModelEJB.jar Configuration: in D:\OC4J\j2ee\home\applications\ModelEJB (Failure analysis caught java.lang.IllegalStateException: ClassLoader "ModelEJB.root:0.0.1" (from in /D:/OC4J/j2ee/home/applications/ModelEJB/): This loader has been closed and should not be in use.)
Can some one help me in this...
Thanks & Regards,
KaushikHi,
The name of the data-source should match with the value of 'Location' in data-sources.xml
ex: "jdbc/OracleDS"
Can you give more details of your problem like how you are deploying?
Kavitha
Maybe you are looking for
-
Trouble properly connecting Shuffle to PC
We use Windows Vista Home Premium, iTunes v8.0.1 My son has iPod Shuffle. He once had registered this Shuffle on PC1 but since PC1 is not longer being used, his Shuffle is now used on PC2. Whenever we connect Shuffle to PC2 and try to open up his iTu
-
Photo Album 'Linked' on iWeb..
I'm trying to pre-stage a photo page that I can update and publish after an event with the pictures I've taken throughout the day. I created two photo pages and a 'home' page. The photo pages have my own custom made 'space holders' currently placed t
-
Of late HERE maps have lauched a newer version of this app for Nokia X series phones but I can't update HERE maps OTA on my Nokia X running software version 1.2.4.1. What to do? Help me and tell me how many of you are having the same problem and what
-
Is recovery from ipod possible?
Apparently I have recently lost my external hard drive and everything on it. My itunes was synced to that hard drive and my entire music collection was on it as well. My ipod has everything on it that was there and had been recently synced. I need to
-
How to find a BADI implementation in SE19
Hi All, Using SE18 , I am looking ta a BADI ex.. XSS_REM_INTERFACE. What is the best way to find the standard implementation for this BADI in SE19? Usually, I know the BADI but want to look how it is implemented (standard SAP implementation) etc and