Treat jnlp like jsp in weblogic

I´m trying to treat a jnlp file like a jsp in oracle weblogic. I did this in tomcat, it´s so easy, i need only put a servlet-mapping like that in my web.xml:
<servlet-mapping>
  <servlet-name>jsp</servlet-name>
  <url-pattern>*.jnlp</url-pattern>
</servlet-mapping>
But in weblogic it don´t works. First, he force me remove this servlet-mapping because he don´t have the same servlet that tomcat and i don´t have a servlet named jsp in my web xml. I wana know if exists any other way to configure my web.xml to treat my jnlp files like a jsp files.
Thanks a lot.

Hello,
this forum is dedicated for questions about migrations of non-Oracle databases to Oracle using the Oracle SQL Developer Migration Workbench. Your question can much better be answered in an appropriate forum. Please go to there:
Application Server
There you should find a better forum to post your question.
Best regards
Wolfgang

Similar Messages

  • Dynamic generate JNLP from JSP ?

    Hello,
    I tried to generate JNLP from JSP, but it just show the Opem/Save diakog and cannot startup the Web Start.
    I am using Tomcat-5.5.12 in WinXP + JDK1.5
    How can I dynamically generate JNLP ?
    Eric

    It will range from easy to rather difficult, depending on how hard you try...
    If you want to do the bare minimum it will require you to code up some JSPs with scriptlets, declarations, expressions, and <jsp:xxx ...> tags, have some server turn them into a servlet for you, and then determine how things like
    <%@ page isELIgnored="false" %> are handled. Things like:
    <jsp:useBean ...> <jsp:setProperty ... > should be rather easy to translate using introspection on the beans they refer to. But <jsp:import ...> and the likes may be more difficult.
    Any normal html code is just wrapped inside a out.println(...) statement. Scriptlets should have the <% %> stripped and coppied to the output. Expressions should have their <%= %> stripped and be added to the surrounding out.println...
    for example:
    <a href="<%=thePage%>">
    should become:
    out.println("<a href=\""+thePage+"\">");
    All the content should be added to a _jspservice method.  Then, things between <%! %> should be coppied to source file as methods.
    Complications come when people start to use custom tags. You will have to learn how to create a PageContext that will be available to the jsp service method.
    You should also look up the JSP/Servlet spec to see how this stuff should be done.
    It is a whole nuther can o worms if the resulting JSP is expected to compile without a server...</a>

  • My laptop is not a phone. Don't treat it like one.

    My laptop is not a mobile phone the last time I checked.  Unless mobile phones started weighing 15 pounds and play Crysis 2 Maxed, Star Citizen Maxed, and any other game you can think of, maxed, with 18" screens.
    So, don't treat it like a mobile phone with your crappy chat bubbles that liturally everyone who isn't on a mobile phone hates, even some people on phones hate it.
    Why is it so hard for Microsoft to add options to the app?  Seriously?  Liturally every other chat program in the world has the ability to be skinned to the user's liking.  What does MS do?  They force you to use their choice only.  Then people came up with MSN Plus when MSN used to exist and they kept trying to take that out cause like, god forbid users have some choices when using a messenger.  God forbid we actually like the look of our messenger!
    I've posted this elsewhere, but this used to be my messenger before you canceled skypekit.exe for no reason whatsoever other than to force people to use mobile ugly skype.
    Now here is what I'm stuck with,
    Isn't it wonderful?  Look at all that space I totally saved in my tiny small sentences of messages.  By having 4 inches of white on either side of my messages.  Cause that's how real messengers look now days.
    However I did notice you can expand the thing a bit, but the chat bubbles are still confusing and useless.  you have tons of angry people posting that they want them gone and your responce, is to ignore them?  I thought Microsoft was all about listening to the customer.  Is that not really true?  No one wants bland Windows 8 paint.exe type graphics.  That's why I'm still on Windows 7, cause liturally there is zero advantage to downgrading to Windows 8 or 10.  All you get is a loss in graphics and the world's ugliest apps.  :/  Skype being an examle of this, being forced on people who still have a real operating system like me.
    The world isn't full of tiny pitiful tablets that have a processor as powerful as a SNES.  Stop treating us like all our computers suck and couldn't process a simple gradient or rounded corner or Windows Aero.  If people don't want Aero, they will disable it.  Don't automatically disable it for them and give them something you drew up in paint.exe.  Seriously.  Skype is the ugliest thing on my laptop now.  :/
    Thank you, this has been another angry rant by me, Vas.

    You are not alone in wanting options! There's a very long thread on the 7.0 UI currently running at 850 messages, of which about 2 have been positive. You may want to take a look there too.
    (And you may also want to read my blog post ...)
    Sean Ellis - uses Skype chat for serious work
    Click here to read my blog post on Skype 7 and basic principles of GUI design

  • Error while precompiling the JSP using weblogic 7.0

    Hi
    I am trying to precompile jsp file which is there in a war.Main jsp file code includes one more jsp which is there in other folder under defaultweb directory.
    While deploying the war i am getting the following error.Can any bosy help me in this regard
    <Nov 23, 2002 5:01:28 PM IST> <Error> <HTTP> <101045> <[ServletContext(id=464413
    3,name=ArkinTestWeb,context-path=/ArkinTestWeb-3)] translation of /Admin/account
    _access.jsp failed: weblogic.utils.ParsingException: nested TokenStreamException
    : antlr.TokenStreamException: Could not include ./../includes/sessionStatusPage.
    jsp>
    <Nov 23, 2002 5:01:28 PM IST> <Error> <Deployer> <149201> <The Slave Deployer fa
    iled to complete the deployment task with id 1 for the application ArkinTestWeb.
    weblogic.management.ApplicationException: Prepare failed. Task Id = 5
    Module Name: ArkinTestWeb, Error: Could not load ArkinTestWeb: weblogic.utils.Ne
    stedException: ArkinTestWeb:ArkinTestWeb Failure while Precompiling JSPs: weblog
    ic.utils.ParsingException: nested TokenStreamException: antlr.TokenStreamExcepti
    on: Could not include ./../includes/sessionStatusPage.jsp - with nested exceptio
    n:
    [weblogic.utils.ParsingException: nested TokenStreamException: antlr.TokenStream
    Exception: Could not include ./../includes/sessionStatusPage.jsp]
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
    er.java:657)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
    er.java:548)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
    veDeployer.java:1026)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
    loyer.java:700)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
    dler.java:24)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
    >
    Regards
    Anand Mohan

    Hi
    All jsp pages are under one web application only.Can you help more on this.
    Regards
    Anand

  • Step by step details to deploy jsp in weblogic

    Hi,
    can any one give me a step by step details to deploy jsp in weblogic 7..
    i am abs new to EJBs and weblogic...
    thnx
    sai.

    sai krishna wrote:
    Hi,
    can any one give me a step by step details to deploy jsp in weblogic 7..
    i am abs new to EJBs and weblogic...
    thnx
    sai.Sai if you are completely new to this on WLS I would recommend reading:
    http://edocs.bea.com/wls/docs70/programming/index.html
    Then Possibly:
    http://edocs.bea.com/wls/docs70/webapp/index.html &&
    http://edocs.bea.com/wls/docs70/jsp/index.html
    You can also find more programming information here:
    http://edocs.bea.com/wls/docs70/programming.html
    HTH
    ~Ryan

  • Urgent. Unable to set up JSP in Weblogic server

              Hi,
              I wish to enable JSPs in the weblogic server. i went thru the bea documentation and
              added the following lines in hte weblogic.properties file :
              weblogic.httpd.documentRoot=XXX (The root directory for the jsps.
              weblogic.httpd.register.*.jsp=\ weblogic.servlet.JSPServlet
              weblogic.httpd.initArgs.*.jsp=\ pageCheckSeconds=1,\
              compileCommand=/opt/java1.2/bin/javac,\
              workingDir=XXX,\
              verbose =true
              After this, i started the weblogic. But apparently, it says that all the above properties are undeclared.
              I am not able to go further on this. Could anyone help me out on this.
              I am working on a HP machine.
              thanks in advance. prashant
              

    Hi,
              It is really hard to tell exactly what is going on without more information. If all you are using are JSPs, try
              removing the servlet classpath altogether. Put any helper classes into the weblogic classpath.
              Can you get one of the example JSPs working in your environment? This would be a good place to start just to verify
              that your environment is set up correctly.
              Can you post your JSP file that is not working?
              Hope this helps,
              Robert
              prashant wrote:
              > Good Morning.
              >
              > I just changed the path as you had said. now it stands as :
              >
              > weblogic.httpd.documentRoot=/sclNewArch/weblogic/pgupta/jsp
              >
              > workingDir=/sclNewArch/weblogic/pgupta/jspworkingdir
              >
              > weblogic.httpd.servlet.classpath=/sclNewArch/weblogic/pgupta/jspclass
              >
              > But still it gives the same error : javax.servlet.ServletException: Servlet class: could not be loaded - the reques
              > ted class wasn't found in the classpath
              >
              > Pleae help.
              >
              > Prashant
              >
              > Robert Patrick <[email protected]> wrote:
              > >1.) Do not make the working directory the same as the document root (or a subdirectory of the document root
              > >hierarchy).
              > >2.) Do not put the working directory in the servlet classpath.
              > >
              > >prashant wrote:
              > >
              > >> Hi,
              > >> Sorry, that was an error on my part while writing to this forum. i had actually done it correctly.
              > >> To tell you in more details, among other things, i have set the following parameters :
              > >>
              > >> weblogic.httpd.documentRoot=/sclNewArch/weblogic/pgupta/jsp
              > >>
              > >> workingDir=/sclNewArch/weblogic/pgupta/jsp
              > >>
              > >> weblogic.httpd.servlet.classpath=/sclNewArch/weblogic/pgupta/jsp
              > >>
              > >> Now, a small jsp that i made is in the same directory. When i try to run the directory with the following :
              > >> http://localhost:8013/a.jsp, it gives the error as given below. I am not able to understand what is the
              > >> problem, since my jsp is in the same directory where the class file is to be made.
              > >>
              > >> Please help.
              > >>
              > >> Thanks,prashant
              > >>
              > >> Fri Jan 05 17:31:45 CST 2001:<E> <ServletContext-General> Servlet failed with Ex
              > >> ception
              > >> javax.servlet.ServletException: Servlet class: could not be loaded - the reques
              > >> ted class wasn't found in the classpath
              > >> /sclNewArch/weblogic/pgupta/jsp
              > >> at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
              > >> mpl.java:299)
              > >> at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
              > >> java:164)
              > >> at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              > >> pl.java:99)
              > >> at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              > >> textImpl.java:742)
              > >> at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              > >> textImpl.java:686)
              > >> at weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
              > >> ContextManager.java:247)
              > >> at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
              > >> a:361)
              > >> at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
              > >>
              > >>
              > >> "Tamilselvan Ramasamy" <[email protected]> wrote:
              > >> >"\" means that property continue in the next line.
              > >> >
              > >> >so your changes as follows
              > >> >
              > >> >weblogic.httpd.documentRoot = /opt/app1/jspdir
              > >> >
              > >> >weblogic.httpd.register.*.jsp=\
              > >> > weblogic.servlet.JSPServlet
              > >> >weblogic.httpd.initArgs.*.jsp=pageCheckSeconds=1,\
              > >> >compileCommand=/opt/java1.2/bin/javac,\
              > >> > workingDir=XXX,\
              > >> > verbose =true
              > >> >
              > >> >/selvan
              > >> >Captura Software Inc
              > >> >
              > >> >"prashant" <[email protected]> wrote in message
              > >> >news:[email protected]...
              > >> >>
              > >> >> Hi,
              > >> >>
              > >> >> I wish to enable JSPs in the weblogic server. i went thru the bea
              > >> >documentation and
              > >> >> added the following lines in hte weblogic.properties file :
              > >> >>
              > >> >> weblogic.httpd.documentRoot=XXX (The root directory for the jsps.
              > >> >>
              > >> >> weblogic.httpd.register.*.jsp=\ weblogic.servlet.JSPServlet
              > >> >> weblogic.httpd.initArgs.*.jsp=\ pageCheckSeconds=1,\
              > >> >> compileCommand=/opt/java1.2/bin/javac,\
              > >> >> workingDir=XXX,\
              > >> >> verbose =true
              > >> >> After this, i started the weblogic. But apparently, it says that all the
              > >> >above properties are undeclared.
              > >> >>
              > >> >> I am not able to go further on this. Could anyone help me out on this.
              > >> >>
              > >> >> I am working on a HP machine.
              > >> >>
              > >> >> thanks in advance. prashant
              > >> >
              > >> >
              > >
              

  • How to modify JSP on Weblogic without restarting a server

    Hello,
    Could someone explain how to modify JSP on Weblogic without restarting a server?
    We use WL 10.2.
    I search and modify required jsp on a server, but nothing happens on a Web Browser. I run in Development mode.
    Please advice,
    Thanks,
    Yuri

    Hi Yuri,
    As you are in Development mode you have one options to use the Auto Deploy folder which can be found in the following path (domain_name/autodeploy).
    More information on Auto Deployment check the below link:
    http://download.oracle.com/docs/cd/E11035_01/wls100/deployment/autodeploy.html#wp1021626
    Other option is to use the following parameter "*page-check-seconds*" in your weblogic.xml file
    For more information check out the below link
    Topic: jsp-descriptor
    http://download.oracle.com/docs/cd/E13222_01/wls/docs103/webapp/weblogic_xml.html#wp1038491
    Hope this helps you.
    Regards,
    Ravish Mody
    http://middlewaremagic.com/weblogic/
    Middleware Magic | Come, Join Us and Experience The Magic…

  • Admin account treating me like a Guest

    I just upgraded from Leopard to Snow Leopard. I am the only user on the machine and therefore am the administrator. However, my system is treating me like a guest by not allowing me to create folders on the desktop, change my wallpaper, look in my pictures folder, etc.
    Anyone know what the issue might be?

    No idea ....
    Did you run Disk Utility > Repair Permissions after the upgrade?
    What disks did you use for the Upgrade?
    Did you apply the Mac OS X v10.6.3 v1.1 Update (Combo)? http://support.apple.com/kb/DL1017

  • Problems configuring jsp and weblogic.

    Hi,
              can anyone tell me what all things i need to configure if i have to test jsp
              on weblogic. what things i need to include in web.xml and weblogic.xml. Also
              do i need to create weblogic.properties. I m using weblogic 6.0. I do have
              a jar file which is deployed on weblogic.
              Any help will be appreciated.
              Thanks
              -Shree
              

    Hi,
              I m trying to test a html page on weblogic 6.0. when i type the url
              http://localhost:7001/mytest.html i get following errors. I m not able to
              test any of my jsp pages. I m getting the following error....
              <Jul 23, 2001 5:04:04 PM EDT> <Error> <HTTP> <HttpServer(6962399,null
              default ct
              x,localhost) found no context for "GET /mytest.html HTTP/1.0". This should
              not h
              appen unless the default context failed to deploy.>
              can any one tell me what are the steps / things i should consider for
              testing a jsp (web.xml, weblogic.xml...etc...)using weblogic 6.0 i do not
              want to deploy it i want to test using exploded directory format. My Jsps
              are in turn retrieving information from EJB's.
              I did read quickstart guide in e-docs.bea.com.
              Any help in this matter is appreciated.
              Thanks
              -Shree
              "Shree Unde" <[email protected]> wrote in message
              news:[email protected]...
              > Thanks.
              > -Shree
              > "Kumar Allamraju" <[email protected]> wrote in message
              > news:[email protected]...
              > > http://e-docs.bea.com/wls/docs60/quickstart/quick_start.html
              > >
              > > Shree Unde wrote:
              > >
              > > > Hi,
              > > > can anyone tell me what all things i need to configure if i have to
              test
              > jsp
              > > > on weblogic. what things i need to include in web.xml and
              weblogic.xml.
              > Also
              > > > do i need to create weblogic.properties. I m using weblogic 6.0. I do
              > have
              > > > a jar file which is deployed on weblogic.
              > > >
              > > > Any help will be appreciated.
              > > >
              > > > Thanks
              > > > -Shree
              > >
              >
              >
              

  • Calling property file inside jsp in weblogic.

    In JSP file, sometimes, we use the following code in the jspInit()
              <%!
              ResourceBundle resouce =null;
              public void jspInit() {
              resource = ResourceBundle.getBundle("resources");
              %>
              The resources.properties is the file to have the name value pair, which is
              easy to get a list of something.
              Can I still use properties file in my JSP in weblogic? where should I put
              properties? is it weblogic\myserver\under public_html ?
              Thank you for any help.
              li
              

    Can I still use properties file in my JSP in weblogic? where should I          put
              > > properties? is it weblogic\myserver\under public_html ?
              >
              > yes, put the properties file in your java classpath.
              I mean to say, put properties file in a directory, which is in Java class
              path.
              thanks,
              -ramu
              "Ramu" <[email protected]> wrote in message
              news:3a6623c0$[email protected]..
              > "li" <[email protected]> wrote in message
              > news:3a661a8c$[email protected]..
              > > In JSP file, sometimes, we use the following code in the jspInit()
              > > <%!
              > > ResourceBundle resouce =null;
              > > public void jspInit() {
              > > resource = ResourceBundle.getBundle("resources");
              > > }
              > > %>
              > > The resources.properties is the file to have the name value pair, which
              is
              > > easy to get a list of something.
              > >
              > > Can I still use properties file in my JSP in weblogic? where should I
              put
              > > properties? is it weblogic\myserver\under public_html ?
              >
              > yes, put the properties file in your java classpath.
              >
              > -ramu
              >
              >
              >
              > >
              > >
              > > Thank you for any help.
              > >
              > > li
              > >
              > >
              > >
              > >
              >
              >
              

  • Precompiling JSPs using weblogic.jspc

    Hello,
    My question has more to do with getting the Weblogic precompiler to understand <%@ include file="myFilejsp" %> directives.
    Test scenario:
    In our application, we have used a common JSP page say 'commonJSP' as a header and have included 'commonJSP' in all our other JSP pages.
    Suppose my commonJSP is like this:
    <%
    String hello= "Hello";
    %>
    and suppose my index.jsp is like this
    <%@ include file="commonJSP" %>
    <%
    System.out.println(hello);
    %>
    Now when I serve index.jsp to clients it compiles correctly because the commonJSP is included in the source before compiling.
    HOWEVER, when precompiling the JSPs in my web application using the <java weblogic.jspc ..> tag in my ant build file, I am getting errors on compiling index.jsp that 'hello' cannot be resolved.
    When using the WebLogic JSP compiler, is there any way to tell the compiler to not treat JSP pages as individual 'servlet' classes but look at the 'big picture'?

    Anybody ?

  • Calling a java class in JSP in Weblogic 5.1

    Hi
    I am trying to call a java class in a jsp page. But it is giving an error:
    Compilation of 'C:\weblogic\myserver\classfiles\jsp_servlet\_knet\_buy.java' failed:
    C:\weblogic\myserver\classfiles\jsp_servlet\_knet\_buy.java:79: cannot access jsp_servlet._knet.e24PaymentPipe
    probably occurred due to an error in /knet/buy.jsp line 25:
    e24PaymentPipe pipe = new e24PaymentPipe();
    Is this a problem bcos of the wrong path of the class file which i am calling?
    Please help this is urgent

    Hello All
    As I tried to deploy the easiest project (dummy.war) on WebLogic 8.1.5, There is only one class (without package) Login.class
    *********** Listing of the dummy WAR ***********
    META-INF/
    META-INF/MANIFEST.MF
    WEB-INF/
    WEB-INF/classes/
    WEB-INF/classes/Login.class
    WEB-INF/web.xml
    index.jsp
    login.jsp
    ************ Output of deployment from Admin Console****************
    Log:     
         A log of the task's activities.
    [Deployer:149033]preparing application dummy on intranetAdmin
    [Deployer:149033]prepared application dummy on intranetAdmin
    [Deployer:149033]activating application dummy on intranetAdmin
    [Deployer:149033]failed application dummy on intranetAdmin
    [Deployer:149034]An exception occurred for task [Deployer:149026]
    Deploy application dummy on intranetAdmin.:
    Exception:weblogic.management.ApplicationException: start() failed.
    Module: dummy Error: weblogic.management.DeploymentException:
    [HTTP:101216]Servlet: "index" failed to preload on startup in Web application:
    " dummy ".
    weblogic.servlet.jsp.CompilationException: Compilation of D:\apps\wlsapp\
    INTRAN~1\.\intranetAdmin\.wlnotdelete\extract\intranetAdmin_ dummy _ dummy
    \jsp_servlet\__index.java failed.
    D:\apps\wlsapp\INTRAN~1\.\intranetAdmin\.wlnotdelete\extract\
    intranetAdmin_dummy_dummy\jsp_servlet\__index.java:22: '.' expected
    import Login; //[ /login.jsp; Line: 8]
    ^
    1 error
    at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:478)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:246)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:196)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.
    java:3430)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.
    java:3387)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext
    .java:3373)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3356)
    at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:
    6208)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:864)
    at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2134)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2175)
    at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.
    activateContainer(SlaveDeployer.java:2520)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer
    .java:2438)
    at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2155)
    at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2254)
    at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2149)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.
    java:2401)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:
    883)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:591)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    Caused by: java.io.IOException: Compiler failed executable.exec
    at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:470)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:321)
    at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:451)
    ... 22 more
    - with nested exception:
    [java.io.IOException: Compiler failed executable.exec]
    I put this class into a dummy package named sample, changed package declaration within this class and changed import statement within jsp pages like this :
    <%@ page import="sample.Login " %>
    <jsp:useBean id="logUsr" scope="session" class="sample.Login" />
    When I did like this, everything is ok. No more exception.
    If my application has so many java classes under WEB-INF/classes/ without creating package, it may be so inconvenience.
    Please kindly let me know why this exception (class not found exception) occurred.
    And what is the solution? I cannot deploy the application successfully yet.
    many thanks,
    Zin Ko Win

  • Href link with //localhost:7001 prefix in index.jsp  for WebLogic Workshop 8.1.2

    I installed the WebLogic Workshop 8.1.2 (Build: 2003.1211.044125). I built all
    six projects
    and everything seems to work well.
    I could access to the sample web services on the WebLogic server from the local
    server
    as well as from a remote client machine by pointing the browser to the following
    two URLs respectively:
    http://localhost:7001/WebServices/index.jsp (browser from local server)
    http://192.168.1.100:7001/WebServices/index.jsp (browser from remote client machine)
    When the "Simple web service sample" page shows up, I could click from the local
    server, and
    go to the HellowWorld.jws link. However, from the remote machine, I got the "Page
    not found"
    error when clicking on the HelloWorld.jws link.
    I checked the index.jsp file in the
    C:\bea\weblogic81\samples\workshop\SamplesApp\WebServices directory on the WebLogic
    server, and found that all the href reference has the //localhost:7001 prefix
    in the link,
    which caused the remote browser to fail.
    I then tried to global replacement and remove all the //localhost:7001 references
    in the
    index.jsp file so that the line changed from something like this:
    href="http://localhost:7001/WebServices/HelloWorld.jws?.EXPLORE=.TEST">HelloWorld.jws</a>
    to something like this:
    href="http:/WebServices/HelloWorld.jws?.EXPLORE=.TEST">HelloWorld.jws</a>
    and then save the index.jsp file in the same directory.
    Now, I fresh both of my browsers and I can correctly access to the HelloWorld.jws,
    and
    all other sample links, from the local server as well as from the remote client
    machine.
    Why is //localhost:7001 needed in the index.jsp file? It seems that without it
    the
    samples work better.

    Hello,
    You will need the full URL when you extend out of your local
    environment. Check out docs here [1] for an overview or for an extended
    story, review the issues [2] involved with clusters, DNS, IP addr, etc.
    Hope this is of some value,
    Bruce
    [1]
    http://edocs.bea.com/wls/docs81/webserv/assemble.html#1076491
    [2]
    http://e-docs.bea.com/wls/docs81/cluster/setup.html#714310
    Shuh Chang wrote:
    >
    I installed the WebLogic Workshop 8.1.2 (Build: 2003.1211.044125). I built all
    six projects
    and everything seems to work well.
    I could access to the sample web services on the WebLogic server from the local
    server
    as well as from a remote client machine by pointing the browser to the following
    two URLs respectively:
    http://localhost:7001/WebServices/index.jsp (browser from local server)
    http://192.168.1.100:7001/WebServices/index.jsp (browser from remote client machine)
    When the "Simple web service sample" page shows up, I could click from the local
    server, and
    go to the HellowWorld.jws link. However, from the remote machine, I got the "Page
    not found"
    error when clicking on the HelloWorld.jws link.
    I checked the index.jsp file in the
    C:\bea\weblogic81\samples\workshop\SamplesApp\WebServices directory on the WebLogic
    server, and found that all the href reference has the //localhost:7001 prefix
    in the link,
    which caused the remote browser to fail.
    I then tried to global replacement and remove all the //localhost:7001 references
    in the
    index.jsp file so that the line changed from something like this:
    href="http://localhost:7001/WebServices/HelloWorld.jws?.EXPLORE=.TEST">HelloWorld.jws</a>
    to something like this:
    href="http:/WebServices/HelloWorld.jws?.EXPLORE=.TEST">HelloWorld.jws</a>
    and then save the index.jsp file in the same directory.
    Now, I fresh both of my browsers and I can correctly access to the HelloWorld.jws,
    and
    all other sample links, from the local server as well as from the remote client
    machine.
    Why is //localhost:7001 needed in the index.jsp file? It seems that without it
    the
    samples work better.

  • Problems using JNI and JSP in WebLogic 6.0

    Hello everybody. My problem is that I've got a Java class that is called from a JSP. That class connects to a C function and it returns a String. A want this string to be shown by the JSP. The code is:
    JSP
    <html>
    <head>
    <title>prueba JNI</title>
    </head>
    <body>
    <%@ page import="ejemplosJNI.*, conversiones.*;"%>
    <%
    Texto texto = new Texto();
    out.println(texto.realizado());
    %>
    </body>
    </html>
    Java class
    package ejemplosJNI;
    public class Texto
    private native String getLine(String prompt);
    String input = null;
    public static void main(String args[])
    Texto t = new Texto();
    static
    System.loadLibrary("MyImpOfPrompt");
    public String realizado()
    input = this.getLine("Mando una l�nea desde Java");
    return input;
    C function
    #include <stdio.h>
    #include <jni.h>
    #include "Texto.h"
    JNIEXPORT jstring JNICALL
    Java_Texto_getLine(JNIEnv *env, jobject obj, jstring prompt)
    char buf[128];
    const char str = (env)->GetStringUTFChars(env, prompt, 0);
    (*env)->ReleaseStringUTFChars(env, prompt, str);
    return (*env)->NewStringUTF(env, str);
    I compile de C function and put the .dll library in the 'bin' folder in webLogic.
    When I call the JSP, I get the next exception:
    Servlet failed with Exception
    java.lang.UnsatisfiedLinkError: getLine
    at ejemplosJNI.Texto.getLine(Native Method)
    at ejemplosJNI.Texto.realizado(Texto.java:19)
    at jsp_servlet._jsp._pruebasjni._prueba1._jspService(_prueba1.java:93)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:213)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:246)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:1265)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:1622)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Is there any place where I have to put the .dll?
    Is there any place where I have to put the generated .lib?
    Where do I have to put the Texto.h file generated with javah?
    Can anybody help me to solve this problem?
    Thanks in advance.

    Hi, jschell! Maybe you can see my problem if I give you the code. My Java class and the C funtions are:
    Java class
    package ejemplos.cadena;
    public class Texto
    private native String getLine(String prompt) throws Exception;
    String cadenaFinal = null;
    public static void main(String args[])
    Texto t = new Texto();
    static
    System.loadLibrary("LibreriaCadena");
    public String realizado(String cadena)
    try
    cadenaFinal = getLine(cadena);
    catch(Exception e)
    System.out.println(e.toString());
    return cadenaFinal;
    C code
    #include <stdio.h>
    #include <jni.h>
    #include "ejemplos_cadena_Texto.h"
    JNIEXPORT jstring JNICALL
    Java_ejemplos_cadena_Texto_getLine(JNIEnv *env, jobject obj, jstring prompt)
    int cero =0;
    int division = 10 / cero;
    const char str = (env)->GetStringUTFChars(env, prompt, 0);
    (*env)->ReleaseStringUTFChars(env, prompt, str);
    return (*env)->NewStringUTF(env, str);
    I have done something like "int division = 10 / cero;" in order to get an exception in my C code. When I run my Java class I get an error message and the application breaks. I would like to know how to catch the C exception in order to pass it to my Java class that can manage it into the try-catch clause. I have read I have to use something like "FindClass" or "ThrowNew", but my problem is that I have no idea about C programming.
    Can you help me?
    Thanks for your time.

  • BeanInfo not being found when running from a JSP in WebLogic 6.1

    Hi,
    I wrote a BeanInfo base class for dynamically building HTML Tables using an array of beans. I wrote the code and tested it all using the command line and verified that the Beans were dynamically loading and displaying based upon the rules I had defined in the base class. Basically I was using the Introspector to find the class. When I transfered the code into a JSP running on WebLogic 6.1 it is never finding my BeanInfo. I even tried having the end BeanInfo be the bean itself (Had the Bean extend the BeanInfo). Still didn't find it and keeps giving me the default (or GenericBeanInfo) class to represent my Bean when calling the Introspector.getBeanInfo. I am making sure that my Introspector.setBeanInfoSearchPath is being done correctly. Like I said it is working ont the command line.
    Why is the Introspector not finding the correct BeanInfo class for my Bean when I do it inside of a JSP?

    Never mind, I figured out what is wrong. It always returns the GenericBeanInfo but it still goes throught the motions of calling the underlying BeanInfo.
    So, ignoe. I can't delete the topic.

Maybe you are looking for

  • Can't drag image from browser into Artwork panel

    Hey all, This is on Snow Leopard, using the latest iTunes and Firefox versions. When a file (or group of files) lacks artwork, I often use Google Images, find the appropriate image, drag the image to the desktop, then drag the image from the desktop

  • Windows 8 deleted files from SD card

    Windows 8 automatically restarted on my laptop with my camera still attached. Once it had finished, my files were corrupted on my camera and could not be opened. I am furious with automatic updates as it has wiped all my honeymoon media. My camera no

  • Cisco UCS Central High Availability (HA NOT READY)

    I am seeing the following message in UCS Central about HA NOT READY Cluster Id: 0x819cae86c88f11e4-0x8fb4d5434d9b9e52 Start time: Tue Mar 24 12:08:20 2015 Last election time: Tue Mar 24 12:08:50 2015 A: UP, PRIMARY B: UP, SUBORDINATE A: memb state UP

  • Finding a Computer or SMB (or NFS) Mount on a LAN

    I will have a computer, running Linux, hooked up to an office LAN. The problem is that I'm dealing with professionals who are not in the IT field and are in small offices, so they often know nothing about DNS or what DHCP is. In many cases, they'll l

  • Job Scheduling Management

    Hi Experts, Did any one have guide to schedule a job in solman 7.1 using Job Scheduling Management? I have created a job request from solman_workcenter job management. Now I want to know how to schedule the job in backend system. As I am not able fin