Hosting a Servlet-JSP application onto Portal

Hi,
I have a scenario where I need to host a pure Servlet-JSP based application onto portal.
This application is not developed using Web Dynpro. It is a pure java based application having two separate URLs for Dev and for Production.
Now I want to give access point to this application via SAP Portal. How can I achieve it?
Thanks and regards,
Amey Mogare

Thank you for reply Michael.
Actually, this TestApp is already deployed on its Dev as well as Prod server as ear file. So we can use same ear file? If yes, then how? If not, then how do I go about?
But I have one question here. How will we manage the different URLs of this application on portal?
I mean, how would Production portal will know to point to production URL of this application???
Thanks and regards,
Amey Mogare
Edited by: Amey Mogare on May 22, 2009 8:29 AM

Similar Messages

  • Public JSP application in Portal

    Hi
    I have one jsp application of consult db, how wake up in portal?, and what directory set jsp application?.
    I tried wake up my jsp aplication in Content Area who Java Application, but send me follow error:
    AppLoader Error
    An error occurred while processing this request :
    The page cannot be found. Please check your jar file and make sure that the requested page is there.
    Thanks for advance.

    not at all - we're doing the same. We've copied the libraries into out web applications library area and start iFS services to allow iFS interaction through the web app. I guess storing the JSP's in iFS might be an idea instead of something like CVS or SourceSafe as it's secure and (probably) being backed up through database backup policies. You could then use some process to publish that to the app server using something like Ant, but certainly you dont need to run a web application using the iFS sile system as the root for your web application.

  • Adding a JSP application

    Hi all,
    I've to add a JSP application to Portal; in order to do so I've read the help and in the
    section "Adding a JSP application" there is:
    "To add a JSP application to Oracle Portal:
    From the Oracle Portal home page, access the JSP Application portlet on the Administer tab.
    Click Add a JSP Application.
    Enter a unique name for the JSP application. It must start with an alpha character and contain only alpha, numeric, or underscore characters and not exceed 200 characters...."
    Where is the "JSP Application portlet"? The help is the on-line help installed with portal...
    why does it refer to a "JSP Application portlet" if there isn't one?
    thanks for the help
    Alessio

    hi John
    There does seem to be a problem on line 44 of your image.jsp page:
    java.lang.NullPointerException
    at _image._jspService(_image.java:90)
    SRC:/image.jsp:44
    ...Would you mind posting a part of your image.jsp page that includes line 44 (or the complete page if it is not too big)?
    You wrote "... I probably have to change something in the web.xml, ...", why do you think that is the case?
    regards
    Jan Vervecken

  • Using sjsws to host many small servlet/jsp sites on one server

    Hello. I visited the web page at http://www.sun.com/software/products/web_srvr/features.xml, which mentions that sjsws supports mass hosting of thousands of domains. Anyone knows more information about this feature? I want to find out whether sjsws is a good choice for hosting many small servlet/jsp sites on one server.
    Some time ago, I tried using apache+tomcat to host many small servlet/jsp sites on one server. But the result was not satisfactory. If a private tomcat/jvm is used for each site, too many resources are consumed and as a result, not many sites can be hosted on one server. If a shared tomcat/jvm is used for all sites, the resources consumed are reduced, but it becomes very difficult to isolate the sites. Is it possible to overcome such problems with sjsws?
    Thx.

    Of course you dont have to use multiple VMs to host multiple applications.
    You can either choose to have multiple Virtual Servers, all in one instance of the web server, serving multiple applications. In this case only one java VM is used.
    Or you can go in the route posted in the link above, in which there is only one "physical" virtual server, with many dynamic virtual servers.
    Whether you chose to have many multiple web applications, or do the server division in a similar way to what is described in the blog, it is up to you.
    Many different web applications will give you more fine level control on the application separation, but it will probably also mean greater resource consumption associated to the web application managing.
    Less web applications, but with dynamic separation, in a similar way to what is described in the blog, will give a lesser control on the applications, but will save you a good number of resources.
    SJS Web Server is known to work in massive web sites, with very high number of JSPs and Servlets. There is some real life examples of this massive hosting. Maybe others can provide some numbers here :P

  • Why do we use both servlets & jsps in developing  an application ?

    why do we use both servlets & jsps in developing an application & not only jsps

    Hi,
    It's a pure question of design : Some like it jsp to jsp and others servlet to jsp. It's up to you to decide and it depends of the complexity of your application.
    But the best design is the MVC (servlet and jsp working together) because it helps you separate presentation from logic. It also helps you better maintain you code.
    You can have more info in javaworld.com.
    Good luck
    touco

  • Portal Security with existing JSP Applications

    Hello,
    we have some existing JSP Applications an want to include them into out portal. They are currently running on iAS as standalone applications. But we also want to protect them using portal security.
    How is it possible to use Portal Security for those JSP Applications.
    Regards,
    Frank

    Hello,
    currently I don't need to include them as portlets.
    I included the first Page as jsp Report... because of that, this jsp is secured. But my application has more jsps.
    Probably I could set an sessionvariable in the first protected jsp and check it in all other jsps. If this sessionvar is not existing, the user is not allowed to see this application.
    Currently I have no other idea.
    Regards,
    Frank

  • Error in JSP DynPage in Portal for running the application

    Hi,
    I developed an application on JSP dyn pages(Portal) ie for navigating one page to another page.While iam running an application the following error is occured.
           PAR File is Uploaded.
    Please make sure that the server 'myportal' is running.HTTP'S
    protocol is not supported,please sure that server is not using
    HTTP'S.

    Did you check if Portal is running? If yes,
    Do not deploy application directly from NWDS. Just generate the par file by (In Qucik Par Upload)-
    chekcing the option Include the source code of the Portal application and,
    uncheck Deploy par.
    Now go to Portal
    System Administrator->Support->Portal Runtime-> Admin Console.
    Browse and Upload the par file here.
    You can create a iView from par file and check your appliaction
    Thanks and Regards
    Pankaj

  • What providers can host a JSP application?

    Dear fellows,
    I am looking for Providers that can host my JSP application and a Database (Access, SQL Server, PointBase or mySQL). Do I need to register a name with that same provider or is that a separate matter?
    Thanks for your inputs.

    After much research and deliberation I chose SuppleHost and have been very happy with performance and service -- not a shared JVM and full access to the server through SSH. I have worked with other providers and can't say that they're all this good.
    http://www.supplehost.com/index.jsp
    Chris.

  • Servlet / JSP hosting

    Hi!
    I need FREE servlet / jsp hosting.
    I searched the net, but I didn't found a provider that hosts ~10Mb of servlets, jsp and mysql database.
    I realy need it to earn money. Can anyone help me??
    the provider has to give me access to a 10 Mb mysql database, and 5 jsp pages.
    Thanks in advance.

    no, they don't provide mysql database.
    I already tested it.
    Or am I in wrong?? in this case, can you explain me how to add a mysql database on mycgiservers??
    thanks.

  • JPDK Servlets/JSP not working

    Hi there,
    I am facing a couple of problems related to oracle portal.
    1-As i have installed oracle portal the application server doesnt run JSPs.
    2-In addition to Oracle Portal I have installed JPDK and configured it as written in the documentation. I tried to run example servlet and jsp on it as given in the documentation, but as i write "http://server1:80/servlet/myfirst"
    but it shows "The page cannot be found", but if i write http://server1:80/servlet/IsItWorking, it is running perfectly.
    IS there any configration problem or what?
    Thanx in advace for any one who provides answer to any of the above two questions.
    Hassan

    Hassan,
    1. What version of Portal do you have installed. I have not seen any issues displaying JSPs from the production version of Portal. 3.0.6.6.5 and 3.0.7.6.2. If you have an EA release the JPDK install guide tells you how to download the new version of OJSP.
    2. If you get the page cannot be displayed error, this means that either it does not recognize "myfirst" or it cannot find the class file. you can try to call the Adapter directly. http://host.domain/servlet/oracle.portal.provider.v1.http.HttpProvider
    If this fails, check the jserv.properties to make sure that you specified the correct location to find the provider.jar.
    If this works, then you do not have the myfirst alias setup correctly in the zone.properties.
    Check both of these files, but first you will need to resolve the JSP issues with Apache.
    Hope this helps,
    Sue

  • Specify initial page following mod_osso login for JSP application?

    I'm developing a JSP application that is stand-alone from Portal, but that is protected via mod_osso. (What's the proper term for this - its sort of a Partner application, really an External application, but not registered w/ Portal at all...) Following mod_osso validation, if the login page was brought up (ie, the user was not signed when the application page was requested), I'd like the user to be taken to a 'default' application page (where I can retrieve other user info from the db for use in subsequent pages of the app.) Is there a way to specify this w/ mod_osso? (ie, after login, take user to a specific page.) I could put a flag in the session, check it on each page (ie, Boolean hasVisitedHomePage or such), then redirect to the home page if its false, but would rather not do this if there is a smarter method.
    Thanks,
    Jim

    Following are the steps to use SSO with an J2EE application:
    Steps to enable SSO/OID user authentication to your J2EE application
    1)     Deploy your apps to Oracle9iAS mid-tier instance e.g. mid-tier-host
    2)     Connect to your SSO server in your infrastructure host as follows:
    http://inf-host:<port>/pls/orasso/orasso.home and
    Login as orcladmin. The default password should be same as your IAS_ADMIN password
    3)     Click on SSO Server Administration and then Administer Partner Applications
    4)     Click on Add Partner application
    5)     Enter the following information for your environment and click on Apply:
    Home URL: http://inf-host:<port>/osso_login_success
    Success URL: Home Page for URL for your apps which you want to secure
    Logout URL: http:// inf-host :<port>/osso_logout_success
    6)     Logon to EMWebsite for the Mid-tier Oracle9iAS Instance
    Select the HTTP Server -> Advanced Properties -> mod_osso.conf and add the following. Please make appropriate change for your environment
    <Location /context-to-secure >
    AuthType Basic
    require valid-user
    </Location>
    And then restart HTTP Server
    7)     Now when you access your apps, the logon screen will appear
    hope this helps
    Debu

  • 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

  • Error while deploying application on portal domain

    Hi All,
    I am getting following error while deploying application on portal domain :( :( Not sure what I am missing.......
    Anyone has any idea on this???
    <Oct 6, 2010 7:49:03 AM EDT> <Warning> <com.bea.wlw.netui.pageflow.internal.WebLogicURLTemplateFactory> <BEA-000000> <In webapp <Workshop Application>, the url template <http://{url:domain}:{url:port}/{url:path}?{url:queryString}{url:currentPage}> uses the {url:port} token. The system may not pick up the correct ports if you are using a proxy server. Consider hardcoding the ports in a production environment.>
    <Oct 6, 2010 7:49:05 AM EDT> <Error> <com.bea.p13n.util.jdbc.internal.JdbcSequencer> <BEA-000000> <Cannot allocate sequence block:
    java.sql.SQLException: Cannot call commit when using distributed transactions
    at weblogic.jdbc.wrapper.JTAConnection.commit(JTAConnection.java:349)
    at com.bea.p13n.util.jdbc.internal.JdbcSequencer.allocateSequenceBlockNewTx(JdbcSequencer.java:626)
    at com.bea.p13n.util.jdbc.internal.JdbcSequencer.getNext(JdbcSequencer.java:456)
    at com.bea.netuix.application.manager.persistence.jdbc.MarkupDefinitionDelegate.createMarkupDefinition(MarkupDefinitionDelegate.java:785)
    at com.bea.netuix.application.manager.persistence.jdbc.MarkupDefinitionManagerImpl.createMarkupDefinition(MarkupDefinitionManagerImpl.java:161)
    Truncated. see log file for complete stacktrace
    >
    <Oct 6, 2010 7:49:05 AM EDT> <Error> <netuix> <BEA-423147> <Exception [javax.transaction.TransactionRolledbackException: EJB Exception: : javax.ejb.EJBException: SQL Error while trying to createMarkupDefinition: SQL [insert into PF_MARKUP_DEFINITION ( MARKUP_DEFINITION_ID, MARKUP_NAME, MARKUP_TYPE, WEBAPP_NAME, MARKUP_FILE) values (?,?,?,?,?)] database error code [0] SQL state [null]. Possible markup duplication of [
    MarkupDefinition:
    webAppName = plassPortalWeb
    type = Menu
    name = multiLevelMenu
    file = /framework/markup/menu/multilevel.menu
    beginXml = <netuix:multiLevelMenu $(markupType) $(markupName)>
    endXml = </netuix:multiLevelMenu>
    MarkupDefinitionId = null].; nested exception is: java.sql.SQLException: Cannot call commit when using distributed transactions
    java.sql.SQLException: Cannot call commit when using distributed transactions
    at weblogic.jdbc.wrapper.JTAConnection.commit(JTAConnection.java:349)
    at com.bea.p13n.util.jdbc.internal.JdbcSequencer.allocateSequenceBlockNewTx(JdbcSequencer.java:626)
    at com.bea.p13n.util.jdbc.internal.JdbcSequencer.getNext(JdbcSequencer.java:456)
    at com.bea.netuix.application.manager.persistence.jdbc.MarkupDefinitionDelegate.createMarkupDefinition(MarkupDefinitionDelegate.java:785)
    at com.bea.netuix.application.manager.persistence.jdbc.MarkupDefinitionManagerImpl.createMarkupDefinition(MarkupDefinitionManagerImpl.java:161)
    at com.bea.netuix.application.manager.persistence.jdbc.MarkupDefinitionManager_twpn9c_EOImpl.createMarkupDefinition(MarkupDefinitionManager_twpn9c_EOImpl.java:138)
    at com.bea.netuix.servlets.repository.MenuFilePersistenceManager.onNewFile(MenuFilePersistenceManager.java:160)
    at com.bea.netuix.servlets.repository.MenuFilePersistenceManager.createUpdateMenuDefinitions(MenuFilePersistenceManager.java:267)
    at com.bea.netuix.servlets.repository.MenuFilePersistenceManager.startupSync(MenuFilePersistenceManager.java:529)
    at com.bea.netuix.servlets.repository.AbstractFilePersistenceManager$StartupSync.run(AbstractFilePersistenceManager.java:155)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at com.bea.netuix.servlets.repository.AbstractFilePersistenceManager.startup(AbstractFilePersistenceManager.java:97)
    at com.bea.netuix.servlets.repository.MenuFilePersistenceManager.onNewFiles(MenuFilePersistenceManager.java:228)
    at com.bea.netuix.poller.FrameworkPoller.newFiles(FrameworkPoller.java:256)
    at com.bea.netuix.poller.NetuixFilePoller.start(NetuixFilePoller.java:172)
    at com.bea.netuix.servlets.manager.PortalServlet.reinitInternal(PortalServlet.java:390)
    at com.bea.netuix.servlets.manager.PortalServlet.initInternal(PortalServlet.java:261)
    at com.bea.netuix.servlets.manager.PortalServlet.access$100(PortalServlet.java:125)

    Hello Everybody,
    I solved this error by myself as follows:
    So, what I did was; I started the RemoteGui.bat (C:\usr\sap\J2E\JC00\SDM\program) and from the Undeployment tab, I selected “mainapp01” and “com.sap.engine.docs.examples”.
    The reason I undeployed the above applications was because when I was trying to deploy the mainapp01 application, it gave an error saying that “: Cannot deploy application pcbp.com/mainapp01.. Reason: Application alias [/] for application [pcbp.com/mainapp01] already exists in the HTTP Provider Service. The application that holds this alias is [sap.com/com.sap.engine.docs.examples “.
    And, then I restarted the J2EE engine and from the SAP Netweaver Developer Studio, I again deployed the mainapp01 application on the local J2EE engine and it was deployed successfully.
    Oct 10, 2006 9:45:30 AM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] INFO:
    [002]Finished Deployment
    Settings
    SDM host : RPIKOER
    SDM port : 50018
    URL to deploy : file:/C:/DOCUME1/krunalra/LOCALS1/Temp/temp9270pcbp.com~mainapp01.ear
    Result
    => successfully deployed : file:/C:/DOCUME1/krunalra/LOCALS1/Temp/temp9270pcbp.com~mainapp01.ear
    Thank You
    With Regards,
    Krunal Rana.

  • Javax.servlet.jsp.JspException: java.lang.NullPointerException

    hi,
    I try to view my presentation in jsp page.I use oracle jdeveloper 9.2.0.4 and bibeans 9.2.0.4 and once 1 month ago I did this taks (I view a presentation from bibdemo in jsp file)
    now I try to view my own presentation in jsp but I recieve error message in my own schema and bibdemo schema!!
    when I use windows xp I recieve following error :
    500 Internal Server Error
    javax.servlet.jsp.JspException: BIB-10310 An unknown exception occurred.
    BIB-10101 Handler failed to handle UserObject.
    BIB-14067 Persistable object threw exception during lookup on method setXMLAsString; component class oracle.dss.dataSource.client.QueryClient; exception oracle.dss.util.persistence.BIPersistenceException.
    BIB-9509 Oracle OLAP did not create cursor.
    oracle.olapi.data.source.UnmatchedInputsException
    BIB-9509 Oracle OLAP did not create cursor.
    oracle.olapi.data.source.UnmatchedInputsException
    oracle.olapi.data.source.UnmatchedInputsException
         at oracle.dss.addins.jspTags.PresentationTag.doStartTag(PresentationTag.java:194)
         at test.jspService(test.jsp:6)
         [test.jsp]
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:349)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:778)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    and when I use windows NT I recieve following error :
    500 Internal Server Error
    javax.servlet.jsp.JspException: java.lang.NullPointerException
         at oracle.dss.addins.jspTags.RenderTag.doEndTag(RenderTag.java:212)
         at kafa_report__7._jspService(kafa_report_7.jsp:18)
         [kafa_report_7.jsp]
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:349)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:778)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    I
    what the problem is ????????
    thanks in advance,

    hi,
    here the result :
    <?xml version="1.0" encoding="UTF-8" ?>
    - <BICheckConfig version="1.0.2.0">
    <Check key="JDEV_ORACLE_HOME" value="d:\jdev904" />
    <Check key="JAVA_HOME" value="C:\j2sdk1.4.2_01" />
    <Check key="JDeveloper version" value="9.0.4.0.1419" />
    <Check key="BI Beans release description" value="BI Beans 9.0.4 Production Release" />
    <Check key="BI Beans component number" value="9.0.4.23.0" />
    <Check key="BI Beans internal version" value="2.7.5.32" />
    <Check key="host" value="200.20.20.11" />
    <Check key="port" value="1521" />
    <Check key="sid" value="ora10g" />
    <Check key="user" value="dw_targetschema" />
    <Check key="Connecting to the database" value="Successful" />
    <Check key="JDBC driver version" value="9.2.0.4.0" />
    <Check key="JDBC JAR file location" value="D:\jdev904\jdev\lib\patches" />
    <Check key="Database version" value="10.1.0.2.0" />
    <Check key="OLAP Catalog version" value="10.1.0.2.0" />
    <Check key="OLAP AW Engine version" value="10.1.0.2.0" />
    <Check key="OLAP API Server version" value="10.1.0.2.0" />
    <Check key="BI Beans Catalog version" value="N/A; not installed in dw_targetschema" />
    <Check key="OLAP API JAR file version" value="9.2" />
    <Check key="OLAP API JAR file location" value="d:\jdev904\jdev\lib\ext" />
    <Check key="OLAP API Metadata Load" value="Successful" />
    <Check key="Number of metadata folders" value="2" />
    <Check key="Number of metadata measures" value="1" />
    <Check key="Number of metadata dimensions" value="3" />
    - <Check key="OLAP API Metadata">
    - <![CDATA[
    ==============================================================================
    Type      Name (S=Schema, C=Cube, M=Measure, D=Dimension)         Status   
    ========= ======================================================= ============
    Folder... ROOT
    Folder...   KAFA_COLLECTION
    Folder...   KAFA_COLLECTION2
    Measure..      SALARY                                             Unsuccessful
                   S=DW_TARGETSCHEMA, C=EMPLOYEMENT_CUBE, M=SALARY
                   Connection lost. Reconnect                         Successful
    Dimension      DEP_DIM                                            Successful
                   S=DW_TARGETSCHEMA, D=DEP_DIM
    Dimension      EMP_DIM                                            Successful
                   S=DW_TARGETSCHEMA, D=EMP_DIM
    Dimension      JOB_DIM                                            Successful
                   S=DW_TARGETSCHEMA, D=JOB_DIM
      ]]>
    </Check>
    - <Check key="StackTrace">
    - <![CDATA[
    ============================================================================
    Queries on the following measures or dimensions failed
    (S=Schema, C=Cube, M=Measure, D=Dimension)
    "SALARY" measure query with S=DW_TARGETSCHEMA, C=EMPLOYEMENT_CUBE, M=SALARY
    ============================================================================
    Exception stacktrace for "SALARY" measure query with S=DW_TARGETSCHEMA, C=EMPLOYEMENT_CUBE, M=SALARY
    ============================================================================
    1) BIB-9009 Oracle OLAP could not create cursor.
    oracle.express.idl.util.OlapiException: No more data to read from socket
    2) BIB-9009 Oracle OLAP could not create cursor.
    oracle.express.idl.util.OlapiException: No more data to read from socket
    1) BIB-9009 Oracle OLAP could not create cursor.
    oracle.express.idl.util.OlapiException: No more data to read from socket
    ============================================================================
    oracle.dss.dataSource.common.QueryRuntimeException: BIB-9009 Oracle OLAP could not create cursor.
    oracle.express.idl.util.OlapiException: No more data to read from socket
    java.lang.CloneNotSupportedException: BIB-9009 Oracle OLAP could not create cursor.
    oracle.express.idl.util.OlapiException: No more data to read from socket
         at oracle.dss.dataSource.common.Query.addQueryListener(Query.java:480)
         at BICheckConfig.runDefaultMeasureQuery(BICheckConfig.java:480)
         at BICheckConfig.printFolder(BICheckConfig.java:405)
         at BICheckConfig.printFolder(BICheckConfig.java:464)
         at BICheckConfig.checkConnection(BICheckConfig.java:350)
         at BICheckConfig.main(BICheckConfig.java:1348)
    2) BIB-9009 Oracle OLAP could not create cursor.
    oracle.express.idl.util.OlapiException: No more data to read from socket
    ============================================================================
    java.lang.CloneNotSupportedException: BIB-9009 Oracle OLAP could not create cursor.
    oracle.express.idl.util.OlapiException: No more data to read from socket
         at oracle.dss.dataSource.common.CubeCursor.clone(CubeCursor.java:387)
         at oracle.dss.dataSource.common.Query.addNewCubeCursorCopy(Query.java:2366)
         at oracle.dss.dataSource.common.Query.addQueryListener(Query.java:477)
         at BICheckConfig.runDefaultMeasureQuery(BICheckConfig.java:480)
         at BICheckConfig.printFolder(BICheckConfig.java:405)
         at BICheckConfig.printFolder(BICheckConfig.java:464)
         at BICheckConfig.checkConnection(BICheckConfig.java:350)
         at BICheckConfig.main(BICheckConfig.java:1348)
      ]]>
    </Check>
    </BICheckConfig>
    when I was transfering the collection from warehouse builder to database I recieve some error messages.
    but when I try to connect to database from bibeans every thing was ok so I thougth maybe it is because of that.
    and that about bibdemo why it doesn't work???
    it works before and I check it with bi_checkconfig
    thanks ,
    shima

  • Read Server name in JSPDynpage to call a JSP Application

    Hi Experts,
    I am new Portal Content Development.
    I have a JSP application deployed on SAP NW portal server as ear file using Eclipse.
    Now to integrate this application in portal i have to create an Iview.
    To Create Iview i have to create JSPDynpage.( Since URL Iview will not be useful in my case)
    I am trying to follow Approach #2 as mentioned by Detlev in this thread  [iViews based on J2EE;
    Now in this JspDynPage I have to call my JSP application.
    In this application i want to read SAP NW server name and port name to create URL of JSP Application.
    after which URL would be :
    http://<Server host name >:<port>/JSPapplication.jsp
    Now how do i read Server Host name and Server Port name from JSPDynpage?
    Thanks in advance for the answer.
    Regards,
    Ashish Shah

    Hi Michael,
    Thanks for your suggestion , i tried it.
    However it seems to be struts application and url for the application is http://<server>:<port>/MyStruts/MyStrutsHome.do.
    I tried following relative paths: and these are the errors
    MyStrut/MyStrutHome.do  --> Unable to fetch site http://MyStrut/MyStrutHome.do.Error # 502
    /MyStrut/MyStrutHome.do --> Unable to fetch site http:///MyStrut/MyStrutHome.do.Error # 400
    MyStrut/                          --> Unable to fetch site http://MyStrut/.Error # 502
    /MyStrut/                         --> Unable to fetch site http:///MyStrut/.Error # 400
    MyStrutHome.do             -->Unable to fetch site http://MyStrutHome.do.Error # 502
    Not sure weather i can create a URL Iview for Struts based applications.
    Can you share your thoughts on this?
    meanwhile i am trying to fetch server name and port in my JSPDynpage as suggested by you.
    Thanks for your help till now.
    Regards,
    Ashish Shah

Maybe you are looking for

  • Upgrade 10.3 to 10.4: Kerberos authentication stopped working

    Hello: I upgraded a G5 XServe from 10.3.9 to 10.4. It almost worked - ie: system booted again, all disks are visible, etc. But, trying to log on with a user in the OD hosted on that machine has stopped working... this happens when I try to mount a sh

  • Error while trying to install itunes 10.7

    I receintly updated my iPhone 4s to iOS6, but it wouldn't let me sync to itunes, so I downloaded the new itunes(10.7) but when I try to install it, I keep getting the error; "The Feature you are trying to use is on a network resource that is unavaila

  • Storing easy to access information about current user

    Hi everybody! Does someone know if I could store somewhere an information about the current user and that a could retrieve anytime in a similar way I can retrieve the username of the current user when I do 'select user from dual' ? I would like each

  • Ugly problem with java.lang.reflect.InvocationTargetException

    Hello, I am writing a web service which connects to WebSphere MQ queue manager and puts a message on a queue. I use Eclipse and as usual I followed more or less the hints given at: http://www.eclipse.org/webtools/jst/components/ws/1.5/tutorials/Botto

  • No ADSL link after moving home

    Dear Moderators, I moved home within E14 area. I had a working internet connection despite issues being posted around Poplar area and the 02075 issue. After moving house, the same number issued, but I checked the hub and there is no ADSL link at all.