BEA Weblogic JSR compliant portal - Modes supported.
Hi,
The JSR 168 spec has the provision to support custom modes in addition to the default modes like view , help & edit . I want to know what are the custom modes supported by the Bea Web logic portal which is JSR 168 compliant.
In specific iam looking for is does the bea weblogic portal support Edit defaults mode. How this mode works is Assume a publisher create a portlet with some defaults and publishes it , and then when another logged in user sees the portlet he will see the portlet with those defaults which he can go and edit based on his customization. Just wanted to know if this mode is supported by the Edit default mode.
Thanks
Mouli
Hi,
The JSR 168 spec has the provision to support custom modes in addition to the default modes like view , help & edit . I want to know what are the custom modes supported by the Bea Web logic portal which is JSR 168 compliant.
In specific iam looking for is does the bea weblogic portal support Edit defaults mode. How this mode works is Assume a publisher create a portlet with some defaults and publishes it , and then when another logged in user sees the portlet he will see the portlet with those defaults which he can go and edit based on his customization. Just wanted to know if this mode is supported by the Edit default mode.
Thanks
Mouli
Similar Messages
-
Hi ,
I am developing JSR 168 compliant component. ie I would like to use portal component in other portal such as sharepoint, websphere.
I know Web Dynpro Java is not JSR 168 compliant. I would like to know if any of the following is JSR compliant:
1) AbstractPortalComponent
2) DynPage
3) JspDynPage
Is there any document available to develop JSR compliant portal applications?
Thanks & Regards,
Shrikant KambleHi Simon,
Thanks for your reply.
There is anyway in which we can develop portal based application with JSR 168 standards? I read in some forum link that AbstractPortalComponent is JSR 168 compliance.
JspDynPage - HTMLB - Events not called
Thanks & Regards,
Shrikant Kamble -
Upgrading from BEA Weblogic portal 8.1.5 to BEA Weblogic Portal 10.3
We are upgrading from BEA Weblogic portal 8.1.5 to BEA Weblogic Portal 10.3. We just took over the project from some other vendor since last 9 months. At some of the places in the code, we are using internal APIs of Weblogic Server which should not have been used at the first place.
As weblogic has changed the version and internal structure as well as the classes also, We are facing problems in terms of compilation of the code itself.
The class "ServletRequestImpl" is giving us issues.
Has anybody faced the similar issues, if yes, please let me know.Andy-
Since the Struts portlet support requires that struts app be converted to a module,
alternate message resources need to be accessed by modifying the bundle name by
appending the module name, since Struts doesn't automatically propogate the alternate
resources from the ServletContext to the Request when a module is selected.
For instance, in suppose your struts application module is /struts/myExample.
To access the alternate bundle from within that module, you'll need to specify
the bundle as alternate/struts/myExample.
-Brodi Beartusk
"Andy Hull" <[email protected]> wrote:
>
Hi,
I'm trying to get the struts-example webapp from Struts 1.1 RC1 working
under
Weblogic Portal 8.1 with the JSR 168 and Struts support patch.
I am having problems with the message bundle properties files ApplicationResources.properties
and AlternateApplicationResources.properties as neither of these files
are being
picked up.
These files are located in org/apache/struts/webapp/example in WEB-INF/src
and
WEB-INF/classes of my webapp (i.e. <WEBAPP>/WEB-INF - my struts-example
resides
in <WEBAPP>/struts-example). I've also tried adding <init-param>'s to
the <WEB-APP>/WEB-INF/web.xml
file for the action servlet as follows:
<servlet> <servlet-name>action</servlet-name> ... <init-param> <param-name>application</param-name>
<param-value>org.apache.struts.webapp.example.ApplicationResources</param-value>
</init-param> <init-param> <param-name>alternate</param-name> <param-value>org.apache.struts.webapp.example.AlternateApplicationResources</param-value>
</init-param> </servlet>
When I use the logon action as the starting action for the portlet, I
get:
Error opening /struts-example/logon.jsp. The source of this error is
javax.servlet.ServletException:
Cannot find message resources under key alternate at weblogic.servlet.jsp.PageContextImpl.handlePageException...
Any help would be appreciated.
--Andy -
Webflows - BEA WebLogic Portal 4.0
Hello...
My name is Miriam Serrano I am working with BEA WebLogic Portal 4.0. My application
is clientes, but I have a error with a webflow maquila
Not Logged In..
Logged In...as secofi2
Login - No existe informacion de session ...obteniendo perfil del usuario
Login - Creando objeto en session ... (InteresadoValue - TipoUsuario - Rol)
Logged In...as secofi2
Validando session para tramite maquila (namespace):maquila3
<Jan 22, 2003 4:09:54 PM CST> <Error> <HTTP> <[WebAppServletContext(30282805,cli
entes,/clientes)] Root cause of ServletException
java.lang.NullPointerException:
at jsp_servlet._framework._maquila.__generales._jspService(__generales.j
ava:307)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:262)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:198)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
cherImpl.java:250)
at com.bea.p13n.appflow.webflow.servlets.internal.WebflowServlet.doGet(W
ebflowServlet.java:167)
at com.bea.portal.appflow.servlets.internal.PortalWebflowServlet.doGet(P
ortalWebflowServlet.java:172)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:262)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:198)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:2637)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2359)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
Not Logged In..
Not Logged In..
Validando session para tramite maquila (namespace):maquila3
No existe informacion del cliente en la session para realizar tramite
Not Logged In..
Logged In...as secofi2
Login - No existe informacion de session ...obteniendo perfil del usuario
Login - Creando objeto en session ... (InteresadoValue - TipoUsuario - Rol)
Logged In...as secofi2
Validando session para tramite maquila (namespace):maquila3
<Jan 22, 2003 4:37:10 PM CST> <Error> <HTTP> <[WebAppServletContext(17480164,cli
entes,/clientes)] Root cause of ServletException
java.lang.NullPointerException
at jsp_servlet._framework._maquila.__generales._jspService(__generales.j
ava:307)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:262)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:321)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:198)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
cherImpl.java:250)
at com.bea.p13n.appflow.webflow.servlets.internal.WebflowServlet.doGet(W
ebflowServlet.java:167)
at com.bea.portal.appflow.servlets.internal.PortalWebflowServlet.doGet(P
ortalWebflowServlet.java:172)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:262)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:198)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:2637)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2359)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
Can you help me?
regardsWhat is happening at __generales.java:307 ?
Look through the domain applications\.wlnotdelete directories and find
the file to find out what is causing the NullPointerException.
Do you have a support account with Portal Support?
-- Jim
Miriam wrote:
Hello...
My name is Miriam Serrano I am working with BEA WebLogic Portal 4.0. My application
is clientes, but I have a error with a webflow maquila
Not Logged In..
Logged In...as secofi2
Login - No existe informacion de session ...obteniendo perfil del usuario
Login - Creando objeto en session ... (InteresadoValue - TipoUsuario - Rol)
Logged In...as secofi2
Validando session para tramite maquila (namespace):maquila3
<Jan 22, 2003 4:09:54 PM CST> <Error> <HTTP> <[WebAppServletContext(30282805,cli
entes,/clientes)] Root cause of ServletException
java.lang.NullPointerException:
at jsp_servlet._framework._maquila.__generales._jspService(__generales.j
ava:307)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:262)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:198)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
cherImpl.java:250)
at com.bea.p13n.appflow.webflow.servlets.internal.WebflowServlet.doGet(W
ebflowServlet.java:167)
at com.bea.portal.appflow.servlets.internal.PortalWebflowServlet.doGet(P
ortalWebflowServlet.java:172)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:262)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:198)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:2637)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2359)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Not Logged In..
Not Logged In..
Validando session para tramite maquila (namespace):maquila3
No existe informacion del cliente en la session para realizar tramite
Not Logged In..
Logged In...as secofi2
Login - No existe informacion de session ...obteniendo perfil del usuario
Login - Creando objeto en session ... (InteresadoValue - TipoUsuario - Rol)
Logged In...as secofi2
Validando session para tramite maquila (namespace):maquila3
<Jan 22, 2003 4:37:10 PM CST> <Error> <HTTP> <[WebAppServletContext(17480164,cli
entes,/clientes)] Root cause of ServletException
java.lang.NullPointerException
at jsp_servlet._framework._maquila.__generales._jspService(__generales.j
ava:307)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:262)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:321)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:198)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
cherImpl.java:250)
at com.bea.p13n.appflow.webflow.servlets.internal.WebflowServlet.doGet(W
ebflowServlet.java:167)
at com.bea.portal.appflow.servlets.internal.PortalWebflowServlet.doGet(P
ortalWebflowServlet.java:172)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:262)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:198)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:2637)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2359)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Can you help me?
regards -
Problem in calling a web service hosted on tomcat from BEA WebLogic portal
Hi,
I have a wsdl file for my web service which is hosted on apache tomcat 5.5(running on port : 8080). The contents of the wsdl file are-
*<?xml version="1.0" encoding="UTF-8"?>*
*<wsdl:definitions targetNamespace="http://soa.tutorials.serg.edu" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://soa.tutorials.serg.edu" xmlns:intf="http://soa.tutorials.serg.edu" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">*
*<!--WSDL created by Apache Axis version: 1.4*
Built on Apr 22, 2006 (06:55:48 PDT)-->
*<wsdl:types>*
*<schema elementFormDefault="qualified" targetNamespace="http://soa.tutorials.serg.edu" xmlns="http://www.w3.org/2001/XMLSchema">*
*<element name="getNums">*
*<complexType>*
*<sequence>*
*<element name="n" type="xsd:int"/>*
*<element name="m" type="xsd:int"/>*
*</sequence>*
*</complexType>*
*</element>*
*<element name="getNumsResponse">*
*<complexType>*
*<sequence>*
*<element maxOccurs="unbounded" name="getNumsReturn" type="xsd:int"/>*
*</sequence>*
*</complexType>*
*</element>*
*<element name="getNums2">*
*<complexType>*
*<sequence>*
*<element name="n" type="xsd:int"/>*
*<element name="m" type="xsd:int"/>*
*</sequence>*
*</complexType>*
*</element>*
*<element name="getNums2Response">*
*<complexType>*
*<sequence>*
*<element maxOccurs="unbounded" name="getNums2Return" type="xsd:int"/>*
*</sequence>*
*</complexType>*
*</element>*
*</schema>*
*</wsdl:types>*
*<wsdl:message name="getNums2Request">*
*<wsdl:part element="impl:getNums2" name="parameters"/>*
*</wsdl:message>*
*<wsdl:message name="getNumsRequest">*
*<wsdl:part element="impl:getNums" name="parameters"/>*
*</wsdl:message>*
*<wsdl:message name="getNums2Response">*
*<wsdl:part element="impl:getNums2Response" name="parameters"/>*
*</wsdl:message>*
*<wsdl:message name="getNumsResponse">*
*<wsdl:part element="impl:getNumsResponse" name="parameters"/>*
*</wsdl:message>*
*<wsdl:portType name="Echo">*
*<wsdl:operation name="getNums">*
*<wsdl:input message="impl:getNumsRequest" name="getNumsRequest"/>*
*<wsdl:output message="impl:getNumsResponse" name="getNumsResponse"/>*
*</wsdl:operation>*
*<wsdl:operation name="getNums2">*
*<wsdl:input message="impl:getNums2Request" name="getNums2Request"/>*
*<wsdl:output message="impl:getNums2Response" name="getNums2Response"/>*
*</wsdl:operation>*
*</wsdl:portType>*
*<wsdl:binding name="EchoSoapBinding" type="impl:Echo">*
*<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>*
*<wsdl:operation name="getNums">*
*<wsdlsoap:operation soapAction=""/>*
*<wsdl:input name="getNumsRequest">*
*<wsdlsoap:body use="literal"/>*
*</wsdl:input>*
*<wsdl:output name="getNumsResponse">*
*<wsdlsoap:body use="literal"/>*
*</wsdl:output>*
*</wsdl:operation>*
*<wsdl:operation name="getNums2">*
*<wsdlsoap:operation soapAction=""/>*
*<wsdl:input name="getNums2Request">*
*<wsdlsoap:body use="literal"/>*
*</wsdl:input>*
*<wsdl:output name="getNums2Response">*
*<wsdlsoap:body use="literal"/>*
*</wsdl:output>*
*</wsdl:operation>*
*</wsdl:binding>*
*<wsdl:service name="EchoService">*
*<wsdl:port binding="impl:EchoSoapBinding" name="Echo">*
*<wsdlsoap:address location="http://localhost:8080/SOATest/services/Echo"/>*
*</wsdl:port>*
*</wsdl:service>*
*</wsdl:definitions>*
I created a client from the above wsdl file using ClientGen wizard in WebLogic. This client contains the follwoing classes-
Echo.java
EchoService.java
EchoService_Impl.java
Echo_Stub.java
I created a JSP portlet and the jsp content of it is-
String url = "http://localhost:8080/SOATest/services/Echo";
Echo echo = new EchoService_Impl(url).getEcho();
getNumsResponse = echo.getNums(getNums);
I tried to call that web service from BEA weblogic portal through a JSP potlet. I got an error saying -
*<An exception [javax.xml.rpc.ServiceException: Failed to parse WSDL http://localhost:8080/SOATest/services/Echo weblogic.wsee.wsdl.WsdlException: Failed to read wsdl file from url due to -- java.io.IOException: Error at Line:2, token:[OPENTAGBEGIN]All tags must be contained within a single element] was thrown while rendering the content at [TestEcho.jsp].*
*javax.servlet.ServletException: javax.xml.rpc.ServiceException: Failed to parse WSDL http://localhost:8080/SOATest/services/Echo weblogic.wsee.wsdl.WsdlException: Failed to read wsdl file from url due to -- java.io.IOException: Error at Line:2, token:[OPENTAGBEGIN]All tags must be contained within a single element*
* at weblogic.servlet.jsp.PageContextImpl.handlePageException(PageContextImpl.java:420)*
* at jsp_servlet.__testecho._jspService(__testecho.java:112)*
* at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)*
* at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)*
* at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)*
* Truncated. see log file for complete stacktrace*
*javax.xml.rpc.ServiceException: Failed to parse WSDL http://localhost:8080/SOATest/services/Echo weblogic.wsee.wsdl.WsdlException: Failed to read wsdl file from url due to -- java.io.IOException: Error at Line:2, token:[OPENTAGBEGIN]All tags must be contained within a single element*
* at weblogic.wsee.jaxrpc.ServiceImpl.throwServiceException(ServiceImpl.java:174)*
* at weblogic.wsee.jaxrpc.ServiceImpl.loadWsdlDefinition(ServiceImpl.java:485)*
* at weblogic.wsee.jaxrpc.ServiceImpl.<init>(ServiceImpl.java:119)*
* at edu.serg.tutorials.soa.EchoService_Impl.<init>(Unknown Source)*
* at edu.serg.tutorials.soa.EchoService_Impl.<init>(Unknown Source)*
* Truncated. see log file for complete stacktrace*
*weblogic.wsee.wsdl.WsdlException: Failed to read wsdl file from url due to -- java.io.IOException: Error at Line:2, token:[OPENTAGBEGIN]All tags must be contained within a single element*
* at weblogic.wsee.wsdl.WsdlReader.getDocument(WsdlReader.java:313)*
* at weblogic.wsee.wsdl.WsdlDefinitions.parse(WsdlDefinitions.java:405)*
* at weblogic.wsee.wsdl.WsdlDefinitions.parse(WsdlDefinitions.java:391)*
* at weblogic.wsee.wsdl.WsdlFactory.parse(WsdlFactory.java:79)*
* at weblogic.wsee.wsdl.WsdlFactory.parse(WsdlFactory.java:66)*
* Truncated. see log file for complete stacktrace*
*java.io.IOException: Error at Line:2, token:[OPENTAGBEGIN]All tags must be contained within a single element*
* at weblogic.xml.domimpl.Loader.load(Loader.java:38)*
* at weblogic.wsee.util.dom.DOMParser.getWebLogicDocumentImpl(DOMParser.java:122)*
* at weblogic.wsee.util.dom.DOMParser.getDocument(DOMParser.java:65)*
* at weblogic.wsee.wsdl.WsdlReader.getDocument(WsdlReader.java:311)*
* at weblogic.wsee.wsdl.WsdlDefinitions.parse(WsdlDefinitions.java:405)*
* Truncated. see log file for complete stacktrace*
*javax.xml.stream.XMLStreamException: Error at Line:2, token:[OPENTAGBEGIN]All tags must be contained within a single element*
* at weblogic.xml.stax.XMLStreamReaderBase.advance(XMLStreamReaderBase.java:206)*
* at weblogic.xml.stax.XMLStreamReaderBase.next(XMLStreamReaderBase.java:237)*
* at weblogic.xml.domimpl.Loader.load(Loader.java:112)*
* at weblogic.xml.domimpl.Loader.load(Loader.java:73)*
* at weblogic.xml.domimpl.Loader.load(Loader.java:35)*
* Truncated. see log file for complete stacktrace*
*Error at Line:2, token:[OPENTAGBEGIN]All tags must be contained within a single element*
* at weblogic.xml.babel.baseparser.BaseParser.parseProlog(BaseParser.java:417)*
* at weblogic.xml.babel.baseparser.BaseParser.parseSome(BaseParser.java:328)*
* at weblogic.xml.stax.XMLStreamReaderBase.advance(XMLStreamReaderBase.java:195)*
* at weblogic.xml.stax.XMLStreamReaderBase.next(XMLStreamReaderBase.java:237)*
* at weblogic.xml.domimpl.Loader.load(Loader.java:112)*
* Truncated. see log file for complete stacktrace*
My web service is using soap binding. I have tested it with eclipse and other tools also. It is working well and good. But when I tried to call a web service which is created and hosted on WebLogic server(running on port : 7001), I got the correct output.
Can anyone help me out in calling a web service hosted on different server from WebLogic server.
Thanks in advance,
Tiijnar
Edited by: user8715057 on Aug 13, 2009 1:11 AMHi
1. The way you are invoking the WebService deployed on Tomcat server is looks suspicious. It may be valid by adding extra ?wsdl etc into the url, but still I have not seen this way to invoke the webservice.
2. So you used Weblogic ant task to generate client JARs by giving this WSDL. So looks like it generated the 4 classes (.java) and in addition any other classes for Request/Response xml objects.
3. Look at the source code of EchoService.java. It should have one default empty constructor. Internally it uses the default wsdl defined in this class. You will see another constructor that takes WSDL URL as one of the parameters (QName) etc. Echo.java is the class corresponding to the Port. In the same EchoService you should see an instance method like getEcho() something like that. This Echo.java class will have methods for all the Operations defined on this Port. So the standard code snippet we use most of the times will be like this:
EchoService myEchoService = new EchoService(); // Default it uses WSDL deployed on Tomcat at localhost:8080
Echo myEchoPort = myEchoService.getEchoPort(); // Something along these lines.
myEchoPort.xxxYYY(); // NOW this is the operation name that takes the input parameters and returns outputs defined as per the WSDL defintions. If the Input and Outputs are complex xml types, it will have corresponing .JAVA files with setters and getters.
Now if this WebService is deployed on same Tomcat but on different machine or different port, you just give the full WSDL URL with that host and port in the constructor for new EchoService(...). You may need to instantiate QName object. But look at the methods generated in EchoService.java class.
The way you are using with Impl and Stubs class may also work. I am not much famiiar with this APIs apporach. Still look at the methods generated in these classes.
Also if you latest Sun JDK 1.6, it also has one command like wsimport. Infact if you install WLS 10.3 with Sun JDK, it should have C:\beawlp103\jdk160_05\bin\wsimport command. This will also generate client jar given a WSDL URL.
Thanks
Ravi Jegga -
How to start weblogic in debug mode from BEA WebLogic Eclipse plugin
I have a problem making weblogic work with eclipse3.1. I am using a BEA WebLogic plugin to handle weblogic (start/stop) from eclipse. However I want to debug my application and I am unable to figure out a way to start my weblogic in debug mode like we do in WSAD. I tried using some other plugins also but no luck. Please suggest me a plugin to handle this or any other way of debugging my application from eclipse. I am using weblogic 8.1.
Hi,
Dev Environment
weblogic eclipse plugin 2.0 beta
weblogic server 8.1
eclipse 3.1.1
Created a server that i would like to deploy my EJB so that i can put break points on my EJB in eclipse.
How do i do it?
I managed to deploy an ear (containing the ejb) directly to the weblogic installed folder and it deployed the ejb. But the breakpoint set in eclipse is not triggered. Of course in this case as weblogic server is running the .ear file deployed manually in the file system.
Any help is appreciated.
Mel -
Reg: JAXM support on BEA Weblogic 7.0
BACKGROUND: I am developing a Point-to-point SOAP sender/receiver application.
A client sends a SOAP message directly to the ultimate recipient
using a SOAPConnection object. Here client to the intended recipient
rather than to a messaging provider. Therefore, when the application
sends a message, the message goes directly to the intended recipient.
This kind of SOAP message exchange uses the APIs in the javax.xml.soap package.
SOAPConnection (and its related classes) is a pure library implementation
that lets you send SOAP messages directly to a remote party.
CODE:
try
String endpoint="http://localhost:7001/WholesaleVendor/wsv";
URLEndpoint urlEndpoint= new URLEndpoint(endpoint);
SOAPConnectionFactory soapConnFct = SOAPConnectionFactory.newInstance();
SOAPConnection soapConnection = soapConnFct.createConnection();
MessageFactory messageFactory = MessageFactory.newInstance();
SOAPMessage requestSoapMsg = messageFactory.createMessage();
//REST OF THE CODE FOLLOWS
PROBLEM: It works on Sun's JWSDP 1.0. Howerver, on BEA Weblogic 7.0, I get error.
The error is in the following line:
============================
javax.xml.soap.SOAPException: Unable to create SOAP connection factory:
Provider com.sun.xml.messaging.client.p2p.HttpSOAPConnectionFactory not found
at javax.xml.soap.SOAPConnectionFactory.newInstance(Unknown Source)
at supermarket.InventoryBuilder.placePOOnWholeSaleVendor(InventoryBuilder.java:74)
============================
QUERY: Is Point-to-point JAXM communication supported on BEA Weblogic 7.0?
If not, what is alternative?
What is the scope of JAXM support on BEA Weblogic 7.0?
Thanking you in anticipation.
Sachin RaverkarWe have not implemented JAXM, nor has JAXM been included in J2EE 1.4.
JAXM has not gotten much traction in the marketplace, and we have
focused instead on JAX-RPC, which is available in 7.0 and 8.1. From
your description, it sounds like JAX-RPC would meet your requirements.
Note that we do support the SAAJ APIs, which were previously part of JAXM.
-Don
Sachin Raverkar wrote:
BACKGROUND: I am developing a Point-to-point SOAP sender/receiver application.
A client sends a SOAP message directly to the ultimate recipient
using a SOAPConnection object. Here client to the intended recipient
rather than to a messaging provider. Therefore, when the application
sends a message, the message goes directly to the intended recipient.
This kind of SOAP message exchange uses the APIs in the javax.xml.soap package.
SOAPConnection (and its related classes) is a pure library implementation
that lets you send SOAP messages directly to a remote party.
CODE:
try
String endpoint="http://localhost:7001/WholesaleVendor/wsv";
URLEndpoint urlEndpoint= new URLEndpoint(endpoint);
SOAPConnectionFactory soapConnFct = SOAPConnectionFactory.newInstance();
SOAPConnection soapConnection = soapConnFct.createConnection();
MessageFactory messageFactory = MessageFactory.newInstance();
SOAPMessage requestSoapMsg = messageFactory.createMessage();
//REST OF THE CODE FOLLOWS
PROBLEM: It works on Sun's JWSDP 1.0. Howerver, on BEA Weblogic 7.0, I get error.
The error is in the following line:
============================
javax.xml.soap.SOAPException: Unable to create SOAP connection factory:
Provider com.sun.xml.messaging.client.p2p.HttpSOAPConnectionFactory not found
at javax.xml.soap.SOAPConnectionFactory.newInstance(Unknown Source)
at supermarket.InventoryBuilder.placePOOnWholeSaleVendor(InventoryBuilder.java:74)
============================
QUERY: Is Point-to-point JAXM communication supported on BEA Weblogic 7.0?
If not, what is alternative?
What is the scope of JAXM support on BEA Weblogic 7.0?
Thanking you in anticipation.
Sachin Raverkar -
Portlet-to-Portlet communication BEA Weblogic Portal 7.0 SP2 Windows environment
I am new to BEA Weblogic Portal. I have a page with 3 portlets. Portlet 1 searches
and displays data in portlet 2. When you click on a specific link in portlet
2 it displays detailed data in portlet 3. This all works fine. My Problem is
when I execute another search in portlet1 the results show up fine in portlet
2, however portlet 3 still has the details from the previous search. How can
I resolve this issue? Any advice on how to deal with caching in general?I am new to BEA Weblogic Portal. I have a page with 3 portlets. Portlet 1 searches
and displays data in portlet 2. When you click on a specific link in portlet
2 it displays detailed data in portlet 3. This all works fine. My Problem is
when I execute another search in portlet1 the results show up fine in portlet
2, however portlet 3 still has the details from the previous search. How can
I resolve this issue? Any advice on how to deal with caching in general? -
How to access Support for BEA Weblogic?
Hi,
I want to log a case to oracle with regards to BEA weblogic. How do I do it? I tried logging in to My Oracle support as well as Oracle Metalink with my user id and password and it seems like I'm not a valid user. I have a CSI which I vaguely remembered entering during the user registration but after the registration, I have no idea where to associate the CSI with the support. Please help.
Thanks,
Jhin HinDid you see this?
http://oukc.oracle.com/static05/opn/freetriallogin/?c=618922873&t=offering -
Web sites using BEA Weblogic Portal
Hello,
Can anyone point me to any site using BEA Weblogic Portal 7.0? I just
want to see a web site on the internet (no intranets) that actually
uses this on a production environment to show our management that
there are sites that are actually using this product.
Thanks.Same question here.
Someone said www.orbitz.com. That looks like it could be WLP but how
can I be sure?
Is www.orange.ch really WLP? I don't see any of the signs, like the
string 'framework/skins' in 'View Page Info'. Is there some infallible
signature of WLP?
Here's the only two I have found so far. (They are not very impressive).
http://www.bankruptcyclearinghouse.com/
http://owl.org/
"Niels Ull Harremoes" <[email protected]> wrote:
"Ray" <[email protected]> skrev i en meddelelse
news:[email protected]..
Hello,
Can anyone point me to any site using BEA Weblogic Portal 7.0? I just
want to see a web site on the internet (no intranets) that actually
uses this on a production environment to show our management that
there are sites that are actually using this product.
Thanks.
Try www.orange.ch--
Larry Mulcahy Address email to [email protected] only
PGP public key at:
http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x2C4C5A03
AIM id: FleshMonster -
Do I need Bea Weblogic Portal for simple web site ?
I have a decision making situation here to use or not to use Bea Weblogic portal 8.1 for my web application along with struts.
Situation : Application has service( batch process with client applications, hand held devices ) and web ( browser based interaction ) oriented architecture. Data flows into centralized system and this data being diagnosed for analysis and displayed on web ( text and as graphical charts ).
I do not see much content management required like Yahoo, but have lots of configurable dynamic presentation . ( dynamic page views DHTML, graphical charts etc,�.).
Question : Is Bea Weblogic Portal 8.1 of any use in this situation ?
Thanks in advance.First let me thank you("duffymo") for your interest in responding to this post.You're most welcome.
I am in elementary at BEA WLP, trying to understand and use it for the first time.
I am analysing at very high level view of architecture.Thinking before doing is an excellent idea. I commend you for exploring it before plunging in.
Struts brings the frame work for web application that controls flow and model.
Seems to be WLP brings the personalization to the web site.I think that's correct. Struts is a JSP/servlet-based Web presentation framework that helps you maintain MVC separation using a Model-2 scheme. (Google for unfamiliar terms.)
Bringing WLP in to the picture makes any sense.I agree if you meant "does not make any sense". You don't need a portal, based on your earlier description. Roles might be in play here. You'll have one for each of the three scenarios that you described in your earlier response.
You'll NEVER have a situation where someone will have the client and admin views visible at the same time. It sounds like your three roles are mutually exclusive. In that case a portal isn't necessary.
Do they;( Bea WLP, Struts ) go hand in hand in the same architecture. Can I achieve the same by just
using struts with out WLP.You can certainly use Struts with BEA's WebLogic. That's a J2EE app server, which has a servlet/JSP engine built in. Maybe that's the confusion here. Is your client insisting that you use WebLogic or the Portal product? They work together. I don't believe you can use the Portal product without WebLogic, but you can use WebLogic without the Portal. Clarify that point with your customer. Maybe they're just asking that you deploy on WebLogic. THAT is quite sensible.
You need to ask your customer another question: do they already have a license for WebLogic and Portal, and is the software installed and running, or are they planning to buy one for the sake of this project? If they want to spend the money and give you a chance to learn WebLogic by all means let them, but know that there are other, free alternatives. (e.g., Tomcat, JBoss, etc.)
Here's one for you: how familiar are you with J2EE? Have you done any projects with EJBs? Will this project require them? How well do you know Struts/servlets/JSPs/JSTL, or will this be your first time with them, too?
I would like to learn WLP feature, but trying to save money for my client by not using too many
technologies.I agree. It's something you can add on later if you need it. Best to get the base application up and running first. -
Does BEA WebLogic 4.2.1 have JSP support
If so what level
Thank you
Ashish,
WLI 2.1 does not run on WLS 6.0, only WLS 6.1 SP1.
WLI 2.0 -> WLS 6.0 SP2
WLI 2.1 -> WLS 6.1 SP1
Cheers,
Chris
Ashish Agrawal wrote:
Hi David,
I downloaded WLI2.1 and installed it successfully.
I am using WLS 6.1 SP1 with WL2.1.
Please tell me does WL2.1 supports WLS 6.0 as I am getting error in deploying
a JCA adapter in WL2.1 + WLS 6.0 SP2.
The same adapter was successfully deployed using WL2.1 + WL6.1
Thanx in advance
Ashish Agrawal
ASAP Solutions.
"R J David Burke" <[email protected]> wrote:
Hi all,
BEA WebLogic Integration 2.1 is now available!
Read the press release at
http://www.bea.com/press/releases/2001/1022_portal_wli.shtml
Download the software for evaluation purposes from
http://commerce.bea.com/downloads/weblogic_integration.jsp
Regards, David Burke
ECI Product Management
BEA Systems, Ltd. -
Support for the creation of a new BEA WebLogic Application Server v10.3
To All,
After downloading and installing the Enterprise Pack for Eclipse (Ganymede: http://download.oracle.com/otn_software/oepe/ganymede) I attempted to create a new BEA WebLogic 10.3 server - since that is the version of the application server that I have installed on my machine.
I went to create the new server and selected "BEA WebLogic Server v10.0", since there was no option to select a WebLogic 10.3 server. I selected as the WebLogic Home directory "D:\BEA_HOME\wlserver_10.3" and received the error message: "The path "D:\BEA_HOME\wlserver_10.3" contains the wrong version of WebLogic Server. Expected version 10.0. Found version 10.3."
Is there some way that I can create a new WLS v10.3 in Eclipse Ganymede? Do I need to download an additional plugin?
Thanks in advance for your help on this,
John LivingstoneLook for WLS 10.3 under Oracle rather than BEA group.
Konstantin -
Supporting latest release of bea weblogic or ibm websphere
Post Author: slack
CA Forum: Migration to XI R2
hi,
Wondering when do you plan to plan to certified the latest release platform of BEA Weblogic 10.x or IBM WebSphere 6.1. End of this year?
thanksYou can find the same under Oracle Access Manager - 3rd Party Integration.
Linux CD2
for Oracle_Access_Manager10_1_4_0_2_linux_BEA_WL_
SSPI -
Cannot run BEA WebLogic 8.1 SP 3 with JDK 1.6
Hi,
Im using BEA Weblogic 8.1 SP3 trying to run a sample where a Robot from Kapow Mashup Server is called from a WebService hosted in the server.
The thing is that I keep getting a EJB Exception: : java.lang.NoClassDefFoundError: java/lang/StringBuilder (I attach the full exception below). I realised that by default the server uses the JDK which comes with the software (version 1.4) and that the class java.lang.StringBuilder is only available from JDK 1.5 onwards.
I have JDK 1.6 in my system, so in WebLogic -> Tools -> Application Properties -> JDK Home, I set that folder but still same exception occurs.
Through the Configuration Wizard I create a new “Basic WebLogic Server Domain” and in the step to configure the Java SDK I set the JDK 1.6 folder. However, when I try to start that server I get this error.
JAVA Memory arguments: -Xms256m -Xmx256m -XX:CompileThreshold=8000 -XX:PermSize=32m -XX:MaxPermSize=128m
WLS Start Mode=Development
CLASSPATH=;C:\bea\WEBLOG~1\server\lib\weblogic_knex_patch.jar;C:\bea\WEBLOG~1\common\lib\log4j.jar;C:\bea\WEBLOG~1\server\lib\debugging.jar;C:\bea\WEBLOG~1\server\lib\knex.jar;C:\bea\WEBLOG~1\javelin\lib\javelin.jar;C:\bea\WEBLOG~1\server\lib\wlw-lang.jar;C:\ARCHIV~1\Java\JDK16~1.0_1\lib\tools.jar;C:\bea\WEBLOG~1\server\lib\weblogic_sp.jar;C:\bea\WEBLOG~1\server\lib\weblogic.jar;C:\bea\WEBLOG~1\server\lib\ant\ant.jar;C:\ARCHIV~1\Java\JDK16~1.0_1\jre\lib\rt.jar;;C:\bea\WEBLOG~1\common\eval\pointbase\lib\pbserver44.jar;C:\bea\WEBLOG~1\common\eval\pointbase\lib\pbclient44.jar;C:\bea\WEBLOG~1\server\lib\webserviceclient.jar;C:\bea\WEBLOG~1\server\lib\webserviceclient+ssl.jar;C:\bea\WEBLOG~1\server\lib\xbean.jar;C:\bea\WEBLOG~1\server\lib\wlxbean.jar;C:\bea\WEBLOG~1\server\lib\xqrl.jar;C:\bea\WEBLOG~1\server\lib\netui\netui-compiler.jar;C:\bea\WEBLOG~1\server\lib\wli.jar;C:\bea\WEBLOG~1\server\lib\fop.jar;C:\bea\WEBLOG~1\integration\adapters\sample\lib\sample-eis.jar;
PATH=C:\bea\WEBLOG~1\server\bin;C:\ARCHIV~1\Java\JDK16~1.0_1\jre\bin;C:\ARCHIV~1\Java\JDK16~1.0_1\bin;C:\Archivos de programa\PC Connectivity Solution\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Archivos de programa\Intel\DMIX;C:\Archivos de programa\HPQ\IAM\bin;C:\Archivos de programa\Java\jdk1.6.0_10\bin;C:\eclipseJava\plugins\org.apache.ant_1.7.0.v200803061910\bin;C:\Archivos de programa\Archivos comunes\Adobe\AGL;c:\Archivos de programa\Microsoft SQL Server\90\Tools\binn\;c:\matlab6p5\bin\win32;C:\Nokia\Update_Manager\bin;C:\Archivos de programa\QuickTime\QTSystem\;C:\Sun\jwsdp-2.0\jwsdp-shared\bin;C:\Archivos de programa\Kapow Mashup Server 6.3\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Archivos de programa\Intel\DMIX;C:\Archivos de programa\HPQ\IAM\bin;C:\Archivos de programa\Java\jdk1.6.0_10\bin;C:\eclipseJava\plugins\org.apache.ant_1.7.0.v200803061910\bin;C:\bea\WEBLOG~1\server\bin\oci920_8
* To start WebLogic Server, use a username and *
=== Debugging ===
This window is necessary for debugging code using WebLogic Workshop
* 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:
Listening for transport dt_socket at address: 8453
Starting WLS with line:
C:\ARCHIV~1\Java\JDK16~1.0_1\bin\java -client -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8453,server=y,suspend=n -Djava.compiler=NONE -Xms256m -Xmx256m -XX:CompileThreshold=8000 -XX:PermSize=32m -XX:MaxPermSize=128m -Xverify:none -ea -da:com.bea... -da:javelin... -da:weblogic... -Dplatform.home=C:\bea\WEBLOG~1 -Dwls.home=C:\bea\WEBLOG~1\server -Dwli.home=C:\bea\WEBLOG~1\integration -Dlog4j.configuration=file:C:\bea\WEBLOG~1\common\lib\workshopLogCfg.xml -Dweblogic.management.discover=true -Dweblogic.ProductionModeEnabled= -Dweblogic.security.SSL.ignoreHostnameVerify=false -Dwlw.iterativeDev=true -Dwlw.testConsole=true -Dwlw.logErrorsToConsole=true -Dweblogic.Name=myserver -Djava.security.policy=C:\bea\WEBLOG~1\server\lib\weblogic.policy weblogic.Server
Listening for transport dt_socket at address: 8453
<27-abr-2009 11H22' CEST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 11.0-b15 from Sun Microsystems Inc.>
<27-abr-2009 11H22' CEST> <Info> <Configuration Management> <BEA-150016> <This server is being started as the administration server.>
<27-abr-2009 11H22' CEST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 8.1 SP3 Tue Jun 29 23:11:19 PDT 2004 404973
WebLogic XMLX Module 8.1 SP3 Tue Jun 29 23:11:19 PDT 2004 404973
WebLogic Server 8.1 SP3 Tue Jun 29 23:11:19 PDT 2004 404973
WebLogic Server 8.1 SP3 Tue Jun 29 23:11:19 PDT 2004 404973
WebLogic Integration 8.1 SP3 Wed Jun 30 14:05:38 PDT 2004 405464>
Stopping the Weblogic Workshop debugger...
Debugger Stopped.
Stopping Pointbase server...
Pointbase server stopped.
If I modify the settings of this new domain an pick a BEA Supplied SDKs, everything works just fine.
Someone can give a hand on that? It seems like Bea WebLogic 8.1 and JDK 1.6 are not compatible. Completely stacked here.
Regards.
Full Exception
EJB Exception: : java.lang.NoClassDefFoundError: java/lang/StringBuilder
at robosuite.wizard.jws5a1dbbea00000001.ApiKapowIN.toString(ApiKapowIN.java:141)
at java.lang.String.valueOf(String.java:2131)
at java.lang.StringBuffer.append(StringBuffer.java:370)
at com.bea.wlw.runtime.core.context.WlwThreadContext.logInvoke(WlwThreadContext.java:363)
at com.bea.wlw.runtime.core.context.WlwThreadContext.startInvocation(WlwThreadContext.java:608)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:414)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:396)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:248)
at com.bea.wlw.runtime.core.bean.BaseContainerBean.invokeBase(BaseContainerBean.java:198)
at com.bea.wlw.runtime.core.bean.SLSBContainerBean.invoke(SLSBContainerBean.java:103)
at com.bea.wlwgen.StatelessContainer_ly05hg_ELOImpl.invoke(StatelessContainer_ly05hg_ELOImpl.java:153)
at com.bea.wlwgen.GenericStatelessSLSBContAdpt.invokeOnBean(GenericStatelessSLSBContAdpt.java:62)
at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.runAsInvoke(BaseDispatcherBean.java:153)
at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.invoke(BaseDispatcherBean.java:54)
at com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(SyncDispatcherBean.java:160)
at com.bea.wlw.runtime.core.bean.SyncDispatcher_k1mrl8_EOImpl.invoke(SyncDispatcher_k1mrl8_EOImpl.java:100)
at com.bea.wlw.runtime.core.dispatcher.Dispatcher.remoteDispatch(Dispatcher.java:161)
at com.bea.wlw.runtime.core.dispatcher.Dispatcher.dispatch(Dispatcher.java:49)
at com.bea.wlw.runtime.core.dispatcher.HttpServerHelper.executePostRequest(HttpServerHelper.java:713)
at com.bea.wlw.runtime.core.dispatcher.HttpServer.doPost(HttpServer.java:49)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6456)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)Even if it is a very naive question but I just cannot get it worked, what do you mean by using jdk 1.5 on client side?
I guess client side is completely out of WLS so the jdk to be used on the client side is not set in the environment.
However, the Exception Im getting is on the server side, when it tries to run the code automatically generated from Kapow Mashup Server 6.3. That code is embedded in a jar file, but it seems it makes a call to the java.lang.StringBuilder class which as said before, it is only available from jdk 1.5 onwards.
Should I contact Kapow Mashup Server support to see how the sample code is generated or I am missing something?
Regards.
Maybe you are looking for
-
Home sharing - cannot connect to media library - iOS 4.3.1 not working
This question might be answered... Posting anyway in case it helps anyone else (did not find answer when I searched). Feel free to ignore or contribute as you wish. iPhone 3GS currently streaming a movie from MacBook Pro iTunes library so home sharin
-
Valid Signatures? Please Help.
So i've tried pretty much everything to get this new version to download. I've updated every other Windows thing and i deleted anything having to do with the old iTunes. Everytime I try to download the new version it says it finds something wrong wit
-
Internet while in clamshell mode, macbook pro
Whenever I have my MacBook Pro in clamshell mode while using it with an external display, it seems that the speed of my internet lowers drastically, but when I open the laptop (while keeping it connected to the external display so that the attached s
-
When I enter an address in Firefox 3.6, 3.8 or even 3.9 I receive a blank page. All the other explorers work fine: IE, Chrome
-
XA Datasource on J2SDKEE1.3 RI server
All, trying to setup an Oracle XA datasource on the RI server. Used the j2eeadmin tool to create the DS, but when starting the server I get: Binding DataSource, name = jdbc/xa/rob9i, url = jdbc/xa/rob9i__xa java.lang.NoSuchMethodException at java.lan