IPlanet Enterprise Web Server hosting a portal server

Has anyone tried to port the Plumtree portal server component to iPlanet Enterprise Web Server (aka SunONE Web Server, v6.0 or later)? Plumtree doesn't support this, but I am trying to merge a custom SSO authenticator to the Plumtree portal (v5.0.1).
I have this working great in security mode 0 (with SSL turned off), but I am having a difficult time getting past one last issue in security mode 2 (full SSL mode). I can get the portal server to run fine in mode 2 through Tomcat on the same machine, using the same certificate and JRE. I can also get iPlanet to run other servlet applications fine with SSL turned on. However, there appears to be either: (1) an incompatibility between iPlanet's NSServlet plug-in that handles servlets and the Plumtree framework classes that set up replies via SSL, or (2) a configuration error in my setup somewhere. I'm hoping that (2) is the real culprit, but I've tried just about everything I can think of, and haven't been able to resolve this problem.
The server starts up fine and I can load non-portal content without a problem. But when I log in, the portal's main community page that should be returned is not being returned to the client. PTSpy doesn't indicate any problems, so I know the content is being built by the portal correctly, but the built page is never being sent back to the requesting client.
Here is the error that gets logged to iPlanet's error log:
[29/Dec/2003:15:05:53] failure ( 2772): Internal error: Unexpected error condition thrown (unknown exception,no description), stack: java.lang.NoClassDefFoundError: javax/net/ssl/SSLSocket
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:793)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:702)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:583)
at java.net.URL.openStream(URL.java:960)
at org.apache.xerces.readers.DefaultReaderFactory.createReader(DefaultReaderFactory.java:149)
at org.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocument(DefaultEntityHandler.java:493)
at org.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:314)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1097)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:195)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
at com.plumtree.openfoundation.xml.dom.XPBuilder.LoadDocumentFromURI(XPBuilder.java:203)
at com.plumtree.xpshared.jsutil.JSRegistry.LookupJSComponentVersions(JSRegistry.java:243)
at com.plumtree.xpshared.jsutil.JSRegistry.GetJSComponentVersions(JSRegistry.java:184)
at com.plumtree.xpshared.jsutil.JSRegistry.GetJSComponent(JSRegistry.java:465)
at com.plumtree.xpshared.jsutil.JSRegistry.GetJSComponent(JSRegistry.java:444)
at com.plumtree.uiinfrastructure.statichelpers.ConfigHelper.GetCommonJSIncludes(ConfigHelper.java:1330)
at com.plumtree.uiinfrastructure.form.AFormAS.DisplayCommonJavaScript(AFormAS.java:59)
at com.plumtree.portalpages.common.uiparts.PlumtreeAS.DisplayCommonJavaScript(PlumtreeAS.java:88)
at com.plumtree.portalpages.common.uiparts.PlumtreeDP.DisplayHead(PlumtreeDP.java:599)
at com.plumtree.portalpages.common.uiparts.PlumtreeDP.Display(PlumtreeDP.java:112)
at com.plumtree.portaluiinfrastructure.activityspace.Interpreter.ProcessDisplayPageOrRedirect(Interpreter.java:816)
at com.plumtree.portaluiinfrastructure.activityspace.Interpreter.HandleRequest(Interpreter.java:1589)
at com.plumtree.portaluiinfrastructure.activityspace.Interpreter.DoService(Interpreter.java:448)
at com.plumtree.uiinfrastructure.web.XPPage.service(XPPage.java:141)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:919)
at com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1061)
at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:981)
It looks like a Java classpath issue, but I've verified (even in the same log file with java debugging turned on) that the SSLSocket class is getting loaded. I've even tried moving the specification of the jar file containing this class (jsse.jar, part of the JRE) to the beginning and end of my classpath setting.
I'm using the same JRE that is bundled with the Tomcat release supplied with my Plumtree 5.0.1 installation (1.4.1_02).
I've posted a similar message on a couple other forums (Java and iPlanet-related) and haven't found an answer yet. Does anyone have any ideas?
John

In case anyone else experiences this, I have apparently stumbled upon an issue with iPlanet's handling a specified JRE/JDK instead of the supplied JDK in iPlanet (SunONE) Web Server v6.0, SP5, though I found a way around it to resolve my problem.
I had been specifying a different JRE to run with through iPlanet's administrative server manager. However, even though I was specifying to load all the JRE's jar files in my classpath setting, iPlanet was only loading the rt.jar file for my specified JRE. With verbose logging turned on, the error log was indicating that the other classpath specified jar files were being loaded, but apparently they were not being used. The JDK that was released with iPlanet appears to be being used for all other JRE classes outside of those defined in rt.jar. Since the JDK supplied with the iPlanet release didn't contain jsse.jar, which contains SSL support, it was not being loaded and was causing the problem I was seeing.
Instead of specifying the JRE of a different JDK that I was using, I changed the global setting in the administrative server manager to override the entire JDK. This has resolved my problem.
So if you specify a JRE to override the iPlanet supplied JDK/JRE, it appears that only the rt.jar file of the specified JRE will be loaded, and the jar files associated with the iPlanet-supplied JRE will be used for all other classes. Specification of a complete JDK to override the supplied one will resolve this, and the portal server appears to work fine now in any security mode setting when hosted on iPlanet Web Server (SunONE), even though Plumtree doesn't support that as a host server application.

Similar Messages

  • Creation and deployment of web services on sun portal server

    Hi
    can you please tell me.
    How we can create and deploy web service on sun portal server.
    or provide me some document or URL, so that I can proceed forward
    Thanks
    Vikram

    Hi
    can you please tell me.
    How we can create and deploy web service on sun portal server.
    or provide me some document or URL, so that I can proceed forward
    Thanks
    Vikram

  • URL to public_html docs on the app server version of Portal Server 6.0

    I recently switched from Portal Server 6.0 to the Portal Server version that runs under Sun's Application Server 7.
    I want to create a bookmark that references a URL that is already located on the portal server itself.
    I did this in the previous version by placing my files in a subdirectory under /opt/SUNWam/public_html/go/index.html
    I could access the URL by creating the bookmark with the relative URL /go/index.html
    This no longer works under the application server version of portal server 6.0. I tried placing my file in /opt/SUNWappserver7/SUNWam/public_html/go/index.html and referencing the file as /go/index.html
    Anybody know what the new relative URL would be to access this document?

    By golly, I figured it out.
    In order to use the URL /go/index.html as the bookmark, the file needs to be placed in the "go" subdirectory off the default document root of the application server at /var/opt/SUNWappserver7/domains/domain1/server1/docroot/go/index.html

  • Weblogic server with  Websphere Portal server

    Hi,
    I am having this peculiar problem.
    I am using Websphere Portal Server and accessing an application which is running
    on Weblogic
    6.1. I am also using struts on both the portal server and weblogic server.
    The first time I access a jsp which is on weblogic from websphere portal I get
    it fine.
    I have button on this jsp on submit of which another jsp on weblogic should come
    up.
    The problem is that on click of the button the URL which is being formed is
    <ip of weblogic>/<path of portal server>.
    I have no clue why this is happening and its driving me crazy.
    Can anyone tell me whats happening?
    Thanks
    Siri

    Siri-
    This sounds like a URL rewriting issue with whatever proxy or tool you are using
    to interface from WS to WLS. Basically, for the setup to work, any URL's that
    are contained in the content served up by your WLS instance will have to be rewritten
    such that your WS instance knows that the request is actually intended for the
    WLS server.
    -Brodi
    "Siri" <[email protected]> wrote:
    >
    Hi,
    I am having this peculiar problem.
    I am using Websphere Portal Server and accessing an application which
    is running
    on Weblogic
    6.1. I am also using struts on both the portal server and weblogic server.
    The first time I access a jsp which is on weblogic from websphere portal
    I get
    it fine.
    I have button on this jsp on submit of which another jsp on weblogic
    should come
    up.
    The problem is that on click of the button the URL which is being formed
    is
    <ip of weblogic>/<path of portal server>.
    I have no clue why this is happening and its driving me crazy.
    Can anyone tell me whats happening?
    Thanks
    Siri

  • Plumtree portal server (v5.0.1) hosted on iPlanet Web Server (v6.0)

    Has anyone tried to port the Plumtree Corporate Portal v5.0.1 portal server component to iPlanet Enterprise Web Server 6.0 (aka SunONE Web Server, v6.0 )? Plumtree doesn't support this, but I am trying to merge a custom SSO authenticator to the Plumtree portal (v5.0.1). The authenticator runs as a plug-in to SunONE Web Server and has been in place on our customer's web site for a long time now.
    I have this working great in with SSL turned off, but I am having a difficult time getting past an error when I turn on SSL. I can get the portal server to run fine with SSL turned on through Tomcat on the same machine, using the same certificate and JRE. I can also get the SunONE server to run other servlet applications fine with SSL turned on. However, there appears to be either: (1) an incompatibility between SunONE's NSServlet plug-in that handles servlets and the Plumtree framework classes that set up replies via SSL, or (2) a configuration error in my setup somewhere. I'm hoping that (2) is the real culprit, but I've tried just about everything I can think of, and haven't been able to resolve this problem.
    The server starts up fine and I can load non-portal content without a problem. But when I log in, the portal's main community page that should be returned is not being returned to the client. PTSpy (a debugging aid for the Plumtree portal) doesn't indicate any problems, so I know the content is being built by the portal correctly, but the built page is never being sent back to the requesting client.
    Here is the error that gets logged to my SunONE server's error log:
    [29/Dec/2003:15:05:53] failure ( 2772): Internal error: Unexpected error condition thrown (unknown exception,no description), stack: java.lang.NoClassDefFoundError: javax/net/ssl/SSLSocket
    at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:793)
    at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:702)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:583)
    at java.net.URL.openStream(URL.java:960)
    at org.apache.xerces.readers.DefaultReaderFactory.createReader(DefaultReaderFactory.java:149)
    at org.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocument(DefaultEntityHandler.java:493)
    at org.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:314)
    at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1097)
    at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:195)
    at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
    at com.plumtree.openfoundation.xml.dom.XPBuilder.LoadDocumentFromURI(XPBuilder.java:203)
    at com.plumtree.xpshared.jsutil.JSRegistry.LookupJSComponentVersions(JSRegistry.java:243)
    at com.plumtree.xpshared.jsutil.JSRegistry.GetJSComponentVersions(JSRegistry.java:184)
    at com.plumtree.xpshared.jsutil.JSRegistry.GetJSComponent(JSRegistry.java:465)
    at com.plumtree.xpshared.jsutil.JSRegistry.GetJSComponent(JSRegistry.java:444)
    at com.plumtree.uiinfrastructure.statichelpers.ConfigHelper.GetCommonJSIncludes(ConfigHelper.java:1330)
    at com.plumtree.uiinfrastructure.form.AFormAS.DisplayCommonJavaScript(AFormAS.java:59)
    at com.plumtree.portalpages.common.uiparts.PlumtreeAS.DisplayCommonJavaScript(PlumtreeAS.java:88)
    at com.plumtree.portalpages.common.uiparts.PlumtreeDP.DisplayHead(PlumtreeDP.java:599)
    at com.plumtree.portalpages.common.uiparts.PlumtreeDP.Display(PlumtreeDP.java:112)
    at com.plumtree.portaluiinfrastructure.activityspace.Interpreter.ProcessDisplayPageOrRedirect(Interpreter.java:816)
    at com.plumtree.portaluiinfrastructure.activityspace.Interpreter.HandleRequest(Interpreter.java:1589)
    at com.plumtree.portaluiinfrastructure.activityspace.Interpreter.DoService(Interpreter.java:448)
    at com.plumtree.uiinfrastructure.web.XPPage.service(XPPage.java:141)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:919)
    at com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1061)
    at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:981)It looks like a Java classpath issue, but I've verified (even in the same log file with java debugging turned on) that the SSLSocket class is getting loaded. I've even tried moving the specification of the jar file containing this class (jsse.jar, part of the JRE) to the beginning and end of my classpath setting.
    I'm using the same JRE that is bundled with the Tomcat release supplied with my Plumtree 5.0.1 installation (1.4.1_02). I can't get the JRE that came bundled with the SunONE v6.0 release to work at all.
    I've posted a similar message on a couple other forums (Java and iPlanet-related, as well as on Plumtree's customer forum) and haven't found an answer yet. Does anyone have any ideas?

    In case anyone else experiences this, I have apparently stumbled upon an issue with iPlanet's handling a specified JRE/JDK instead of the supplied JDK in iPlanet Web Server v6.0, SP5, though I found a way around it to resolve my problem.
    I had been specifying a different JRE to run with through the administrative server manager. However, even though I was specifying to load all the JRE's jar files in my classpath setting, iPlanet was only loading the rt.jar file for my specified JRE. With verbose logging turned on, the error log was indicating that the other classpath specified jar files were being loaded, but apparently they were not being used. The JDK that was released with iPlanet appears to be being used for all other JRE classes outside of those defined in rt.jar. Since the JDK supplied with the iPlanet release didn't contain jsse.jar, which contains SSL support, it was not being loaded and was causing the problem I was seeing.
    Instead of specifying the JRE of a different JDK that I was using, I changed the global setting in the administrative server manager to override the entire JDK. This has resolved my problem.
    So if you specify a JRE to override the iPlanet supplied JDK/JRE, it appears that only the rt.jar file of the specified JRE will be loaded, and the jar files associated with the iPlanet-supplied JRE will be used for all other classes. Specification of a complete JDK to override the supplied one will resolve this.

  • 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 AM

    Hi
    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

  • Portal Server 6.2 does not start

    Hi, i have installed Portal Server 6.2 with Identity 6.1 and Web Server 6.1 versions.
    When attempt to start the Web Server or the Portal Server, to be generated errors of java in log of the web server.
    It is possible that some ClassPath it�s missing in the configuration?
    Somebody helps me?
    Logs of the Web server is the following ones:
    [29/Sep/2009:17:59:50] info (28363): CORE1116: Sun ONE Web Server 6.1 B09/11/2003 19:00
    [29/Sep/2009:17:59:50] info (28364): CORE3016: daemon is running as super-user
    [29/Sep/2009:17:59:50] info (28364): CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.4.1_06] from [Sun Microsystems Inc.]
    [29/Sep/2009:17:59:50] info (28364): WEB0100: Loading web module in virtual server [https-ccsesp01.intranet.rts] at [amserver]
    [29/Sep/2009:17:59:52] info (28364): WEB0100: Loading web module in virtual server [https-ccsesp01.intranet.rts] at [amconsole]
    [29/Sep/2009:17:59:52] info (28364): WEB0100: Loading web module in virtual server [https-ccsesp01.intranet.rts] at [ampassword]
    [29/Sep/2009:17:59:52] info (28364): WEB0100: Loading web module in virtual server [https-ccsesp01.intranet.rts] at [amcommon]
    [29/Sep/2009:17:59:52] info (28364): WEB0100: Loading web module in virtual server [https-ccsesp01.intranet.rts] at [portal]
    [29/Sep/2009:17:59:52] warning (28364): WEB6100: locale-charset-info is deprecated, please use parameter-encoding
    [29/Sep/2009:17:59:52] info (28364): WEB0100: Loading web module in virtual server [https-ccsesp01.intranet.rts] at [search]
    [29/Sep/2009:17:59:57] failure (28364): CORE4007: Internal error: Unexpected Java exception thrown (java.lang.NoClassDefFoundError: com/iplanet/am/console/base/ConsoleServletBase, com/iplanet/am/console/base/ConsoleServletBase), stack: java.lang.NoClassDefFoundError: com/iplanet/am/console/base/ConsoleServletBase
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1715)
    at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:982)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1429)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1299)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:870)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3455)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3737)
    at com.iplanet.ias.web.WebModule.start(WebModule.java:238)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355)
    at org.apache.catalina.startup.Embedded.start(Embedded.java:995)
    at com.iplanet.ias.web.WebContainer.start(WebContainer.java:411)
    at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:506)
    at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
    [29/Sep/2009:17:59:57] failure (28364): CORE3186: Failed to set configuration
    Thanks

    Did you install the portal with some user other than root? (ie, the user that runs portal)
    Try changing the permissions of the portal fles to that user and see if that helps.

  • How to resolve network issue or dns to access web page on snow leopard server?

    I have my network setup like as follows:
    internet > router 1 > ethernet ports > switch > router 2
    I have a mac osx snow leopard server connected to "router 1", but it is so slow when accessing a web page hosted on the server from a browser on a workstation connected to either router 1 or router 2?
    Is there a problem with my network setup or maybe because I changed the name to newservername.local?

    @Jeff and @Camelot,
    I think it is a DNS issue.  I completely reset the DNS settings on server and the local name with the steps below, but now cannot access the site hosted on the server at all
    I used a modified version of http://www.mkahn.com/2010/09/configuring-dns-on-mac-os-x-10-6-snow-leopard-serve r-for-hosting/ to reset the server set
    1.  Stop DNS Service in Server Admin
    2.  Close Server Admin
    3.  Obtain 10.6 DNS Default files (below)
    4.  Overwrite the DNS files with DNS Default files:
    /etc/dns/loggingOptions.conf.apple
    /etc/dns/options.conf.apple
    /etc/dns/publicView.conf.apple
    /var/named/named.ca/etc/named.conf
    /var/named/named.local
    /var/named/localhost.zone
    5. Restart your server
    All machines have 1ms ping responses within the network including this snow leopard server that I am trying to setup.  There is another test web server that return pages instantly within this network so I doubt it is a network issue, but a DNS issue.

  • Process related to S1 Portal Server

    Hi,
    Can you please help me in identifying all the processes (solaris 8 and S1 Portal Server 6.1) which runs when I start the S1 Portal Server.
    I want to calculate the CPU & Memory Utilization of the S1 Portal Server(only S1 Portal Server not related webserver, identity server or directory server)
    Can anybody help me pleaes, I am really grateful to you.
    My email id is [email protected]

    Hi Dinesh,
    These are the processes that a running Portal Server installation generally has by default.
    1. Directory server processes:
    - ns-slapd (LDAP server instance)
    - uxwdog (admin server process) (parent process)
    --- ns-httpd
    ----- ns-httpd
    2. Auth Helper processes:
    - doUnix
    3. Web-Server/Identity-Server/Portal-Server processes:
    As the Portal Server and Identity Server runs as web application on the Web Server, so they share the same JVM and processes.
    - uxwdog (web server admin server process) (parent process)
    --- ns-httpd
    ----- ns-httpd
    (for each web server instance)
    - uxwdog (parent process)
    - ns-httpd
    - ns-httpd
    or (in case of MaxProc=n )
    - uxwdog (parent process)
    --- ns-httpd
    ----- ns-httpd
    ----- ns-httpd
    ----- n
    Sanjeev.

  • Need some help with running portals on BEA Portal Server...

    Hi
    I'm having a trouble with Bea Web Logic 9.2 portal server.
    Every time I start a new domain and deploy EAR with web portal everything works just fine.
    Than after some time (looks like it happens after new roles and users where added via Admin portal) server begins to show only empty pages when accessing my portals. Admin portal continue to work fine.
    The problem can be resolved only by creating new domain.
    Here is error shown in console (not sure if this error is connected to my issue)
    SEVERE: A miss configuration of portal detected.
    Page 'ps_page_main' doesn't exist in book 'ts_main_book', but is configured as default page
    Thanks in advance for any help

    If you guys have not run into such problem before, maybe you can just point me in the right direction have to investigating this issue by myself. I'm quite new with BEA and don't know even where to start looking.

  • Sun ONE Instant Messaging relation to Sun ONE Portal Server

    Sun ONE Instant Messaging is tightly integrated with the Sun ONE Portal Server. Sun ONE Instant Messaging provides a portlet or channel that displays a list of a given user's online buddies and also provides the capability to archive chat and other forms of IM Communications within the portal server search database. Hence, chat, alerts, news channels and more can be archived and searched using the Search capabilities of the portal server. Indeed, Sun ONE Instant Messaging is a value-added offereng to the core Sun ONE Portal Server.
    It should also be mentioned that Sun ONE Instant Messaging integrates with the Sun ONE Portal Server in other ways. Since the portal server provides a web container, the IM deployment can naturally use the web server provided by the portal server. The portal server also uses a directory server which can also be used by Sun ONE Instant Messaging for User and LDAP group search. Finally, Sun ONE Instant Messaging may also use the portal server's Identity Service to provide single sign-on with the portal server.

    Yes, one can install Sun ONE Instant Messaging on a system that does not contain the Sun ONE Portal Server.

  • Wsrp producer in weblogic app server not portal server

    I am following the instructions given in [url http://edocs.bea.com/wlp/docs92/federation/Chap-Working_With_Producers.html]
    to create wsrp producers on weblogic server without the portal server.
    However in Figure 8-7 (Select Project Facets) of the article, the facets being selected belong to weblogic portal which means weblogic portal server will need to be installed. In my case, this defeats the purpose of being being able to create wsrp producers on weblogic server alone (i.e without the portal server installed).
    Is there a way we could achieve this without installing weblogic portal? Any help would be appreciated.

    No, the 8.1 instruction will not work with 9.2.
    In 9.2 you do need to install WLP in order to get the correct templates
    and jars.
    Nate
    Ranjan Saikia wrote:
    You mean to say that the instructions for 8.1 will work for 9.2 too? I tried them out but could not find some of the jars(javelin.jar, knex.jar) in the 9.2 installation.
    I was initially following the [url http://edocs.bea.com/wlp/docs92/federation/Chap-Working_With_Producers.html]instructions in the 9.2 docs but couldnt get the required facets until I installed the portal server.

  • Using third party jdbc drivers in Portal server

    I have an application that runs inside the WebLogic Portal server. The portal server
    is configured to work with Oracle using the default oracle driver that comes with
    weblogic.
    My application, however, also needs to connect to a database. I am using the oracle-oci
    driver ( type 2 - provided by oracle) in my application.
    However, intermittantly i am getting an exception as follows:
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6044c4bc
    Function name=kpufhndl
    Library=D:\oracle\ora817\bin\OraClient8.Dll
    Current Java thread:
         at weblogic.db.oci.OciLob.native_finalize(Native Method)
         at weblogic.db.oci.OciLob.finalize(OciLob.java:654)
         at weblogic.db.oci.OciLob.closeLob(OciLob.java:589)
         at weblogic.jdbc.oci.Clob.close(Clob.java:176)
         at weblogic.jdbc.oci.Clob.closeLob(Clob.java:169)
         at weblogic.jdbc.oci.Connection.closeLob(Connection.java:582)
         at weblogic.jdbc.oci.Statement.close(Statement.java:393)
         at weblogic.jdbc.common.internal.ConnectionEnv.test(ConnectionEnv.java:923)
         at weblogic.common.internal.ResourceAllocator.trigger(ResourceAllocator.java:1114)
         at weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigger.java:238)
         at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java:229)
         at weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java:65)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    This is not happening always.
    Another related question is can the portal server use my driver instead of its
    own. If somebody from BEA is listening in, will BEA support such an installation?
    Any ideas are welcome.

    Hi,
    Unfortunately there was a regression bug around using the Generic JDBC connector to a Foreign Database in this Technology Preview (3). I'm not able to give you good news as I don't have a workaround for you either.
    You could use SQLDeveloper to connect to the database for live work, unfortunately that will not help if you wanted to create offline objects of some sort using JDeveloper.
    regards
    Susan
    http://www.susanduncan.blogspot.com

  • Seamless Integration Between Weblogic and Oracle Portal Server

    Hi,
    Can someone please give me some insight into Seamless integration from Weblogic Portal Server to Oracle Portal Server.
    The Scenario is as:
    A user logs into the Weblogic Portal, this Portal desktop displays some portlets. Links on these portlets navigate the user to the portlets deployed on Oracle Portal.
    Is this feasible, and what version of the 2 servers would support this feature.
    Can someone please snd across online resources which deal with my doubt.
    many Tx.
    Regards,
    Mukta

    You might want to consider using WSRP to aggregate portlets deployed on
    Oracle into WLP. Check edocs and dev2dev for some info on WSRP in WLP.
    You can use 8.1 SP3 or later.
    Check with Oracle to find out which version of their product offers WSRP
    support.
    Subbu
    Mukta Shetye wrote:
    Hi,
    Can someone please give me some insight into Seamless integration from Weblogic Portal Server to Oracle Portal Server.
    The Scenario is as:
    A user logs into the Weblogic Portal, this Portal desktop displays some portlets. Links on these portlets navigate the user to the portlets deployed on Oracle Portal.
    Is this feasible, and what version of the 2 servers would support this feature.
    Can someone please snd across online resources which deal with my doubt.
    many Tx.
    Regards,
    Mukta

  • DNS alias name for portal server

    Hi
    I am using sun ONE portal server 6.2. We have added the DNS alias for the hostname in the DNS server for the portal server.
    I have added this alias hostname configuration in
    a. organizational alias name of the amconsole
    b.Have modified the gateway.virtualhost name parameter in the /etc/opt/SUNWps/platform.conf.default file.
    Kindly let me know if I have to add to any other places as we are using SUN ONE webserver, application server, IM server.
    Waiting for your reply
    Best Regards
    Ramkumar Raghavan

    you also might need to add an entry into /opt/SUNWam/lib/AMConfig.properties and add a FQDN entry for your new dns alias.

Maybe you are looking for

  • How can I make Safari and Firefox remember a password?

    I changed some of my website passwords recently.  In most cases, Safari and Firefox asked me if I wanted them to remember the new password, I said Yes (I'm not on a shared computer), and when I entered my email address or username, it would appear in

  • My pc itunes apps wont transfer to my iphone

    my pc itunes apps wont transfer to my iphone

  • Transaction Handling in webservice based partnerlink

    What is the transaction handling mechanism for parnerlink which calls webservice (not native BPEL/ESB)? REgards priyadarshi

  • IPhone 6 Crashing

    My iPhone 6 began crashing a few days ago.  I originally set up the phone by copying a backup from a 4s.  The crashes happened randomly and were not associated with any particular app.  The screen flashes red, blue or green and then the phone restart

  • IPhoto '08 7.1.4 not Printing

    My iphoto won't print anything. It says that I don't have any themes installed. The themes folder is correctly located in the application support folder in HD. I tried reinstalling and am still having the same problem. Does anyone have any other solu