Weblogic workshop denugger proxy
Hi,
Whenever I started debugging a web app, I got the following warning message:
The debugger proxy is not running on the same machine as your Weblogic Server. You will not be able to hit breakpoints. You will need to restart your server to debug.
Restarting server dis not eliminate this message.
Thanks,
In WLW 8.1, to debug the server you need to be running the debugger proxy, which is a separate process on the same machine as your server. The default startup scripts will start and stop the proxy automatically for you, but if the user has created a custom startWebLogic.cmd/sh, it may not be running. In startWebLogic.cmd, there should be a line that looks something like:
start "WebLogic Workshop Debugger..." /B %JAVA_HOME%\bin\java -classpath %DEBUG_CLASSPATH% %DBG_JAVA_OPTIONS% weblogic.debugging.engine.DbgMain
Take a look at the startWebLogic scripts that come with the domain for SamplesApp for more detail.
If the proxy is not running, you can debug the server as a "Non Workshop Server", but you lose some features like the ability to debug server-side JavaScript and seeing the output stream as it is being written back to the client when debugging JSPs.
-Muthu.
Similar Messages
-
Invoking web service using Weblogic Workshop (JCX)
Invoking web service using Weblogic Workshop
Posted: 5 Jan 2005 23:31 PM Reply
Hi,
I have WSDL from which I have generated a web service control (.jcx) using Weblogic Workshop.
I need to write a client which will invoke the web service using the control.
Can someone help me on how to go about this ?
BTW .. I also tried the clientgen route and tried to generated the proxy jar from the WSDL but wasn't successful because of a existing clientgen bug.
Refer bugHi,
if the consumer of the webservice is a control-aware consumer ( pageflow, control, process ) simply drag the control to this consumer and the control variable is ready for use.
if the consumer is not control-aware, try to generate a proxy using eg. the axis tool, or handcode your proxy class.
links :
how to use webservice control
http://e-docs.bea.com/workshop/docs81/doc/en/workshop/guide/controls/conGettingStartedWithJavaControls.html
axis
http://ws.apache.org/axis/
- Anders M.
- Anders M. -
Aqualogic WebLogic Workshop: XQuery resource cannot be found
Hi
I created a Proxy Service with WebLogic Workshop. I tested it without problems. After I shutdown the laptop and restarted it the references between the Proxy Service and the XQuery resources are lost. If I try to reference them WebLogic Workshop cannot find the resource even if they appear on the project.
Any ideas?
Regards,
Néstor BoscánHi Nestor,
In Workshop, try to clean all the projects (Projects -> Clean all)
Regards,
Fabio Douek -
Consuming Weblogic Workshop WebService
Hi,
I am getting an error running the generated client stubs for a weblogic workshop based document style webservice. (I don't have a problem with a rpc style webservice in the same configuration.)
The error is to do with extracting the return string/int and fromElement is reporting a classcast exception. Using tcp monitor I have seen the return message and it seems fins. There is no 'xsi:type' attribute on the return xml element.
Also I can't seem to access the xmlelement value, the return string/int in the debugger watch window. I have casted the element to a node and getValue on the node returns null.
Any help would be appreciated.
JamesHi,
Additional Information
I am able to access the weblogic workshop doc style webservice from VB.NET generated proxy without a problem.
Stack Trace
java.lang.ClassCastException: oracle.xml.parser.v2.XMLText
java.lang.Object oracle.jdeveloper.webservices.runtime.WrappedDocLiteralStub.fromElement(org.w3c.dom.Element, java.lang.Class)
WrappedDocLiteralStub.java:473
java.lang.String hello.HelloWorldStub.HelloStr(java.lang.String)
HelloWorldStub.java:97
James -
How to open a wsdl file in Weblogic Workshop 10.3? Cannot seem to do so!
Hello, I'm new to Weblogic Workshop 10.3 & will be working with learning how to develop and use webservices using the application. I have a WSDL file which i want to use in a project but cannot seem to import or use the file as required.
If I click on "File -> New -> Service Control ->" I get the option to "Select the WSDL file to use" however I cannot find any WSDL files I copy into my workbench folder. Even if I close the project, close workshop, re-open workshop, reopen a project the WSDL file are not available to choose.
Does anyone know what I may be doing wrong or how to resolve this issue?
Any help would be appreciated!
Thanks.The Adobe PDF printer is no longer available in Snow Leopard. This is an announce to this fact at the entrance to the Acrobat Macintosh forum. The old methods for doing what you want will not work in Snow Leopard. I recommend you look at Quite Imposing. It can do everything you want and more. Alas, it comes at a price.
-
Error while generating ear using ant script in weblogic workshop 10
In my application I have to create a ear file which should have the war file inside.
I have created the build.xml for both ear application and web application, workshop.xml using weblogic workshop option
File->export->WorkshopAntScripts
I have been using the following command to execute the build.xml in EARApp(ear application)
set the environment variables by running
D:\bea\wlserver_10.0\common\bin\commEnv.cmd
then
D:\Source_Code\EARApp>ant clean build archive -Dworkspace="D:\Source_Code"
I am getting the following error,
Buildfile: build.xml
init.env:
check.versions:
init.typedefs:
init:
clean:
init.env:
check.versions:
init.typedefs:
init:
clean:
[delete] Deleting 53 files from D:\Source_Code\WebApp\.apt_src
[delete] Deleted 14 directories from D:\Source_Code\WebApp\.apt_src
[delete] Deleting 218 files from D:\Source_Code\WebApp\build\classes
[delete] Deleted 42 directories from D:\Source_Code\WebApp\build\classes
[delete] Deleting directory D:\Source_Code\WebApp\build\assembly\.src
[delete] Deleting directory D:\Source_Code\WebApp\build\weboutput
[mkdir] Created dir: D:\Source_Code\WebApp\build\weboutput
init.env:
check.versions:
init.typedefs:
init:
build:
init.env:
check.versions:
init.typedefs:
init:
build:
[apt] [web.content.root]|[D:\Source_Code\WebApp/\WebContent]
[apt] [web.source.roots]|[D:\Source_Code\WebApp/src]
[apt] Compiling 113 source files to D:\Source_Code\WebApp\build\classes
[apt] warning: Annotation types without processors: [java.lang.SuppressWarnings, org.apache.be
ehive.controls.system.jdbc.JdbcControl.ConnectionDataSource, org.apache.beehive.controls.system.jdbc
.JdbcControl.SQL, com.bea.control.annotations.TransactionAttribute]
[apt] 1 warning
[apt] warning: Annotation types without processors: [java.lang.SuppressWarnings]
[apt] 1 warning
[apt] [web.content.root]|[D:\Source_Code\WebApp/\WebContent]
[apt] [web.source.roots]|[D:\Source_Code\WebApp/src]
[apt] Compiling 53 source files to D:\Source_Code\WebApp\build\classes
[apt] warning: Annotation types without processors: [java.lang.SuppressWarnings]
[apt] 1 warning
[javac] Compiling 113 source files to D:\Source_Code\WebApp\build\classes
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] Compiling 53 source files to D:\Source_Code\WebApp\build\classes
[delete] Deleting directory D:\Source_Code\WebApp\build\weboutput
[mkdir] Created dir: D:\Source_Code\WebApp\build\weboutput
[copy] Copying 1 file to D:\Source_Code\WebApp\build\weboutput\WEB-INF
[copy] Copying 1 file to D:\Source_Code\WebApp\build\weboutput\WEB-INF
init.env:
check.versions:
init.typedefs:
init:
stage:
[delete] Deleting directory D:\Source_Code\EARApp\.staging
[mkdir] Created dir: D:\Source_Code\EARApp\.staging
[copy] Copying 7 files to D:\Source_Code\EARApp\.staging
init.env:
check.versions:
init.typedefs:
init:
stage.to.ear:
init.env:
check.versions:
init.typedefs:
init:
stage:
init.env:
check.versions:
init.typedefs:
init:
generated.root.init:
assembly:
[mkdir] Created dir: D:\Source_Code\WebApp\build\assembly\.src
[assemble] Assembly failed - Control Assembly process failed
[assemble] Caused by: info
BUILD FAILED
D:\Source_Code\EARApp\build.xml:189: The following error occurred while executing t
his line:
jar:file:/D:/bea/WLSERV%7e1.0/workshop/lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antl
ib.xml:92: The following error occurred while executing this line:
D:\Source_Code\EARApp\build.xml:201: The following error occurred while executing t
his line:
D:\Source_Code\WebApp\build.xml:351: The following error occurred while executing thi
s line:
D:\Source_Code\WebApp\build.xml:177: The following error occurred while executing thi
s line:
D:\Source_Code\WebApp\build.xml:424: Assembly failed.
Some one help me solve this problem.
Thanks in advance.--> some error on posting please refer to the next post...
From the error logs we can trace it out to the web project's Build.xml file ....I was getting a similar error and by commenting out the following lines in the web project's Build.xml I am able to run the build script correctly and get a EAR file. The lines are
<!--
<assemble
moduleDir="${generated.module.root}"
moduleName="${project.name}"
srcOutputDir="${assembly.src}"
appRootDir="${ear.root}">
<assemblyContext factory="org.apache.beehive.controls.runtime.assembly.WebAppAssemblyContext$Factory" />
<assemblyContext factory="org.apache.beehive.controls.runtime.assembly.AppAssemblyContext$Factory" />
<classpath refid="assembly.classpath" />
<fileset dir="${project.dir}">
<include name="**/*.controls.properties" />
</fileset>
</assemble>
-->
Please check it now, also if any one can let us know the function or role played by the above lines it would be great. Also if there would be any future or unseen problems by commenting out these lines please do let us know...
Thanks
-MiM
Edited by prodigymonish83 at 10/22/2007 5:56 AM -
Error when generating a Web Service from WSDL (Weblogic Workshop)
Hi,
I am using weblogic workshop 10 for implementing web services and its was working fine. But now when I try to generate a web service from WSDL its crashing with the following error;
Could not find one or more classes: "org.apache.tools.ant.launch.AntMain". Please check the Ant classpath.
org.eclipse.core.runtime.CoreException: Could not find one or more classes: "org.apache.tools.ant.launch.AntMain". Please check the Ant classpath.
at com.bea.workshop.webservices.core.gen.JwsFromWsdlBuilder.buildJws(JwsFromWsdlBuilder.java:107)
at com.bea.workshop.webservices.ui.wizards.jwsfromwsdl.GenerateJwsFromWsdlWizard$1.execute(GenerateJwsFromWsdlWizard.java:133)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
org.eclipse.core.runtime.CoreException[4]: com.bea.workshop.webservices.core.gen.WebServicesException:
at com.bea.workshop.webservices.core.gen.GenerationScript.runAnt(GenerationScript.java:154)
at com.bea.workshop.webservices.core.gen.GenerationScript.createJWS(GenerationScript.java:98)
at com.bea.workshop.webservices.core.gen.JwsFromWsdlBuilder.buildJws0(JwsFromWsdlBuilder.java:135)
at com.bea.workshop.webservices.core.gen.JwsFromWsdlBuilder.buildJws(JwsFromWsdlBuilder.java:98)
at com.bea.workshop.webservices.ui.wizards.jwsfromwsdl.GenerateJwsFromWsdlWizard$1.execute(GenerateJwsFromWsdlWizard.java:133)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
Caused by: org.eclipse.core.runtime.CoreException: Could not find one or more classes: "org.apache.tools.ant.launch.AntMain". Please check the Ant classpath.
at org.eclipse.ant.core.AntRunner.problemLoadingClass(AntRunner.java:445)
at org.eclipse.ant.core.AntRunner.handleInvocationTargetException(AntRunner.java:417)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:362)
at com.bea.workshop.webservices.core.gen.GenerationScript.runAnt(GenerationScript.java:152)
... 8 more
I have checked my ANT_HOME and its pointing to the correct location bea\tools\eclipse32\eclipse\plugins\org.apache.ant_1.6.5 and the AntMain classs is present in this path: org.apache.tools.ant.launch.AntMain
If anyone has any idea on this please suggest a solution.
Thanks in advance
-AKJYes, I assume you are talking about ANT_HOME:
see this Screenshot which shows my current settings
[http://i43.tinypic.com/nbrec6.jpg|http://i43.tinypic.com/nbrec6.jpg]
Regards
-AKJ -
Getting Error while Publishing Web Application using weblogic workshop 10.2
Hi all,
I am trying to create a simple webapplication using the weblogic workshop studio for weblogic. I have created a domain using the configration wizard.
when i am trying to deploy the newly created dynamic web project EAR in to the server, its throwing a error
!MESSAGE Referenced library module 'weblogic-controls-10.0#[email protected]' failed to deploy.
!SUBENTRY 2 com.bea.workshop.wls.core 4 4000 2008-05-21 15:32:06.117
!MESSAGE java.net.MalformedURLException: no protocol: 10.2/wlserver_10.0/platform/lib/p13n/p13n_common.jar
!STACK 0
java.lang.Exception: Exception received from deployment driver. See Error Log view for more detail.
at com.bea.workshop.wls.core.server.internal.WlsJ2EEDeploymentHelper$DeploymentProgressListener.watch(WlsJ2EEDeploymentHelper.java:1459)
at com.bea.workshop.wls.core.server.internal.WlsJ2EEDeploymentHelper.deployLibrary(WlsJ2EEDeploymentHelper.java:1200)
at com.bea.workshop.wls.core.server.internal.WlsJ2EEDeploymentHelper.deployLibraryModules(WlsJ2EEDeploymentHelper.java:1079)
at com.bea.workshop.wls.core.server.internal.WlsJ2EEDeploymentHelper.deployAllLibraryModules(WlsJ2EEDeploymentHelper.java:1046)
at com.bea.workshop.wls.core.server.internal.WlsJ2EEDeploymentHelper.deploy(WlsJ2EEDeploymentHelper.java:710)
at com.bea.workshop.wls.core.server.internal.WeblogicServerBehaviour.publishWeblogicModules(WeblogicServerBehaviour.java:1195)
at com.bea.workshop.wls.core.server.internal.WeblogicServerBehaviour.publishOnce(WeblogicServerBehaviour.java:657)
at com.bea.workshop.wls.core.server.internal.WeblogicServerBehaviour.publish(WeblogicServerBehaviour.java:486)
at org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:875)
at org.eclipse.wst.server.core.internal.Server.publish(Server.java:863)
at org.eclipse.wst.server.core.internal.PublishServerJob.run(PublishServerJob.java:142)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
Caused by: java.net.MalformedURLException: no protocol: 10.2/wlserver_10.0/platform/lib/p13n/p13n_common.jar
at java.net.URL.<init>(URL.java:567)
at java.net.URL.<init>(URL.java:464)
at java.net.URL.<init>(URL.java:413)
at sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:747)
at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147)
at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620)
at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247)
at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:197)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1634)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
at javax.management.remote.rmi.RMIConnectionImpl$6.run(RMIConnectionImpl.java:1595)
at java.security.AccessController.doPrivileged(Native Method)
at javax.management.remote.rmi.RMIConnectionImpl.unwrap(RMIConnectionImpl.java:1586)
at javax.management.remote.rmi.RMIConnectionImpl.access$600(RMIConnectionImpl.java:81)
at javax.management.remote.rmi.RMIConnectionImpl$7.run(RMIConnectionImpl.java:1631)
at java.security.AccessController.doPrivileged(Native Method)
at javax.management.remote.rmi.RMIConnectionImpl.unwrap(RMIConnectionImpl.java:1627)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:766)
at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:479)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:475)
at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:59)
at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:1016)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
Any help on this is welcomed
Thanks and regards
VishnuIf you don't mind can you please provide a more step-by-step instructions to reproduce.
-
Error while configuring weblogic workshop application to cruise control.
Hi,
I have a web application which is created through weblogic workshop 9.2 and want to configure it to cruise control.
In that process, i had to change the web app to ear application and created build.xml for configuring it to cruise control
but I'm getting the following error.
It would be great if anyone could resolve the issue.
copyConfiguration:
[echo] No configuration directories specified
createWorkspaceXML:
[echo] Running createWorkspaceXMLFile
checkout:
build:
[echo] Compiling using /home/cocbad/wlp92-projects/SearchApp/src/SearchApp/SearchApp/build.xml
init.env:
check.params:
check.versions:
init.typedefs:
[echo] Using Workshop Libraries located in the "../SearchApp/ant-build-lib" directory.
Trying to override old definition of task for
Trying to override old definition of task jspc
init:
[mdimport] The workspace is missing the definition of the "BEA WebLogic Server v9.2 JRE" Java VM, which is referenced by a project.
BUILD FAILED
/home/cocbad/wlp92-projects/SearchApp/SearchApp_build.xml:20: The following error occurred while executing this line:
/home/cocbad/wlp92-build/build_app.xml:44: The following error occurred while executing this line:
/home/cocbad/wlp92-build/build_tasks.xml:110: The following error occurred while executing this line:
/home/cocbad/wlp92-projects/SearchApp/src/SearchApp/SearchApp/build.xml:74: Metadata import failed!
Total time: 8 seconds
Thanks & Regards,
SwapnaHi,
Issue is resolved.
Value for property "aia.jdev.lib.dir" was missing in my build.xml.
Regards,
UJ -
Problem in starting weblogic server as proxy
I am using weblogic server as Proxy to forward the requests to weblogic cluster.
When i bring up the proxy, it works fine, but when i try to access the application deployed in cluster through Proxy, the proxy server crashes with the follwoing error.
I am Pasting my complete logs below.
Setting JVM memory params for server IRISProxy
Using server IRISProxy-specfic java memory arguments: -Xms32m -Xmx200m -XX:SurvivorRatio=4 -XX:TargetSurvivorRatio=80 -XX:MaxPermSize=128m -XX:+DisableExplicitGC -XX:NewRatio=4
WLS Production Mode=true
./startWebLogic.sh[68]: B: not found.
maxfiles=8192
CLASSPATH=/home/weblogic/bea_wli/user_projects/domains/AppSvcDomain/util/CR211812_81sp4.jar:/home/weblogic/bea_wli/user_projects/domains/AppSvcDomain/util/CR235145_81sp4.jar:/home/weblogic/bea_wli/weblogic81/common/lib/CR224719_81sp2.jar:/home/weblogic/bea_wli/weblogic81/common/lib/CR137449_81sp2.jar:/home/weblogic/bea_wli/weblogic81/server/lib/weblogic_knex_patch.jar:/home/weblogic/bea_wli/weblogic81/common/lib/log4j.jar:/home/weblogic/bea_wli/weblogic81/server/lib/debugging.jar:/home/weblogic/bea_wli/weblogic81/server/lib/knex.jar:/home/weblogic/bea_wli/weblogic81/javelin/lib/javelin.jar:/home/weblogic/bea_wli/weblogic81/server/lib/wlw-lang.jar:/home/weblogic/bea_wli/jdk141_05/lib/tools.jar:/home/weblogic/bea_wli/weblogic81/server/lib/weblogic_sp.jar:/home/weblogic/bea_wli/weblogic81/server/lib/weblogic.jar:/home/weblogic/bea_wli/weblogic81/server/lib/ojdbc14.jar:/home/weblogic/bea_wli/weblogic81/server/lib/ant/ant.jar:/home/weblogic/bea_wli/jdk141_05/jre/lib/rt.jar:/opt/jes/policy_agent/IdentityServer/j2ee_agents/config/_home_weblogic_bea_wli_user_projects_domains_AppSvcDomain-IRIS:/opt/jes/policy_agent/IdentityServer/j2ee_agents/lib/agent_tools_2_1.jar:/opt/jes/policy_agent/IdentityServer/j2ee_agents/config/_home_weblogic_bea_wli_user_projects_domains_AppSvcDomain-Admin:/opt/jes/policy_agent/IdentityServer/j2ee_agents/locale:/opt/jes/policy_agent/IdentityServer/j2ee_agents/lib/am_agent_sdk_2_1.jar:/opt/jes/policy_agent/IdentityServer/j2ee_agents/lib/am_agent_filter_2_1.jar:/opt/jes/policy_agent/IdentityServer/j2ee_agents/lib/am_sdk.jar:/opt/jes/policy_agent/IdentityServer/j2ee_agents/lib/am_services.jar:/opt/jes/policy_agent/IdentityServer/j2ee_agents/lib/am_sso_provider.jar:/opt/jes/policy_agent/IdentityServer/j2ee_agents/lib/am_logging.jar:/opt/jes/policy_agent/IdentityServer/j2ee_agents/lib/am_wl70_agent_2_1.jar:::::/home/weblogic/bea_wli/user_projects/domains/AppSvcDomain/util/SecurityClient-v1.0.7.jar:/home/weblogic/bea_wli/user_projects/domains/AppSvcDomain/util/Log4JInitServlet.jar:/home/weblogic/bea_wli/user_projects/domains/AppSvcDomain/util/log4j_IRIS-1.2.4.jar:::/home/weblogic/bea_wli/weblogic81/server/lib/webserviceclient.jar:/home/weblogic/bea_wli/weblogic81/server/lib/webserviceclient+ssl.jar:/home/weblogic/bea_wli/weblogic81/server/lib/xbean.jar:/home/weblogic/bea_wli/weblogic81/server/lib/wlxbean.jar:/home/weblogic/bea_wli/weblogic81/server/lib/xqrl.jar:/home/weblogic/bea_wli/weblogic81/server/lib/netui/netui-compiler.jar:/home/weblogic/bea_wli/weblogic81/server/lib/wli.jar:/home/weblogic/bea_wli/weblogic81/server/lib/fop.jar:/home/weblogic/bea_wli/weblogic81/integration/adapters/sample/lib/sample-eis.jar:
PATH=/home/weblogic/bea_wli/weblogic81/server/bin:/home/weblogic/bea_wli/weblogic81/server/bin:/home/weblogic/bea_wli/jdk141_05/jre/bin:/home/weblogic/bea_wli/jdk141_05/bin:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/usr/local/bin:/opt/hparray/bin:/opt/nettladm/bin:/opt/upgrade/bin:/opt/fcms/bin:/opt/pd/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/resmon/bin:/opt/perf/bin:/opt/prm/bin:/opt/mx/bin:/opt/gnome/bin:/opt/wbem/bin:/opt/wbem/sbin:/opt/ignite/bin:/opt/graphics/common/bin:/usr/sbin/diag/contrib:/opt/sec_mgmt/spc/bin:/opt/networker/bin:/opt/sec_mgmt/bastille/bin:/opt/hpnpl//bin:/opt/mozilla:/opt/OV/bin/OpC:/opt/OV/bin:/sbin:/home/root:/util:/home/weblogic/bea_wli/jdk141_05/jre/bin:/usr/local/bin:/usr/local/sbin:.
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http://hostname:port/console *
starting weblogic with Java version:
java version "1.4.1.05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1.05-030910-01:23)
Java HotSpot(TM) Server VM (build 1.4.1 1.4.1.05-030910-02:49-PA_RISC2.0 PA2.0, mixed mode)
Starting WLS with line:
/home/weblogic/bea_wli/jdk141_05/bin/java -server -Xms32m -Xmx200m -XX:SurvivorRatio=4 -XX:TargetSurvivorRatio=80 -XX:MaxPermSize=128m -XX:+DisableExplicitGC -XX:NewRatio=4 -Dweblogic.security.SSL.trustedCAKeyStore=/home/weblogic/bea_wli/weblogic81/server/lib/cacerts -Dweblogic.security.SSL.ignoreHostnameVerification=true -Dcom.iplanet.coreservices.configpath=/opt/jes/policy_agent/IdentityServer/j2ee_agents/config/_home_weblogic_bea_wli_user_projects_domains_AppSvcDomain-IRIS/ums -Djava.util.logging.config.file=/opt/jes/policy_agent/IdentityServer/j2ee_agents/config/_home_weblogic_bea_wli_user_projects_domains_AppSvcDomain-IRIS/AMAgent.properties -DLOG_COMPATMODE=Off -Dmax_conn_pool=10 -Dmin_conn_pool=1 -Damconfig=AMAgent -Dapp.config.dir=/home/weblogic/upload/appsvcdomain/IRIS/config -Dcom.iplanet.coreservices.configpath=/opt/jes/policy_agent/IdentityServer/j2ee_agents/config/_home_weblogic_bea_wli_user_projects_domains_AppSvcDomain-IRIS/ums -Djava.util.logging.config.file=/opt/jes/policy_agent/IdentityServer/j2ee_agents/config/_home_weblogic_bea_wli_user_projects_domains_AppSvcDomain-IRIS/AMAgent.properties -DLOG_COMPATMODE=Off -Dmax_conn_pool=10 -Dmin_conn_pool=1 -Damconfig=AMAgent -Dapp.config.dir=/home/weblogic/upload/appsvcdomain/IRIS/config -da -Dplatform.home=/home/weblogic/bea_wli/weblogic81 -Dwls.home=/home/weblogic/bea_wli/weblogic81/server -Dwli.home=/home/weblogic/bea_wli/weblogic81/integration -Dlog4j.configuration=file:/home/weblogic/bea_wli/weblogic81/common/lib/workshopLogCfg.xml -Dweblogic.management.discover=false -Dweblogic.management.server=t3://170.63.142.14:8100 -Dweblogic.security.SSL.ignoreHostnameVerify=false -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=true -Dweblogic.security.SSL.trustedCAKeyStore=/home/weblogic/bea_wli/weblogic81/server/lib/cacerts -Dcom.iplanet.coreservices.configpath=/opt/jes/policy_agent/IdentityServer/j2ee_agents/config/_home_weblogic_bea_wli_user_projects_domains_AppSvcDomain/ums -Djava.util.logging.config.file=/opt/jes/policy_agent/IdentityServer/j2ee_agents/config/_home_weblogic_bea_wli_user_projects_domains_AppSvcDomain/AMAgent.properties -DLOG_COMPATMODE=Off -Dmax_conn_pool=10 -Dmin_conn_pool=1 -Damconfig=AMAgent -Dweblogic.Name=IRISProxy -Dweblogic.ProductionModeEnabled=true -Djava.security.policy=/home/weblogic/bea_wli/weblogic81/server/lib/weblogic.policy weblogic.Server
Bad level value for property: com.iplanet.services.debug.level
Bad level value for property: com.sun.identity.agents.logging.level
Bad level value for property: com.sun.am.policy.amFilter.audit.level
<Mar 15, 2006 3:40:33 PM EST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Server VM Version 1.4.1 1.4.1.05-030910-02:49-PA_RISC2.0 PA2.0 from Hewlett-Packard Company>
<Mar 15, 2006 3:40:34 PM EST> <Info> <Management> <BEA-141140> <The managed server is going to contact the admin server at http://170.63.142.14:8100 to check if there exists a running admin server at this URL.>
<Mar 15, 2006 3:40:34 PM EST> <Info> <Configuration Management> <BEA-150017> <This server is being started as a dependent managed server.>
<Mar 15, 2006 3:40:35 PM EST> <Warning> <Configuration Management> <BEA-150033> <The managed server should not be started in development mode.>
<Mar 15, 2006 3:40:35 PM EST> <Info> <Management> <BEA-141107> <Version: WebLogic Temporary Patch for CR211812 01/23/2005 22:15:39
WebLogic Temporary Patch for CR235145 08/16/2005 11:44:59
WebLogic Temporary Patch for CR224719 04/29/2005 16:40:35
WebLogic Temporary Patch for CR137449 02/24/2004 10:48:06
WebLogic Server 8.1 SP2 Fri Dec 5 15:01:51 PST 2003 316284
WebLogic XMLX Module 8.1 SP2 Fri Dec 5 15:01:51 PST 2003 316284
WebLogic Server 8.1 SP2 Fri Dec 5 15:01:51 PST 2003 316284
WebLogic Server 8.1 SP2 Fri Dec 5 15:01:51 PST 2003 316284
WebLogic Integration 8.1 SP2 Thu Dec 11 22:07:14 PST 2003 148883>
<Mar 15, 2006 3:40:35 PM EST> <Info> <Configuration Management> <BEA-150015> <Connecting to the administration server http://170.63.142.14:8100 to retrieve the initial configuration.>
<Mar 15, 2006 3:40:46 PM EST> <Notice> <Log Management> <BEA-170019> <The server log file /home/weblogic/bea_wli/user_projects/domains/AppSvcDomain/IRISProxy/IRISProxy.log is opened. All server side log events will be written to this file.>
<Mar 15, 2006 3:41:29 PM EST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Mar 15, 2006 3:41:29 PM EST> <Notice> <WebLogicServer> <BEA-000328> <Starting WebLogic Managed Server "IRISProxy" for domain "AppSvcDomain">
<Mar 15, 2006 3:41:57 PM EST> <Warning> <HTTP> <BEA-101299> <The servlet-mapping for servlet-name "HttpClusterServlet" will override the default mapping for *.jsp. This can lead to a show code vulnerability.>
<Mar 15, 2006 3:42:06 PM EST> <Notice> <Security> <BEA-090170> <Loading the private key stored under the alias irisqa from the jks keystore file /home/weblogic/bea_wli/weblogic81/server/lib/trustIdentityKeys/iris_qa.jks.>
<Mar 15, 2006 3:42:06 PM EST> <Notice> <Security> <BEA-090171> <Loading the identity certificate stored under the alias irisqa from the jks keystore file /home/weblogic/bea_wli/weblogic81/server/lib/trustIdentityKeys/iris_qa.jks.>
<Mar 15, 2006 3:42:08 PM EST> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file /home/weblogic/bea_wli/jdk141_05/jre/lib/security/cacerts.>
<Mar 15, 2006 3:42:09 PM EST> <Notice> <WebLogicServer> <BEA-000330> <Started WebLogic Managed Server "IRISProxy" for domain "AppSvcDomain" running in Production Mode>
<Mar 15, 2006 3:42:09 PM EST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
<Mar 15, 2006 3:42:09 PM EST> <Notice> <WebLogicServer> <BEA-000355> <Thread "ListenThread.Default" listening on port 7001, ip address 170.63.142.29>
<Mar 15, 2006 3:42:09 PM EST> <Notice> <WebLogicServer> <BEA-000355> <Thread "SSLListenThread.Default" listening on port 443, ip address 170.63.142.29>
<Mar 15, 2006 5:02:26 PM EST> <Emergency> <WebLogicServer> <BEA-000209> <ListenThread.run() failed: java.lang.NoSuchMethodError: com.certicom.tls.interfaceimpl.TLSSystem.createServer(Ljavax/net/ssl/SSLSocket;Ljava/io/InputStream;Ljava/io/OutputStream;Ljava/io/Serializable;)Lcom/certicom/tls/TLSConnection;
java.lang.NoSuchMethodError: com.certicom.tls.interfaceimpl.TLSSystem.createServer(Ljavax/net/ssl/SSLSocket;Ljava/io/InputStream;Ljava/io/OutputStream;Ljava/io/Serializable;)Lcom/certicom/tls/TLSConnection;
at javax.net.ssl.impl.SSLSocketImpl.resetConnection(Unknown Source)
at javax.net.ssl.impl.SSLServerSocketImpl.accept(Unknown Source)
at weblogic.t3.srvr.ListenThread.accept(ListenThread.java:739)
at weblogic.t3.srvr.ListenThread.run(ListenThread.java:292)
>
<Mar 15, 2006 5:02:26 PM EST> <Emergency> <WebLogicServer> <BEA-000210> <The WebLogic Server is no longer listening for connections.>
<Mar 15, 2006 5:02:26 PM EST> <Alert> <WebLogicServer> <BEA-000218> <Server shutdown has been requested by <WLS Kernel>>
<Mar 15, 2006 5:02:26 PM EST> <Notice> <WebLogicServer> <BEA-000353> <Thread "ListenThread.Default" stopped listening on port 7001, ip address 170.63.142.29>
<Mar 15, 2006 5:02:26 PM EST> <Notice> <WebLogicServer> <BEA-000353> <Thread "SSLListenThread.Default" stopped listening on port 443, ip address 170.63.142.29>
<Mar 15, 2006 5:02:26 PM EST> <Alert> <WebLogicServer> <BEA-000219> <The shutdown sequence has been initiated.>
Can someone help me in solving this problem
Thanks
KrisI solved this problem by commenting the 8.1 SP4 patches i applied in 8.1 SP2
WebLogic Temporary Patch for CR211812
WebLogic Temporary Patch for CR235145
Once i commented the above patches in the CLASSPATH.
The issue is resolved. -
Dynamic Class Loading in Weblogic Workshop
Hi, I am developing a web service with weblogic workshop. The JWS file references
other classes one of which is a factory for distributing various implementations
of an interface. I am trying to dynamically load the relevant class to be distributed
from the factory via its name, e.g. Class c = Class.forName(className)
However I keep getting a classNotFoundException. The class exists in the same
package as the factory. I can insantiate the class in the normal way, i.e new
ClassName(); but cant seem to dynamically load it via its name. However I have
found that if I declare a private member of that type in the Factory but do nothing
with it, I can then dynamically create the class. However I dont really want
to do this for every type that the factory can create
Any ideas ??Graeme,
Could you please send us a relevant snippet of the JWS and your factory
class, to clarify the issue and help us replicate it here.
Thanks,
Anurag
"Graeme Dougal" <[email protected]> wrote in message
news:3e799b78$[email protected]..
>
Hi, I am developing a web service with weblogic workshop. The JWS filereferences
other classes one of which is a factory for distributing variousimplementations
of an interface. I am trying to dynamically load the relevant class to bedistributed
from the factory via its name, e.g. Class c = Class.forName(className)
However I keep getting a classNotFoundException. The class exists in thesame
package as the factory. I can insantiate the class in the normal way,i.e new
ClassName(); but cant seem to dynamically load it via its name. However Ihave
found that if I declare a private member of that type in the Factory butdo nothing
with it, I can then dynamically create the class. However I dont reallywant
to do this for every type that the factory can create
Any ideas ?? -
JAX-WS client - WebLogic - SSL with proxy server
Good night!
I'm having trouble communicating with webservices using certificate authentication (weblogic.wsee.jaxws.sslclient.PersistentSSLInfo) through and going through a proxy server (weblogic.wsee.jaxws.proxy.ClientProxyFeature) .
If communication with the webservice is done directly (no proxy server) everything happens perfectly, but to set the proxy server I get the exception "BAD_CERTIFICATE." it is as if the certificate was not attached in the request.
The webservice client was generated by JDeveloper.
Has anyone experienced this problem?
Sorry for my bad english
Exception
javax.xml.ws.WebServiceException: javax.net.ssl.SSLKeyException: FATAL Alert:BAD_CERTIFICATE - A corrupt or unuseable certificate was received.
at com.sun.xml.ws.transport.http.client.HttpClientTransport.readResponseCodeAndMessage(HttpClientTransport.java:218)
at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:204)
at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:124)
at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:121)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:866)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:815)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:778)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:680)
at com.sun.xml.ws.client.Stub.process(Stub.java:272)
at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:153)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:115)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:136)
at $Proxy30.cleCadastroLote(Unknown Source)
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.wsee.jaxws.spi.ClientInstanceInvocationHandler.invoke(ClientInstanceInvocationHandler.java:84)
at $Proxy31.cleCadastroLote(Unknown Source)
at br.com.tbl.ws.CleCadastroPortClient.main(CleCadastroPortClient.java:51)
Webservice client with proxy server (error)
import weblogic.wsee.jaxws.sslclient.PersistentSSLInfo;
import javax.xml.ws.BindingProvider;
import weblogic.wsee.jaxws.JAXWSProperties;
import weblogic.wsee.jaxws.proxy.ClientProxyFeature;
import weblogic.wsee.jaxws.sslclient.SSLClientUtil;
public class CleCadastroPortClient
public static void main(String [] args)
try{
CleCadastro_Service cleCadastro_Service = new CleCadastro_Service();
CleCadastro cleCadastro = cleCadastro_Service.getCleCadastroPort();
String clientKeyStore = "C:\\certificados.jks";
String clientKeyStorePasswd = "xxxxx";
String clientKeyAlias = "xxxxx";
String clientKeyPass = "xxxxx";
String trustKeystore = "C:\\keystore_completo.jks";
String trustKeystorePasswd = "xxxxx";
PersistentSSLInfo sslInfo = new PersistentSSLInfo();
sslInfo.setKeystore(clientKeyStore);
sslInfo.setKeystorePassword(clientKeyStorePasswd);
sslInfo.setKeyAlias(clientKeyAlias);
sslInfo.setKeyPassword(clientKeyPass);
sslInfo.setTrustKeystore(trustKeystore);
sslInfo.setTrustKeystorePassword(trustKeystorePasswd);
ClientProxyFeature clientProxy = new ClientProxyFeature();
clientProxy.setProxyHost("proxy.com");
clientProxy.setProxyPort(Integer.parseInt("3128") );
clientProxy.setProxyUserName("user");
clientProxy.setProxyPassword("pass");
clientProxy.attachsPort(cleCadastro);
((BindingProvider) cleCadastro).getRequestContext().put(JAXWSProperties.CLIENT_PERSISTENT_SSL_INFO, sslInfo);
((BindingProvider) cleCadastro).getRequestContext().put(JAXWSProperties.SSL_SOCKET_FACTORY, SSLClientUtil.getSSLSocketFactory(sslInfo));
((BindingProvider) cleCadastro).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, "https:/xxxx/ws");
String retorno = cleCadastro.cleCadastroLote("xml", "xml");
}catch(Exception ex){
ex.printStackTrace();
Webservice client without proxy server (OK)
import weblogic.wsee.jaxws.sslclient.PersistentSSLInfo;
import javax.xml.ws.BindingProvider;
import weblogic.wsee.jaxws.JAXWSProperties;
import weblogic.wsee.jaxws.proxy.ClientProxyFeature;
import weblogic.wsee.jaxws.sslclient.SSLClientUtil;
public class CleCadastroPortClient
public static void main(String [] args)
try{
CleCadastro_Service cleCadastro_Service = new CleCadastro_Service();
CleCadastro cleCadastro = cleCadastro_Service.getCleCadastroPort();
String clientKeyStore = "C:\\certificados.jks";
String clientKeyStorePasswd = "xxxxx";
String clientKeyAlias = "xxxxx";
String clientKeyPass = "xxxxx";
String trustKeystore = "C:\\keystore_completo.jks";
String trustKeystorePasswd = "xxxxx";
PersistentSSLInfo sslInfo = new PersistentSSLInfo();
sslInfo.setKeystore(clientKeyStore);
sslInfo.setKeystorePassword(clientKeyStorePasswd);
sslInfo.setKeyAlias(clientKeyAlias);
sslInfo.setKeyPassword(clientKeyPass);
sslInfo.setTrustKeystore(trustKeystore);
sslInfo.setTrustKeystorePassword(trustKeystorePasswd);
((BindingProvider) cleCadastro).getRequestContext().put(JAXWSProperties.CLIENT_PERSISTENT_SSL_INFO, sslInfo);
((BindingProvider) cleCadastro).getRequestContext().put(JAXWSProperties.SSL_SOCKET_FACTORY, SSLClientUtil.getSSLSocketFactory(sslInfo));
((BindingProvider) cleCadastro).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, "https:/xxxx/ws");
String retorno = cleCadastro.cleCadastroLote("xml", "xml");
}catch(Exception ex){
ex.printStackTrace();
}Hi,
I tried to use the option "-DUseSunHttpHandler=true" and enabled "JSSE SSL", but it did not work, now showing the exception "General SSLEngine problem".
<05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <javax.xml.ws.WebServiceException: javax.net.ssl.SSLHandshakeException: General SSLEngine problem>
<05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.transport.http.client.HttpClientTransport.readResponseCodeAndMessage(HttpClientTransport.java:218)>
<05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:204)>
<05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:124)>
<05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:866)>
<05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:121)>
<05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:815)>
<05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:778)>
<05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:680)>
<05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at $Proxy308.cleCadastroLote(Unknown Source)>
<05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)>
<05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:136)>
<05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)>
<05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:115)>
<05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:153)>
<05/09/2012 15h36min55s GMT-03:00> <Notice> <StdErr> <BEA-000000> <at com.sun.xml.ws.client.Stub.process(Stub.java:272)> -
How to import the existing project in the CVS to the weblogic workshop??
Hi,
I have a project in the CVS and I want to work with that project in the weblogic8.1 workshop.
Can anyone help me in importing the existing CVS project/application into the weblogic workshop so that I can check-in, check-out and debug the application.
Thanks in advance
Raj B.Hi,
If you want to rename Development Component (DC) project, here is the procedure..
How to rename local Development Component Projects in Netweaver Developer Studio
Regards,
Uday. -
How do I read properties file kept in the source folder in weblogic workshop
I want to have a log.properties file in the folder of the source java code which
is reading this properties file. When I build the code the properties file also
should go with the generated .class files.
I am using class.getResourceAsStream("log.properties")
I tries different ways to make the class to read the file, but it failed to find
the properties file. Is there any way to keep the configuration files in the same
directory of the source java code ? This is the problem of weblogic workshop 8.1.
This thing runs fine in Tomcat.Did you try and add the path where the .properties file is located in the CLASSPATH?
-
Default namespace in WebLogic Workshop generated WSDL
Hello there,
I am trying to access a very simple webservice developed in WebLogic Workshop
(say something like HelloWorld.jws) from a ColdFusion application. However, I
get an Axis fault on Coldfusion implying that it could not invoke the required
method. I am running the examples server and the work shop. I noticed that some
of the documentation mention changing the namespace from http://www.openuri.com
to something else.
Does that have to do anything with the service not being able to be invoked or
it could be something else?
Could not perform web service invocation "Hello" because AxisFault faultCode:
{http://xml.apache.org/axis/}Server.userException faultString: java.net.ConnectException:
Connection refused faultActor: null faultDetail: stackTrace: java.net.ConnectException:
Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:350) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:137)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:124) at java.net.Socket.<init>(Socket.java:268)
at java.net.Socket.<init>(Socket.java:95) at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:131)
at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:175) at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:118) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:182) at org.apache.axis.client.Call.invokeEngine(Call.java:2113)
at org.apache.axis.client.Call.invoke(Call.java:2102) at org.apache.axis.client.Call.invoke(Call.java:1851)
at org.apache.axis.client.Call.invoke(Call.java:1777) at org.apache.axis.client.Call.invoke(Call.java:1315)
at org.openuri.www.HelloWorldSoapStub.hello(HelloWorldSoapStub.java:85) at java.lang.reflect.Method.invoke(Native
Method) at coldfusion.xml.rpc.ServiceProxy.invokeImpl(Unknown Source) at coldfusion.xml.rpc.ServiceProxy.invoke(Unknown
Source) at coldfusion.runtime.CfJspPage._invoke(Unknown Source) at coldfusion.tagext.lang.InvokeTag.doEndTag(Unknown
Source) at cfstaffphone22ecfm1540840989.runPage(/www/docs/viper.asce.org/staffphone2.cfm:16)
at coldfusion.runtime.CfJspPage.invoke(Unknown Source) at coldfusion.tagext.lang.IncludeTag.doStartTag(Unknown
Source) at coldfusion.filter.CfincludeFilter.invoke(Unknown Source) at coldfusion.filter.ApplicationFilter.invoke(Unknown
Source) at coldfusion.filter.RequestMonitorFilter.invoke(Unknown Source) at coldfusion.filter.PathFilter.invoke(Unknown
Source) at coldfusion.filter.ExceptionFilter.invoke(Unknown Source) at coldfusion.filter.ClientScopePersistenceFilter.invoke(Unknown
Source) at coldfusion.filter.BrowserFilter.invoke(Unknown Source) at coldfusion.filter.GlobalsFilter.invoke(Unknown
Source) at coldfusion.filter.DatasourceFilter.invoke(Unknown Source) at coldfusion.CfmServlet.service(Unknown
Source) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:226) at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:198)
at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:348)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451)
at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:294)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) nullSanjeev,
The exception you mentioned about changing the namespace should not cause
the behavior that you are noticing.
The exception that you are receiving states that your ColdFusion application
is not able to access the Workshop Web Service.
Are both coldfusion and Workshop on the same physical machine ?
If they are not on the same machine.
Are you able to access the wsdl via a browser from the machine on which
coldfusion installed ?
The wsdl has an service name tag
- <port name="SimpleTestSoap" binding="s0:SimpleTestSoap">
<soap:address location=http://localhost:7001/Raj/SimpleTest.jws />
</port>
This address location is be default the machine on which this Web Service is
built, and this defaults to localhost:7001.
This entry can be modified by editing the weblogic-jws-config.xml file found
in the WEB-INF/lib folder of the project.
Can you make sure that address location contains the correct address and
also check to see if the Web Service is available via any browser.
Hope this help.
Thanks
Raj Alagumalai
WebLogic Workshop Support
"Sanjeev" <[email protected]> wrote in message
news:[email protected]...
>
Hello there,
I am trying to access a very simple webservice developed in WebLogicWorkshop
(say something like HelloWorld.jws) from a ColdFusion application.However, I
get an Axis fault on Coldfusion implying that it could not invoke therequired
method. I am running the examples server and the work shop. I noticed thatsome
of the documentation mention changing the namespace fromhttp://www.openuri.com
to something else.
Does that have to do anything with the service not being able to beinvoked or
it could be something else?
Could not perform web service invocation "Hello" because AxisFaultfaultCode:
{http://xml.apache.org/axis/}Server.userException faultString:
java.net.ConnectException:
Connection refused faultActor: null faultDetail: stackTrace:java.net.ConnectException:
Connection refused at java.net.PlainSocketImpl.socketConnect(NativeMethod) at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:350) atjava.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:137)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:124) atjava.net.Socket.<init>(Socket.java:268)
at java.net.Socket.<init>(Socket.java:95) atorg.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFact
ory.java:131)
atorg.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:175) at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:118) atorg.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:
71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156) atorg.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:182) atorg.apache.axis.client.Call.invokeEngine(Call.java:2113)
at org.apache.axis.client.Call.invoke(Call.java:2102) atorg.apache.axis.client.Call.invoke(Call.java:1851)
at org.apache.axis.client.Call.invoke(Call.java:1777) atorg.apache.axis.client.Call.invoke(Call.java:1315)
at org.openuri.www.HelloWorldSoapStub.hello(HelloWorldSoapStub.java:85) atjava.lang.reflect.Method.invoke(Native
Method) at coldfusion.xml.rpc.ServiceProxy.invokeImpl(Unknown Source) atcoldfusion.xml.rpc.ServiceProxy.invoke(Unknown
Source) at coldfusion.runtime.CfJspPage._invoke(Unknown Source) atcoldfusion.tagext.lang.InvokeTag.doEndTag(Unknown
Source) atcfstaffphone22ecfm1540840989.runPage(/www/docs/viper.asce.org/staffphone2.cf
m:16)
at coldfusion.runtime.CfJspPage.invoke(Unknown Source) atcoldfusion.tagext.lang.IncludeTag.doStartTag(Unknown
Source) at coldfusion.filter.CfincludeFilter.invoke(Unknown Source) atcoldfusion.filter.ApplicationFilter.invoke(Unknown
Source) at coldfusion.filter.RequestMonitorFilter.invoke(Unknown Source)at coldfusion.filter.PathFilter.invoke(Unknown
Source) at coldfusion.filter.ExceptionFilter.invoke(Unknown Source) atcoldfusion.filter.ClientScopePersistenceFilter.invoke(Unknown
Source) at coldfusion.filter.BrowserFilter.invoke(Unknown Source) atcoldfusion.filter.GlobalsFilter.invoke(Unknown
Source) at coldfusion.filter.DatasourceFilter.invoke(Unknown Source) atcoldfusion.CfmServlet.service(Unknown
Source) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) atjrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
atjrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:226) at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)at
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:198)
atjrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:
348)
atjrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451
atjrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:29
4)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) null
Maybe you are looking for
-
Open a SubVI and run automatica​lly
Hallo everyone, I´ve an event structure in which a SubVI is called by VI server. I don´t want the main VI to be frozen so I turned the wait until done off. But the SubVI is just called and in edit mode. How can I call the SubVI and run it automatical
-
How to save a symbol so I can reuse it . .
Hi to all! I want to start this discussion with an apology. I apologize if this question has asked many times or several times ago. I am really sorry. Now, my problem is that my schedules are tight now, I can't finish a sprite animation for a day. My
-
I am getting calendar notifications for others calendars on my iphone
Ever since I updated to IOS8, I have been getting calendar notifications from my boss's calendar on my iphone 5. I have his calendar as a secondary calendar so I can schedule appointments with him as needed. His is the only secondary calendar that
-
Hello everybody i use Oracle Database EE 11.2.0.4 with DG. In those cases i need to get Enterprise Manager Database Control running against DB with no RAC and no DG i perform the following steps: I Logon SQLPLUS as user SYS or SYSTEM, and drop the sy
-
Data conversion - How to convert char to decimal variant?
Hi expert, In the example below, I want to convert the variable l_var1 to l_result data l_var1(16) type c. data l_preis(11) TYPE p DECIMALS 2. data l_result(11) TYPE p DECIMALS 2. l_preis = 10981. write l_preis to l_var1. after the write statement, l