Deploying WebService to Tomcat
Hello,
I make a simple "HelloWorld" webservice by making a java class with a "hello" method and using the "Create J2EE WebService". Upon deplying to Tomcat, I the application won't start in Tomcat and the logs show the following error which I don't understand:
SEVERE: Parse error in application web.xml file at jndi:/localhost/WebServices/WEB-INF/web.xml
java.lang.IllegalArgumentException: Invalid <url-pattern> MyWebService_HelloWorldSoapHttpPort in servlet mapping
I have followed the instructions at the below webpage, and have simple webapps work, but it's webservices that is giving me trouble.
http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3?topic=j2ee_ptomcatdeploy_html
Just to clarify - the problem here is not JDeveloper - the problem here is the lack of web services support in tomcat.
How about using OC4J as your web and J2EE server? it is a lite server.
You are actually using it right now when you click run in JDeveloper - this is the embedded J2EE container in JDeveloper.
download at http://otn.oracle.com/products/oc4j
Similar Messages
-
Hi,
I have got the successful msg in time of connect iAS 10.1.2.0 from Jdev 10.1.3 .
But when I tried to deploy a simple webservice to ias then I got following deployment message :
---- Deployment started. ---- Aug 18, 2009 10:38:47 AM
Target platform is Oracle Application Server 10g 10.1.2 (Windows) (OracleApplicationServer_Abir).
Wrote WAR file to C:\Webservice\Project1\deploy\WebServices.war
Wrote EAR file to C:\Webservice\Project1\deploy\Webservice-Project1-WS.ear
Invoking DCM servlet client...
C:\jdeveloper1032\jdevstudio10132\jdk\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar C:\jdeveloper1032\jdevstudio10132\jdev\lib\oc4j_remote_deploy.jar http://157.227.124.85:18100/Oc4jDcmServletAPI/ ias_admin **** redeploy C:\OraHome_2 C:\Webservice\Project1\deploy\Webservice-Project1-WS.ear Webservice-Project1-WS OAS
Initializing log
Servlet interface for OC4J DCM commands
Command timeout defined at 600 seconds
Executing DCM command...
Executing command redeploy C:\OraHome_2 C:\Webservice\Project1\deploy\Webservice-Project1-WS.ear Webservice-Project1-WS OAS
Command = REDEPLOY
Reading application's ear file
Ear file was successfully read
Opening connection to Oc4jDcmServlet
Setting userName to ias_admin
Sending command to DCM servlet
HTTP response code = 200, HTTP response msg = OK
Command was successfully sent to Oc4jDcmServlet
Receiving session id from servlet to check command status
Session id = 9de37c5546b4f6f0200f5eb44dc8a2c0b7a90d89b533
Please, wait for command to finish...
Checking command status...
Angshuman
Setting userName to ias_admin
Setting Cookie to JSESSIONID=9de37c5546b4f6f0200f5eb44dc8a2c0b7a90d89b533
Checking command status
HTTP response code = 200, HTTP response msg = OK
Command has finished
Receiving command exit value
Receiving command output
**** No output was received from command
Closing connection to Oc4jDcmServlet
#### DCM command did not complete successfully (-8)
#### HTTP return code was -8
Exit status of DCM servlet client: -8
Elapsed time for deployment: 16 seconds
#### Deployment incomplete. #### Aug 18, 2009 10:39:03 AM
Please help in this regards..Run the following in your terminal where you have a sh shell.
export ORACLE_HOME= <give here the location of Oracle Infrastructure Home>
cd $ORACLE_HOME
sqlplus / as sysdba
## if you continue to get problems, then see the following file;
cat $ORACLE_HOME/network/ADMIN/sqlnet.ora
Check if you have a line with the following attribute:
SQLNET.AUTHENTICATION_SERVICES
make sure it is not missing, nor reporting a none value. If it does, change it to the following:
SQLNET.AUTHENTICATION_SERVICES = (NTS)
Save the file. Now restart infrastructure:
cd $ORACLE_HOME
opmn/bin/opmnctl stopall
opmn/bin/opmnctl startall
## now try getting into the database again.
sqlplus / as sysdba
hope that helps! -
Exception while deploying webservice to weblogic 10.3.6
Hi
i am facing following exception while deploying ear file to weblogic.
the same ear files was working in weblogic 9.2
bundle of thanks for your help
<Error> <Deployer> <BEA-149265> <Failure occ
urred in the execution of deployment request with ID '1370278887285' for task '1
'. Error is: 'weblogic.management.DeploymentException: Error encountered during
prepare phase of deploying WebService module 'SubscriptionService.war'. Error en
countered while deploying WebService module 'SubscriptionService.war'. port com
ponent 'SubscriptionServicePortImpl' - wsdl port:{http://com.irondata.subscriptio
n/service}SubscriptionServicePortImplPort is not found in wsdl.'
weblogic.management.DeploymentException: Error encountered during prepare phase
of deploying WebService module 'SubscriptionService.war'. Error encountered whil
e deploying WebService module 'SubscriptionService.war'. port component 'Subscr
iptionServicePortImpl' - wsdl port:{http://com.irondata.subscription/service}Subs
criptionServicePortImplPort is not found in wsdl.
at weblogic.wsee.deploy.WSEEModule.prepare(WSEEModule.java:149)
at weblogic.wsee.deploy.AppDeploymentExtensionFactory.prepare(AppDeploym
entExtensionFactory.java:79)
at weblogic.wsee.deploy.AppDeploymentExtensionFactory.access$100(AppDepl
oymentExtensionFactory.java:15)
at weblogic.wsee.deploy.AppDeploymentExtensionFactory$1.prepare(AppDeplo
ymentExtensionFactory.java:219)
at weblogic.application.internal.flow.AppDeploymentExtensionFlow.prepare
(AppDeploymentExtensionFlow.java:23)
Truncated. see log file for complete stacktrace
Caused By: weblogic.wsee.ws.WsException: Error encountered while deploying WebSe
rvice module 'SubscriptionService.war'. port component 'SubscriptionServicePort
Impl' - wsdl port:{http://com.irondata.subscription/service}SubscriptionServicePo
rtImplPort is not found in wsdl.
at weblogic.wsee.deploy.WSEEModule.verifyWsdd(WSEEModule.java:256)
at weblogic.wsee.deploy.WSEEModule.prepare(WSEEModule.java:121)
at weblogic.wsee.deploy.AppDeploymentExtensionFactory.prepare(AppDeploym
entExtensionFactory.java:79)
at weblogic.wsee.deploy.AppDeploymentExtensionFactory.access$100(AppDepl
oymentExtensionFactory.java:15)
at weblogic.wsee.deploy.AppDeploymentExtensionFactory$1.prepare(AppDeplo
ymentExtensionFactory.java:219)
Truncated. see log file for complete stacktraceThe following exception occurs when there is a mismatch with the portName in the impl class with the port name in WSDL.
weblogic.wsee.ws.WsException: Error encountered while deploying WebService module 'SubscriptionService.war'. port component 'SubscriptionServicePort
Impl' - wsdl port:{http://com.irondata.subscription/service}SubscriptionServicePortImplPort is not found in wsdl.
I found the Defect in the Oracle knowledge base logged for the issue. Patch id is 8182891 and fix is available for WLS 9.2.2.0 version.
Please download and apply the patch and let us know if it helps you.
Thanks,
Vijaya -
Deploying servlet on Tomcat using "ant install" not working. Please help.
Hello. Normally I can find answers by using search, but I can't today for some reason. So please bare with me if this has been mentioned before. I will try to provide as much info as possible so that helping me isn't too much a chore. Thank you.
I have downloaded and installed the JWSDP 1.3. and Tomcat is running. I am also using Ant 1.5.4 (previous installation - not one included with JWSDP) and modeled my build.xml file after the template provided here:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/build.xml.txt.
When I run ant on my respository, everything builds fine. But when I run Ant with the install target, I get the following error:
BUILD FAILED
file:C:/owl/build.xml:366: java.io.IOException: Server returned HTTP response co
de: 401 for URL: http://localhost:8080/manager/deploy?path=%2Fowl&war=file%3A%2F
%2FC%3A%5Cowl%2Fbuild
Here is line 366 build.xml:
localWar="file://${build.home}"/>
...which is included in this block for the target "install":
<target name="install" depends="compile"
description="Install application to servlet container">
<deploy url="${manager.url}"
username="${manager.username}"
password="${manager.password}"
path="${app.path}"
localWar="file://${build.home}"/>
</target>
When I point my brower to the url located in the error verbose, I get the following:
FAIL - Encountered exception java.lang.NullPointerException
I am trying to get my environment set up correctly before I start spending time developing servlets, but I am getting tempted to just develop to servlets and "manually" installing/deploying them either by copying and pasting or by using the Tomcat manager. I would really like to do everything from Ant though if possible. Please help.I don't think this is at all correct:
localWar="file://${build.home}"/>You've got to create a real WAR file - a JAR file with WEB-INF and all its minions inside it:
http://access1.sun.com/techarticles/simple.WAR.html
That's the file you need to refer to there. You can manage that with Ant too, of course.
Here's what my Ant build.xml looks like for Web apps (there's a build-web.properties file that follows):
build-web.xml
<project name="Tomcat Build Tasks" default="clean" basedir=".">
<target name="init-props">
<tstamp>
<format property="touch.time" pattern="MM/dd/yyyy hh:mm aa" />
</tstamp>
<filterset id="ant.filters">
<filter token="DATE" value="${TODAY}" />
<filter token="TIME" value="${TSTAMP}" />
</filterset>
<!-- Load in all the settings in the properties file -->
<property file="build.properties" />
<!-- Load in all Tomcat settings in the properties file -->
<property file="build-web.properties" />
</target>
<target name="prepare" depends="init-props">
<mkdir dir="${war.classes}"/>
<mkdir dir="${war.lib}"/>
<mkdir dir="${manifest}" />
</target>
<target name="clean" depends="init-props" description="clean up temporary files">
<delete file="${project}.war" />
<delete dir="${war.root}"/>
<delete dir="${manifest}" />
</target>
<target name="set-tomcat-classpath" depends="prepare">
<path id="tomcat.class.path">
<fileset dir="${tomcat.home}/bin">
<patternset>
<include name="**/*.jar" />
</patternset>
</fileset>
<fileset dir="${tomcat.home}/shared/lib">
<patternset>
<include name="**/*.jar" />
</patternset>
</fileset>
<fileset dir="${tomcat.home}/common/lib">
<patternset>
<include name="**/*.jar" />
</patternset>
</fileset>
<fileset dir="${tomcat.home}/server/lib">
<patternset>
<include name="**/*.jar" />
</patternset>
</fileset>
<fileset dir="${ant.home}/lib">
<patternset>
<include name="**/*.jar" />
</patternset>
</fileset>
</path>
</target>
<target name="create" depends="set-tomcat-classpath" description="create the war file">
<!-- All files at root level -->
<!-- Temporarily put the JSPs at root until you figure this out -->
<copy todir="${war.root}">
<fileset dir="${src.jsp}"/>
</copy>
<!--
<copy todir="${war.root}">
<fileset dir="${src.html}" includes="*.html"/>
</copy>
-->
<copy todir="${war.root}/css">
<fileset dir="${src.css}"/>
</copy>
<copy todir="${war.root}/images">
<fileset dir="${src.images}"/>
</copy>
<copy todir="${war.root}/js">
<fileset dir="${src.js}"/>
</copy>
<!-- All files at the WEB-INF level and below -->
<copy todir="${war.web}">
<fileset dir="${src.etc}" includes="web.xml"/>
</copy>
<!-- All files in the CLASSPATH lib -->
<copy todir="${war.web}/lib">
<fileset dir="${src.lib}" includes="**/*.jar" excludes="**/*-tests.jar, **/junit.jar"/>
</copy>
<!-- Put the dispatcher XML in WEB-INF/config -->
<copy todir="${war.web}/config">
<fileset dir="${src.etc}" includes="${project}-config.xml"/>
</copy>
<!-- Put XSL stylesheets in WEB-INF/xsl -->
<copy todir="${war.web}/xsl">
<fileset dir="${src.xsl}" includes="**/*.xsl"/>
</copy>
<!-- Put the project JAR file in WEB-INF/lib -->
<copy todir="${war.web}/lib">
<fileset dir="${deploy}" includes="**/${project}.jar"/>
</copy>
<!-- Create the manifest -->
<buildnumber />
<manifest file="${manifest}/manifest.mf">
<attribute name="Implementation-Title" value="${project}" />
<attribute name="Built-By" value="${user.name}"/>
<attribute name="Build-Date" value="${TODAY}" />
<attribute name="Major-Version" value="${major}" />
<attribute name="Minor-Version" value="${minor}" />
<attribute name="Build-Number" value="${build.number}" />
</manifest>
<!-- Create the WAR file -->
<jar jarfile="${project}.war"
manifest="${manifest}/manifest.mf">
<fileset dir="${war.root}"/>
<metainf dir="${src.etc}" includes="context.xml"/>
</jar>
</target>
<target name="create-tomcat-admin-tasks" depends="set-tomcat-classpath">
<!--
<pathconvert targetos="windows" refid="tomcat.class.path" property="converted.class.path" />
<echo message="CLASSPATH: ${converted.class.path}" />
-->
<taskdef name="install" classname="org.apache.catalina.ant.InstallTask" classpath="tomcat.class.path"/>
<taskdef name="remove" classname="org.apache.catalina.ant.RemoveTask" classpath="tomcat.class.path"/>
<taskdef name="reload" classname="org.apache.catalina.ant.ReloadTask" classpath="tomcat.class.path"/>
<taskdef name="deploy" classname="org.apache.catalina.ant.DeployTask" classpath="tomcat.class.path"/>
<taskdef name="undeploy" classname="org.apache.catalina.ant.UndeployTask" classpath="tomcat.class.path"/>
<taskdef name="start" classname="org.apache.catalina.ant.StartTask" classpath="tomcat.class.path"/>
<taskdef name="stop" classname="org.apache.catalina.ant.StopTask" classpath="tomcat.class.path"/>
<taskdef name="list" classname="org.apache.catalina.ant.ListTask" classpath="tomcat.class.path"/>
<taskdef name="resources" classname="org.apache.catalina.ant.ResourcesTask" classpath="tomcat.class.path"/>
<taskdef name="roles" classname="org.apache.catalina.ant.RolesTask" classpath="tomcat.class.path"/>
</target>
<target name="install" depends="create-tomcat-admin-tasks" description="install the war file on Tomcat">
<install url="${tomcat.manager.url}"
username="${tomcat.username}"
password="${tomcat.password}"
path="/${project}"
config="file:/${basedir}/${src.etc}/context.xml"
war="file:/${basedir}/${project}.war" />
</target>
<target name="remove" depends="create-tomcat-admin-tasks" description="remove the war file on Tomcat">
<remove url="${tomcat.manager.url}"
username="${tomcat.username}"
password="${tomcat.password}"
path="/${project}" />
</target>
<target name="reload" depends="create-tomcat-admin-tasks" description="reload the war file on Tomcat">
<reload url="${tomcat.manager.url}"
username="${tomcat.username}"
password="${tomcat.password}"
path="/${project}" />
</target>
<target name="deploy" depends="create-tomcat-admin-tasks" description="deploy the war file on Tomcat">
<deploy url="${tomcat.manager.url}"
username="${tomcat.username}"
password="${tomcat.password}"
path="/${project}"
config="file:/${basedir}/${src.etc}/context.xml"
war="file:/${basedir}/${project}.war" />
</target>
<target name="undeploy" depends="create-tomcat-admin-tasks" description="undeploy the war file on Tomcat">
<undeploy url="${tomcat.manager.url}"
username="${tomcat.username}"
password="${tomcat.password}"
path="/${project}" />
</target>
<target name="start" depends="create-tomcat-admin-tasks" description="start an application on Tomcat">
<start url="${tomcat.manager.url}"
username="${tomcat.username}"
password="${tomcat.password}"
path="/${project}"/>
</target>
<target name="stop" depends="create-tomcat-admin-tasks" description="stop an application on Tomcat">
<stop url="${tomcat.manager.url}"
username="${tomcat.username}"
password="${tomcat.password}"
path="/${project}" />
</target>
<target name="list" depends="create-tomcat-admin-tasks" description="list all applications running on Tomcat">
<list url="${tomcat.manager.url}"
username="${tomcat.username}"
password="${tomcat.password}"/>
</target>
<target name="resources" depends="create-tomcat-admin-tasks" description="list all resources on Tomcat">
<resources url="${tomcat.manager.url}"
username="${tomcat.username}"
password="${tomcat.password}"/>
</target>
<target name="data-sources" depends="create-tomcat-admin-tasks" description="list all data sources on Tomcat">
<resources url="${tomcat.manager.url}"
username="${tomcat.username}"
password="${tomcat.password}"
type="javax.sql.DataSource"/>
</target>
<target name="roles" depends="create-tomcat-admin-tasks" description="list all user roles on Tomcat">
<roles url="${tomcat.manager.url}"
username="${tomcat.username}"
password="${tomcat.password}"/>
</target>
</project>
build.properties
# Properties file for setting up an Ant build.xml
# Project specific items that change each time
project=api-prototype
major=1
minor=0
version=${major}.${minor}
jar.name=${project}
versiondate=${TODAY}
# Directory structure (these should never change)
bin=bin
deploy=deploy
doc=doc
manifest=META-INF
xml=xml
# Everything under src should come out of a repository
src=src
src.bin=${src}/bin
src.config=${src}/config
src.data=${src}/data
src.dtd=${src}/dtd
src.java=${src}/java
src.lib=${src}/lib
src.profile=${src}/profile
src.properties=${src}/properties
src.schema=${src}/schema
src.sql=${src}/sql
src.templates=${src}/templates
src.testdata=${src}/testdata
src.xml=${src}/xml
src.xsl=${src}/xsl
# These are created and deleted by Ant each time
javadocs=javadocs
reports=reports
output=output
output.classes=${output}/classes
output.lib=${output}/lib
# Required for proper use of XDoclet
xdoclet.home = C:/Tools/xdoclet-1.2b3
build-web.properties
war.root=war-root
war.pages=${war.root}/pages
war.web=${war.root}/WEB-INF
war.classes=${war.web}/classes
war.css=${war.web}/css
war.js=${war.web}/js
war.lib=${war.web}/lib
war.tld=${war.web}/tld
# Properties needed by Tomcat tasks
ant.home =
tomcat.home =
tomcat.manager.url = http://localhost:8080/manager
tomcat.username =
tomcat.password = MOD -
How to deploy JSPs in Tomcat 5.5
hello all
i am Mayuresh Trivedi. i don't know how to Deploy Jsps in Tomcat 5.5. i m using MYSql as Backend. i m trying to use "import" command in Jsp so it shows me error like under :
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
Generated servlet error:
Syntax error on token "import", delete this token
Generated servlet error:
Syntax error on token "import", delete this token
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:397)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:296)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.7 logs.
so , can any body help me please ?hi
first create a arbitrary folder in \webapp folder in tomcat home foder.
for instance \webapp\myJSP
second you must create a folder with this name : \WEB-INF under myJSP folder
then make a web.xml in that
so write in web.xml this :
<web-app 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"
version="2.4">
<description>
myJSP
</description>
<display-name>JSP 2.0 Examples</display-name> -
How to create a webservice in Tomcat with the use of Axis
I am very new to webservices. I am suppose to create a webservice in Tomcat with the use of Axis. I have downloaded all the required jars.
Please help me how to start.
Thanx in advance.
[email protected]Check out the Axis user's guide at: http://ws.apache.org/axis/java/user-guide.html
-
List deployed webservices / webapps in one WLS domain
Is there a way to list all of the deployed webservices through JMX in one WLS domain,
or list all of the deployed web applications which contains a web service. Thanks,
M.Yes, look for WebServiceComponentMBeans.
-- Rob
Mat wrote:
Is there a way to list all of the deployed webservices through JMX in one WLS domain,
or list all of the deployed web applications which contains a web service. Thanks,
M. -
How to deploy WebService and BPEL to Application Server in EBS R12?
hi all,
I have R12 EBS on linux machine.
Can i deploy WebService/BPEL to Application Server of EBS?
or i must install new application server to deploy WebService and BPEL ?
Thanks
BennyHi,
You can find many articles on oracle site for this subject.
However in brief following are the steps
1) Create a directory source,executables,images,reports and logfiles.
2) Copy all your forms, menus and pll's in source directory
3) All your images in your image directory
4) All your reports in reports directory
5) All yuor fmx,mmx and plx in executables directory
6) Any log files in logfiles directory
7) Add path of images and executables directory in FORMS_PATH in default.env
8) Configure your formsweb.cfg as your need.
9) Configure report.conf and rwservlet.properties according to your applications.
10) Make jar of icons say myicons.jar.
11) copy myicons.jar in forms/java directory
12) Check yuor form services if they are running or not.
13) Invoke the URL in internet explorer
http://<ip_address>:<port_no>/forms/frmservlet?form=testform.fmx
I think that's enough from my side.. For more info you can go through the documentation.
Regards
Anuj -
ADF mobile application - Unable to deploy webservices on Integrated weblogi
hi,
I have followed video given in.
https://blogs.oracle.com/shay/entry/developing_with_oracle_adf_mobile
Following steps are being followed by me:
File -> New -> General -> Application -> Fusion Web Application (ADF) Created one application 2. Right clicked on model New-> Business Tier -> Business Component from table and created Entity object and view object for department table.
Then followed the steps as per the video. But not able to deploy webservice as given in video.
It is not generating that link after running AppModuleServiceTest.java.
, 2013 7:23:25 PM IST> <Warning> <Socket> <BEA-000449> <Closing socket as no data read from it on 127.0.0.1:57,071 during the configured idle timeout of 5 secs>
This is the last line I am getting in the logs generated.
Can you please tell whether the steps followed are correct or not?
Or what else needs to be done?
Please help.Try searching following file
BB_ADFNMC_Bindings
and all files with BB_ADFNMC_*
these are approx 10 files , copy all of them into simulator folder inside RESERCH IN MOTION folder
or load these through simultor->File->Load Blackberry Application .
I hope it should help :) -
Error deploying Opensso im Tomcat
Hi,
i tried to deploy Opensso in Tomcat:
Tomcat 5.5 on port 8080 or Tomcat 6 on port 8081.
With each version i start config and after go on time-out:
Register service:famLibertyInteraction.xml
...Success.
Register service:famLibertySecurity.xml
...Success.
Register service:famSAML2Config.xml
...Success.
Progress Log timed out
Someone can help me?
IHi,
the error in Access log for OPENDS is:
[15/May/2008:00:13:47 +0200] SEARCH conn=5 op=8 msgID=435 result="No Such Entry" message="The search base entry 'uid=amadmin,ou=people,dc=opensso,dc=java,dc=net' does not exist" nentries=0 etime=0
[15/May/2008:00:13:47 +0200] SEARCH conn=5 op=9 msgID=436 base="uid=amadmin,ou=people,dc=opensso,dc=java,dc=net" scope=baseObject filter="(|(objectclass=*)(objectclass=ldapsubentry))" attrs="iplanet-am-user-login-status"
[15/May/2008:00:13:47 +0200] SEARCH conn=5 op=9 msgID=436 result="No Such Entry" message="The search base entry 'uid=amadmin,ou=people,dc=opensso,dc=java,dc=net' does not exist" nentries=0 etime=0
[15/May/2008:00:13:47 +0200] SEARCH conn=5 op=10 msgID=437 base="uid=amadmin,ou=people,dc=opensso,dc=java,dc=net" scope=baseObject filter="(|(objectclass=*)(objectclass=ldapsubentry))" attrs="inetuserstatus"
[15/May/2008:00:13:47 +0200] SEARCH conn=5 op=10 msgID=437 result="No Such Entry" message="The search base entry 'uid=amadmin,ou=people,dc=opensso,dc=java,dc=net' does not exist" nentries=0 etime=0
[15/May/2008:00:13:47 +0200] SEARCH conn=3 op=399 msgID=438 base="ou=users,ou=default,ou=GlobalConfig,ou=1.0,ou=sunidentityrepositoryservice,ou=services,dc=opensso,dc=java,dc=net" scope=singleLevel filter="(&(objectclass=top)(ou=*))" attrs="ou"
[15/May/2008:00:13:47 +0200] SEARCH conn=3 op=399 msgID=438 result="Success" nentries=5 etime=2
[15/May/2008:00:13:47 +0200] SEARCH conn=3 op=400 msgID=439 base="ou=users,ou=default,ou=GlobalConfig,ou=1.0,ou=sunidentityrepositoryservice,ou=services,dc=opensso,dc=java,dc=net" scope=singleLevel filter="(&(objectclass=top)(ou=*))" attrs="ou"
[15/May/2008:00:13:47 +0200] SEARCH conn=3 op=400 msgID=439 result="Success" nentries=5 etime=2
WhY?? -
I have created webservice, at its expansion in oc4j standalone I receive the message. What to do?
---- Deployment started. ---- 07.07.2008 13:03:31
Target platform is Автономное приложение OC4J 10g 10.1.3 (oc4j_extended).
Wrote WAR file to C:\Java\jdevstudio10133\jdev\mywork\WebServiceExample\Project1\deploy\WebServices.war
Wrote EAR file to C:\Java\jdevstudio10133\jdev\mywork\WebServiceExample\Project1\deploy\WebServiceExample-Project1-WS.ear
Uploading file WebServiceExample-Project1-WS.ear ...
Application Deployer for WebServiceExample-Project1-WS STARTS.
Copy the archive to C:\Java\oc4j_extended_101310\j2ee\home\applications\WebServiceExample-Project1-WS.ear
Initialize C:\Java\oc4j_extended_101310\j2ee\home\applications\WebServiceExample-Project1-WS.ear begins...
Removing everything under: C:\Java\oc4j_extended_101310\j2ee\home\applications\WebServiceExample-Project1-WS
WARNING: Error during auto unpack of C:\Java\oc4j_extended_101310\j2ee\home\applications\WebServiceExample-Project1-WS
Unpacking WebServiceExample-Project1-WS.ear
Done unpacking WebServiceExample-Project1-WS.ear
Removing everything under: C:\Java\oc4j_extended_101310\j2ee\home\applications\WebServiceExample-Project1-WS\WebServices
WARNING: Error during auto unpack of C:\Java\oc4j_extended_101310\j2ee\home\applications\WebServiceExample-Project1-WS\WebServices
Unpacking WebServices.war
Done unpacking WebServices.war
Initialize C:\Java\oc4j_extended_101310\j2ee\home\applications\WebServiceExample-Project1-WS.ear ends...
Starting application : WebServiceExample-Project1-WS
Initializing ClassLoader(s)
Initializing EJB container
Loading connector(s)
Starting up resource adapters
Initializing EJB sessions
Committing ClassLoader(s)
Initialize WebServices begins...
Initialize WebServices ends...
Started application : WebServiceExample-Project1-WS
Binding web application(s) to site default-web-site begins...
Binding WebServices web-module for application WebServiceExample-Project1-WS to site default-web-site under context root WebServiceExample-Project1-context-root
Operation failed with error:
Error compiling :C:\Java\oc4j_extended_101310\j2ee\home\applications\WebServiceExample-Project1-WS\WebServices: Syntax error in source or compilation failed in: C:\Java\oc4j_extended_101310\j2ee\home\application-deployments\WebServiceExample-Project1-WS\WebServices\project1\GetDate.java
Could not create the Java virtual machine.
Deployment failed
Elapsed time for deployment: 7 seconds
#### Deployment incomplete. #### 07.07.2008 13:03:38User,
Are you running the standalone OC4J with the JVM (and not the JRE by mistake)?
John -
Post Author: Mahmoud Muhsen
CA Forum: Deployment
how can deploying BO with Tomcat?Hi,
This is a question to ask in the Apache forums if you plan to use it as load balancer.
I presume that you should set the method accordingly to your needs:
http://tomcat.apache.org/connectors-doc/reference/workers.html
Regards,
Julian -
Hi,
I am using NWDS to deploy my Java Webservice through an EAR file, and the message
I get is: "Deployment was successful"
But in the "Web Service Navigator" tab, I cannot see my deployed Webservice.
Anybody can help me ?
thanksI'm not sure if my scenario is the same. My scenario is like this:
http://img688.imageshack.us/img688/3083/29070390.jpg
And what I do is:
- Right-click on 'LDAPManager' and 'Build EJB Archive'
- Right-click on 'LDAPManager' and 'Add to EAR Project' and select 'LDAPMAnagerEAR'
- Right-click on 'LDAPManagerEAR' and 'Build Application Archive'
- Right-click on 'LDAPManagerEAR.ear' and 'Deploy to J2EE engine'
The deployment is successful but I cannot see 'ZPRUEBA' in the tab 'Web Services Navigator' -
Deploy webservice with oraclexmlsave
HI all
Hope you guy can help me
I already deploy webservice into jboss app server
i try to add oracle database connection into it and it working just fine
when i try to add oracleXMLsave object it produce this error
javax.xml.rpc.soap.SOAPFaultException: java.lang.reflect.UndeclaredThrowableException
at weblogic.webservice.core.ClientDispatcher.receive(ClientDispatcher.java:317)
at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:147)
at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:473)
at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:459)
at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:569)
at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:422)
at project1.Xmlwebcall.main(Xmlwebcall.java:64)
i dont know why it produce this error..is it i need to add driver or library into jboss or oracleXMLsave is only can be used by weblogic only ?
Edited by: user11298120 on Aug 7, 2009 8:55 PMHi,
You can download samples from [here|https://www.sdn.sap.com/irj/boc/samples]
Regards,
Shweta -
Data adaptor deployment error in tomcat server
Hi,
I have created a data-plugin where i am calling Siebel On demand webservice and deployed in tomcat server ( apache-tomcat-6.0.26\webapps\web-determinations\WEB-INF\classes\plugins).I have put all the related jars in plugin folders.Now problem is when I am starting the tomcat server there in no error in console but if i see localhost.log file error is coming
SEVERE: StandardWrapper.Throwable
java.lang.NoClassDefFoundError: org/exolab/castor/mapping/xml/descriptors/BindXmlDescriptor
at java.lang.Class.getEnclosingMethod0(Native Method)
at java.lang.Class.getEnclosingMethodInfo(Class.java:929)
at java.lang.Class.isLocalOrAnonymousClass(Class.java:1239)
at java.lang.Class.getCanonicalName(Class.java:1167)
at com.oracle.util.reflection.ClassWrapper.getCanonicalName(ClassWrapper.java:189)
at com.oracle.util.discovery.LocalPluginFinder.findPluginInClass(LocalPluginFinder.java:279)
at com.oracle.util.discovery.LocalPluginFinder.findPluginsInURLTarget(LocalPluginFinder.java:251)
at com.oracle.util.discovery.LocalPluginFinder.findPlugins(LocalPluginFinder.java:162)
at com.oracle.determinations.web.platform.servlet.WebDeterminationsServletContext.init(WebDeterminationsServletContext.java:154)
at com.oracle.determinations.web.platform.servlet.WebDeterminationsServletContext.<init>(WebDeterminationsServletContext.java:91)
at com.oracle.determinations.web.platform.servlet.WebDeterminationsServlet.init(WebDeterminationsServlet.java:51)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4496)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
I have put the castor-1.3.1.jar file in plugin folder .Then also same error.I can see the BindXmlDescripto.class file in the jar.
what could be the reason.You need to put any associated jar files in the WEB-INF/lib directory. That should fix your problem.
The Developers Guide section on "Create a Plugin" describes what goes in the WEB-INF/classes/plugins and what goes in WEB-INF/lib
Cheers
Frank
Edited by: frank.hampshire on Jun 15, 2010 10:55 AM
Maybe you are looking for
-
I Updated my wife's iPhone the other to the new operating system. It asked me first to use iCloud backup so I did. After the update was complete my wife can use wifi but when we try the 3G it says you are not connected to a cellular data service. IT
-
What happened to ImageReady?
I used to use ImageReady to create rollovers for web sites. ImageReady no longer exists in CS3. Ive looked through the Video Workshops and the help files on both Photoshop and Dreamweaver. There is little or no mention of creating rollovers in anythi
-
Program with Mac Mirrored Raid
Hi guys; I'm new to the Raid thing so please be patient. I can make a mirrored raid no problem. I had a disk go bad and needed to replace it. I can't seem to figure this out without destroying the raid itself. I read online about a demote button and
-
Making an 8 beat note over 2 bars in score editor
Hello eveyrone, Anybody know how to make an 8 beat note over two bars. like two whole notes in a 4/4 song over two bars that are tied.
-
My computer is not recognizing my iPad
I have tried everything from restarting the iPad, redownloading iTunes, and have tried all my USB ports.