WebLogic Workshop 9.2
Though the base version of Eclipse being used for WebLogic Workshop 9.x is Eclipse 3.1, why has the feature.xml file of Eclipse been changed to say 9.2?
Hi Pranav,
It turns out that the .eclipseproduct file is specifically there to be customized with the product name, id, and version number for the product. It is part of the mechanisms Eclipse provides for branding.
http://www.eclipse.org/articles/Article-Branding/branding-your-application.html
http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/product_config_install.htm
So unfortunately it looks like the 3rd party installer is not handling this standard mechanism correctly.
Does changing the version number allow the plugins to be installed so that the customer is able to move forward without other problems?
Thanks.
-Chris
Similar Messages
-
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.
-
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. -
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 -
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 ?? -
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 -
Authentication error weblogic workshop
Hi ,
I am trying to debugg my application with weblogic workshop but its
giving authentication error. My application is deployed and i can access it
. I am using ant . Actually when i click the debug button it statrts the
build and after successful termination of the build process it opens the
debug view but gives the following error :-
Authentication Failure when connecting to server
Check your weblogic server username and password are correct and that the
user has full admin rights.
I have given the same username and password in workshop that i gave while
configuring my domain. I guess workshop is not able to communicate with the
server . Please help me out. I have spent enough time resolving this.
ThanksThe text of the error message may be incorrect, but the intent of the
message is correct. You cannot use <max-beans-in-free-pool> with a Stateful
session bean. See:
http://e-docs.bea.com/wls/docs81/ejb/DDreference-ejb-jar.html#1114854
Bill
"Rick Jackson" <[email protected]> wrote in message
news:26851318.1105651919423.JavaMail.root@jserv5...
Hello,
I have created a session EJB in Weblogic workshop. In the propertyeditor, I have set the "type" to "Stateful". I have then set the
max-beans-in-free-pool to 1. I build my ejb project, and I get the below
error:
"A Stateless Session Bean cannot have a tag max-beans-in-free-pool". Thisdoesn't make any sense to me since I have specified that it is a "Stateful"
session bean. I am using Weblogic workshop 8.1 sp2 -
I installed the WebLogic Workshop 8.1.2 (Build: 2003.1211.044125). I built all
six projects
and everything seems to work well.
I could access to the sample web services on the WebLogic server from the local
server
as well as from a remote client machine by pointing the browser to the following
two URLs respectively:
http://localhost:7001/WebServices/index.jsp (browser from local server)
http://192.168.1.100:7001/WebServices/index.jsp (browser from remote client machine)
When the "Simple web service sample" page shows up, I could click from the local
server, and
go to the HellowWorld.jws link. However, from the remote machine, I got the "Page
not found"
error when clicking on the HelloWorld.jws link.
I checked the index.jsp file in the
C:\bea\weblogic81\samples\workshop\SamplesApp\WebServices directory on the WebLogic
server, and found that all the href reference has the //localhost:7001 prefix
in the link,
which caused the remote browser to fail.
I then tried to global replacement and remove all the //localhost:7001 references
in the
index.jsp file so that the line changed from something like this:
href="http://localhost:7001/WebServices/HelloWorld.jws?.EXPLORE=.TEST">HelloWorld.jws</a>
to something like this:
href="http:/WebServices/HelloWorld.jws?.EXPLORE=.TEST">HelloWorld.jws</a>
and then save the index.jsp file in the same directory.
Now, I fresh both of my browsers and I can correctly access to the HelloWorld.jws,
and
all other sample links, from the local server as well as from the remote client
machine.
Why is //localhost:7001 needed in the index.jsp file? It seems that without it
the
samples work better.Hello,
You will need the full URL when you extend out of your local
environment. Check out docs here [1] for an overview or for an extended
story, review the issues [2] involved with clusters, DNS, IP addr, etc.
Hope this is of some value,
Bruce
[1]
http://edocs.bea.com/wls/docs81/webserv/assemble.html#1076491
[2]
http://e-docs.bea.com/wls/docs81/cluster/setup.html#714310
Shuh Chang wrote:
>
I installed the WebLogic Workshop 8.1.2 (Build: 2003.1211.044125). I built all
six projects
and everything seems to work well.
I could access to the sample web services on the WebLogic server from the local
server
as well as from a remote client machine by pointing the browser to the following
two URLs respectively:
http://localhost:7001/WebServices/index.jsp (browser from local server)
http://192.168.1.100:7001/WebServices/index.jsp (browser from remote client machine)
When the "Simple web service sample" page shows up, I could click from the local
server, and
go to the HellowWorld.jws link. However, from the remote machine, I got the "Page
not found"
error when clicking on the HelloWorld.jws link.
I checked the index.jsp file in the
C:\bea\weblogic81\samples\workshop\SamplesApp\WebServices directory on the WebLogic
server, and found that all the href reference has the //localhost:7001 prefix
in the link,
which caused the remote browser to fail.
I then tried to global replacement and remove all the //localhost:7001 references
in the
index.jsp file so that the line changed from something like this:
href="http://localhost:7001/WebServices/HelloWorld.jws?.EXPLORE=.TEST">HelloWorld.jws</a>
to something like this:
href="http:/WebServices/HelloWorld.jws?.EXPLORE=.TEST">HelloWorld.jws</a>
and then save the index.jsp file in the same directory.
Now, I fresh both of my browsers and I can correctly access to the HelloWorld.jws,
and
all other sample links, from the local server as well as from the remote client
machine.
Why is //localhost:7001 needed in the index.jsp file? It seems that without it
the
samples work better. -
Apache Axis allows developers to attach Request/Response handlers to do
stuff like logging, authorization check etc.
Something like...
public class MyHandler extends org.apache.axis.handlers.BasicHandler {
public void invoke(org.apache.axis.MessageContext msgContext) throws
AxisFault
Does BEA Weblogic Workshop has a similar capability?
Thanks.
Best Regards
HiteshHi Hitesh,
The logging in Workshop user log4j and is configured in the
<WL-HOME>/weblogic700/server/lib/workshopLogConfig.xml file.
To log the SOAP responses, add the following lines in the xml file:
<category name="knex.SoapJwsReq"> <priority value="debug" /> <appender-ref
ref="MYLOGFILE" /> </category>
<category name="knex.SoapJwsResp"> <priority value="debug" /> <appender-ref
ref="MYLOGFILE" /> </category>
The MYLOGFILE can be configured by copying from the already defined
appenders. The file location is relative to the domain directory.
<appender name="MYLOGFILE" class="org.apache.log4j.RollingFileAppender">
<param name="File" value="mylog.log" />
<param name="Append" value="true" />
<param name="MaxFileSize" value="3000KB" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d{DATE} %-5p %-15c{1}: %m%n"/>
</layout>
</appender>
As of now, the SOAP request message is not logged, only the responses are
getting logged. This will be corrected within the next few days. Please also
note that if you are using the Test View for running the web service, you
should use the 'Test XML' tab for seeing the SOAP requests/responses. The
'Test Form' tab uses HTTP GET, and hence you will not see any SOAP messages.
Do let me know if you have any further queries.
Regards,
Anurag
Workshop Support
"Hitesh Seth" <[email protected]> wrote in message
news:[email protected]...
Thanks Anurag. What is the best recommended way in BEA Weblogic Workshop
today to implement a logger which will log all SOAP Requests & Responses
into a custom logging system.
Best Regards
Hitesh
"Anurag Pareek" <[email protected]> wrote in message
news:[email protected]...
Hitesh,
You can modify the SOAP request and response payload by using ECMA
Script
and XMLMaps.
In the current release, Workshop does not support 'handlers' for SOAP
messages.
Regards,
Anurag
Workshop Support
"Hitesh Seth" <[email protected]> wrote in message
news:[email protected]...
Apache Axis allows developers to attach Request/Response handlers to
do
stuff like logging, authorization check etc.
Something like...
public class MyHandler extends org.apache.axis.handlers.BasicHandler {
public void invoke(org.apache.axis.MessageContext msgContext)throws
AxisFault
Does BEA Weblogic Workshop has a similar capability?
Thanks.
Best Regards
Hitesh -
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 -
How to create a servlet to be called by a portlet in weblogic workshop
Hey,
In weblogic workshop 8.1.4, I created a portal application. In the portlet(Java portlet- JSR 168), I would like to call a Java Servlet. In the workshop, it seems there is no way to create a Java Servlet.
Does anybody know how to create a Java Servlet in the Weblogic workshop?
Thanks!
JeffHow about creating a java class and adding the proper imports, extends, methods etc. to make it a servlet.
Do the the necessary changes to web.xml
Then try to invoke it from the portlet's jsp of java code
HTH,
Raj
Maybe you are looking for
-
IDoc to Flat file scenario - abap mapping
Hi All, I have to do some IDOC to Flat file scenarios. In Order to generate the file in required format I will have to add all segments(Nodes) of Idoc in FCC receiver. We also have other option of doing it through ABAP Mapping which I found in one bl
-
Is it possible to stream a videosignal, by wire, from an IP-camera to iPad
Is it possible to stream a videosignal, by wire, from an IP-camera to iPad?
-
Replace characters in StringBuffer
I am importing some XML data using Java code and importing the data into an Oracle database, but there is at least one wierd character in the data. The character looks like an apostrophe (what most people call a single-quote), but it's not the apostr
-
Passing option values through servlets
how do i pass this option values into another servlet?? out1.println("<select name =\"delimiter\" multiple>"); out1.println("<option value = \"type1\">" + ";"); out1.prin
-
Spell Check in "Pages" not working
I read a few posts, made sure my language was set (not void of one)... still doesn't work!