Using web resources in a JAR/WAR file in another project

Hi,
I would like to make a core set of .jspx files available to other developers without them having to physically include each of the .jspx files into their JDeveloper projects manually.
I've tried creating various WAR and JAR files, and then including those into my JDeveloper projects (Project Properties > Libraries > Add Jar/Directory) but the result is always the same:
javax.faces.FacesException: Problem in renderResponse: /test.jspx Not Found in ExternalContext as a Resource
In the simplest case, I've created a war file with only a single file in it:
/test.jspx
I've also tried a war with:
/public_html/test.jspx
Can anybody provide some pointers as to what it is I need to do here? Some things I've read suggest that I need to extend the classpath to include my test.war, but I can't find the appropriate setting for this in JDeveloper.
I'm using the latest version of JDeveloper 10g, and for the purposes of testing I'm using the embedded OC4J.
Thanks for any tips!
Alistair.

I haven't done this so far, but it should be possible.
One thing you should have in mind is this:
Every WAR is a separate Web Application and has its own context as well as context root.
If you'd like to reuse pages from another WAR file you need to know its context root at the bare minimum to reference to it.
--olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • Why use ojdeploy when building ViewController jar/war?

    Hi,
    It is known that ojdeploy is the recommended way to go when building/deploying an ADF app. The advantages are stated in many blog posts in the web.
    IMHO the most important reason for using ojdeploy instead of javac when creating an EAR is that javac CANNOT validate your BC. This means for example that if you refactor-rename an attribute of a VO and then commit only xml and not the related View Row Impl class, the build in your CI server will succeed if using only javac and fail if using ojdeploy (as it should be). So ojdeploy is the only way when building jars of Model projects if you want to be 100% sure the you have valid ADF code.
    The question is if the is a similar reason for using ojdeploy when building ViewController jars/wars??
    Thanx in advance for any feedback.
    Spyros Doulgeridis
    adfhowto.blogspot.com
    Edited by: spido on Jul 6, 2011 10:04 AM

    ojdeploy makes changes to your descriptors javac or jar does not know about. Actually nobody knows about the changes as you have to look into the war to see them. I'm not even sure that they are documented.
    Timo

  • Transport war-file to another server

    Hi,
    I'm facing a serious problem. I have created a JSP Application with different reports on one machine. One of the reports uses a calculation that was created in JDeveloper. After deploying everything I transport the war-File to another machine which has an oracle instance with the same name, the same users and same AW's. All JSP-pages work fine except the one with the calculation. It says 'No data'. What do I have to do to make it work? I don't want to create the whole JSP-application totally new on the new machine!
    The object_id in the calculation-xml seems to be referenced in the report-xml file. There it begins with 'PSR!'. What does that mean? Is it saved in the RDBMS and could not be found on the new machine?
    Any help appreciated,
    thanks,
    Lars

    Hi again,
    I did some tracing for the query. I don't understand much from the trace file, but there is one line which says: '*** ERROR: memory leak detected 316 ***'. I can't find anything concerning this memory leak. Does anyone have an idea what the reason is?
    What I also would like to know is, how a calculation, which is created in JDeveloper, is saved. Only as XML or are there also Metadata concerning the calculation stored in the database?
    Thanks,
    Lars

  • Need a way to request for a web resource (e.g .css, .gif file) using jpdk

    I am wondering if there is any way by which we can request for a web resource from portal to portlet provider.
    Currently if in order to display image I need to make direct request to portlet provider rather than routing the request through portal. As a result of this there is no session affiliation.
    My web resource can also be .jsp or .html file
    Any suggestions are welcome.

    Hi Hernando,
    It seems I haven't put my question correctly, probably following might help me explain you what I require:
    Portlets are added to portal page. Portlet content is served by portlet provider. So when you are viewing a portal page containing portlets in reality portal requests the portlet data from portlet-provider. So the actual request flow is: Request for a portal page, portal analyzes portlets on the page, and then request the portlet provider for the content associated with portlet. In the exact reversal process data flow is: portlet-provider generates the content which is passed to portal & then portal forwards it to end user.
    Now want something similar to happen with images (.gif files). But the problem is I am failing to create a link for this resource. I want the request for image to flow through portal very much the same way as its doing for the content. In other words I want to create a link which would inform portal to request for the resource to portlet provider. In this scenario portlet provider would pass the image to portal which would be forwarded to end user. Currently to get the images I am making direct request to portlet provider there by bypassing the request to flow through portal, which I do not want. Above all this resource can be anything a css file or a image or a .js file.
    So can you suggest me how to achieve it?

  • Class not found in web-inf/classes folder of war file within ear file

    Hi all,
              I am using Weblogic 8.1 sp4. I have a war file within an ear file. I am trying to deploy the war file with a few classes within its web-inf/classes folder, however when the classes are in that folder I consistently get a class not found exception when trying to instantiate them. If I package the classes in a jar file and then put that jar file within the web-inf/lib folder of the war, the classes are also not found.
              If I put these two classes in the app-inf/classes folder of the ear file, everything works as expected and the classes are found.
              Any ideas of why this is happening. This seems to be a very simple thing that should work, but appears to not be working at all.
              thanks in advance for any suggestions or ideas.

    Hi,
              This is a known limitation/issue with WL. There is also no way around this.
              Regards,
              LG

  • Deploying MBean with ear/jar/war files

    Hi!
    I'm working on a project where we plan to use jmx to manage our web(servlet) application.
    I have created a simple test MBean, and try to create the MBean with MBeanServer.
    When i try this, i got a ReflectionException(ClassNotFoundException).
    I have try to deploy the MBean together with the war file(inside ear), create
    a jar file and put it into myserver classpath(web console)...
    Nothing works...
    Audun

    On 30 Aug 2001 05:17:27 -0800, Audun <[email protected]> wrote:
    >
    I'm working on a project where we plan to use jmx to manage our web(servlet) application.
    I have created a simple test MBean, and try to create the MBean with MBeanServer.
    When i try this, i got a ReflectionException(ClassNotFoundException).
    I have try to deploy the MBean together with the war file(inside ear), create
    a jar file and put it into myserver classpath(web console)...It seems like if you want the MBeanServer to instantiate the MBean,
    then you have to put the MBean classes in the server classpath. This
    is probably the best approach, if you want a centralized admin MBean
    to do management from the WLS admin server across a domain.
    If you want an MBean instance per managed server, then you can have
    your application (during initialization) instantiate the MBean and
    register it with the MBeanServer. This approach lets you package your
    MBean classes with your application ear/war/jar.
    You might want a combination of both approaches. An admin MBean
    manages across the domain, and an MBean on each managed server listens
    for attribute change notifications from the admin MBean to deal with
    propagating configuration changes to the application running across
    the cluster. Unfortunately, I have not found any examples or
    documentation on how to get MBean invocations and notifications to
    work remotely. (You know it's possible because the WLS MBeans do it!)
    <hack> <hack> <hack>
    Ben

  • Regarding reading a jar/war file

    Hi,
    I have to read a war file. below is the code...
    String Name;
    Name="D://work//webapp//meta-inf//MANIFEST.MF";
    InputStream is= null;
    JarInputStream jis = null;
    is = Class1.class.getClassLoader().getResourceAsStream(Name);
    if (getClass().getClassLoader() == null)
    is = ClassLoader.getSystemClassLoader().getSystemResourceAsStream( Name );
    jis = new JarInputStream(is );
    but the InputStream is as value as null, and nullpointerexception is returned.
    Any help would be great.
    Thanks

    user10196088 wrote:
    String Name;
    Name="D://work//webapp//meta-inf//MANIFEST.MF";For one, you don't need the double slashes when they're that way. A single slash would be enough.
    InputStream is= null;
    JarInputStream jis = null;
    is = Class1.class.getClassLoader().getResourceAsStream(Name);That's not how getResourceAsStream() works. You're giving it a full filesystem path. Read through the Javadoc.
    if (getClass().getClassLoader() == null)
    is = ClassLoader.getSystemClassLoader().getSystemResourceAsStream( Name );
    }Why are you reassigning the inputstream here again (still with the wrong Name too).
    jis = new JarInputStream(is );Even if your faulty Name there did work, you'd expect a JarInputStream to read a manifest file? Which is not a jar file at all? The file extension .MF should've clued you to that already.
    Any help would be great.Well, you're pretty much doing everything wrong. Syntactically and logically.
    Also when posting code, put it between tags and it'll format nicely.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to create a war file of a project

    hi,
    I have a project, in my project i have used file to read & write data
    from file, i have used Ecllipse to build this project. now how i will
    create war file in Ecllipse & ho i will run it? IS there anyone who can
    help me? Please help me..
    With reagards
    Nahar

    hi,
    I m using following version of Ecllipse :lomboz-wtp-emf-gef-jem-eclipse-SDK-3.1.2-win32. With this how i will build war file of project? can u give me solution?
    With regards
    Nahar

  • Possible to create .app of .jar which links to another project's .jar?

    Hi,
    I have 2 Projects. One uses simple java and the other one uses java fx 2.2.3.The executable .jar of the simple java project needs to be linked with the data files and .jar of the java fx project.
    I have created a .app of the java fx project,but then the .app links with its jar.What I want is,the .app of the simple java project should refer to the jar of java fx.Is it Possible?
    Thanks

    Presumbly locking wouldn't work?Not really: Locking would mean that only one client/person could use the library using the Java wrapper. That in fact is the shortcoming I'd like to overcome by instantiate multiple processes.
    Thanks,
    Soeren

  • How to import one project file into another project file

    In previous versions I could take an 8 track project file and drag it into another project.  This doesn't work in version 10.  I am playing multi track stems for worship.  I create each song as it's own file then drag them together to create a set.  I don't mix down since I want to be able to add or subtract an instrument based on who may or may not be avaiable that day.  Has this feature been taken out of Version 10?  Can you do this in either Logic or Mainstage?
    Thanks

    <?xml version="1.0"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:output method="xml"/>
    <xsl:template match="/">
    <xsl:variable name="xml1" select="document('xml1.xml')"/>
    <xsl:variable name="xml2" select="document('xml2.xml')"/>
    <xsl:copy-of select="$xml1"/>
    <xsl:copy-of select="$xml2"/>
    </xsl:template>
    </xsl:stylesheet>

  • Re: Using simple java class in an .war file.

    Hi All,
    I have a simple question,
    Can I access an simple java class from a jsp file that I have written by putting it in the "classes" folder?? What entry should go in the web.xml file?
    Here is my directory structure:
    sample.war
    |
    ----test.jsp <file>
    |
    ----WEB-INF <folder>
    | |
    | ----classes<folder>
    | | |
    | | ----simpleJavaClass.class<file>
    | |
    | ----lib<folder>
    | |
    | ----web.xml
    I want to access the simpleJavaClass.class from the jsp test.jsp.
    Please suggest.
    Thanks and regards
    Ayusman

    It is possible to access the class in u r classes folder from u r jsp file.
    For example
    <%@ page import="com.test.service.PricingSolution,
    com.test.core.PhoneNumber
    %>
    <% PricingSolution solution = (PricingSolution)session.getAttribute("solution"); %>
    This is a simple scriplet example. You do the same using jstl tags also.
    --Shinoy

  • New useful web resources of ADF

    Hi,
    這裡整理了 ADF 相關的 blog list:
    https://wikis.oracle.com/display/jdeveloperandadf/Home
    這裡則是包含了超過450個 ADF 的 samples
    http://java.net/projects/smuenchadf/pages/ADFSamples
    Good for ADF developers.
    Best Regards,
    Leon

    Hi,
    you can bind the text of the components with your bundle.
    see the doc:
    http://docs.oracle.com/cd/E23943_01/web.1111/b31973/af_global.htm#CHDGCAFI
    and here are a resource strings for components
    http://docs.oracle.com/cd/E24382_01/apirefs.1112/e17497/toc.htm
    As far as I know yo can´t add a language.

  • Not useful if you can't share a file with another person

    Seems hard to test this beta if the users that I invite to
    share a file aren't allowed into the beta program. I would like to
    test this service with remote employees, but they are being refused
    access when I invite them. Are there more opening soon?

    Following up from my previous reply. The Share beta service
    has now been opened up and is accepting additional users.

  • I can't import prproj-files to another Project as before

    Hey,
    since I updated Premiere Pro I can't import projects like the way I want. I made a sequenz with some video, audio and effects: http://puu.sh/gEB8n/831acf7fa4.png
    but when I import it to a new project, it will only be shown as one long video and audio track: http://puu.sh/gEBV3/137853ad4d.png
    Why did this change and what can I do so that the project is imported as I saved it???

    Thank you, that helps me a lot.

  • Deploying a WAR file containing .jsp and servlets (also uses JNI)

    Deploying a WAR file containing .jsp and servlets (also uses JNI) on Windows 2000
    We had problems making it initially work on Sun ONE Web Server 6.0 Service Pack 1 because of lack of good iPlanet Web
    Server documentation on deploying such files.
    This is how we went about it:
    1) Make one of the servlet and JSP (must call another Java Class) web application (.war) examples work with iPlanet Web
    Server.
    C:\iPlanet\Servers\plugins\servlets\examples\web-apps\HelloWorld\HelloWorld.war
    and
    C:\iPlanet\Servers\plugins\servlets\examples\web-apps\jakarta-examples\jarkarta-examples.war
    a) Go to your Web Server Administration to deploy the application using GUI Web Application Deploy.
    (We usually use command line, we experienced some issues with the GUI version, but maybe it is fixed in the new Web Server
    service packs)
    From browser, open http://yourserver:8888/
    Click on Select a Server:Manage
    Click on Virtual Server Class
    Click on https-yourserver
    Click on the Web Applications Tab
    Then, click on Deploy Web Application
    Enter the following -
    WAR File On: Local
    WAR File Path: C:\iPlanet\Servers\plugins\servlets\examples\web-apps\jakarta-examples\jarkarta-examples.war
    Application URI: /jakarta
    Installation Directory: c:\iPlanet\examples\jakarta-examples
    By clicking on OK it deployed the application.
    I can verify that it is deployed by selecting "Edit Web Applications" and I see the following entry:
    Edit     /jakarta     c:/iPlanet/examples/jakarta-examples
    Also, c:/iPlanet/examples/jakarta-examples should have the similar following directory structure ..
    - [images]
    - [jsp]
    - index.html
    - [servlets]
    - [META-INF]
    - [WEB-INF]
    - [classes]
    - [tlds]
    - web.xml
    - index.html
    I restarted the server and accessed it using the following URL from my IE browser:
    http://yourserver/jakarta/index.html
    Then I clicked on the JSP Examples and tried some JSP examples.
    b) Alternatively, you can also deploy the same example from the command-line.
    Make sure C:\iPlanet\Servers\bin\https\httpadmin\bin\ is in your path
    wdeploy deploy      -u /jakarta
              -i yourserver
              -v https-yourserver
              -d c:\iplanet\examples\jakarta-examples
              C:\iPlanet\Servers\plugins\servlets\examples\web-apps\jakarta-examples\jarkarta-examples.war
    Restart the web server (I don't think you have to restart, but .. might as well).
    2)Deploy your web-application
    My Foo.war has the following structure.
    You can use jar tf Foo.war to look at the file contents from command line (assuming you have JDK installed and the bin is
    in your PATH)
    Foo.war
    - [META-INF]
    - [WEB-INF]
    - web.xml
    - [classes]
    - Bar.class
    - MoServlet.class
    - [lib]
    - ThirdParty.jar
    - [natlib]
    - extlib.dll
    - foo.jsp
    Here is our application scenario:
    foo.jsp uses a class call Bar (it is not in any package). The Bar java class uses classes from ThirdParty.jar. The
    ThirdParty.jar in turn uses JNI to load library extlib.dll. foo.jsp also calls /servlet/Mo as well.
    Now to deploy it, do the following:
    (a) Make sure that within foo.jsp, you import the Bar class ( I don't know why you have to do it, but if you don't you get
    JSP compile error).
    <%@page language="java" import="Bar" contentType="text/html"%>
    (b) Check web.xml (for Servlets)
    Within web.xml, make sure you have the following mappings:
    <servlet>
    <servlet-name> MoLink </servlet-name>
    <servlet-class> MoServlet </servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name> MoLink </servlet-name>
    <url-pattern> /servlet/Mo </url-pattern>
    </servlet-mapping>
    (c) Deploy the application
    Using command line:
    wdeploy deploy      -u /foo
              -i yourserver
              -v https-yourserver
              -d c:\iplanet\examples\foo-dir
              Foo.war
    (d) Change web-apps.xml file (for picking up ThirdParty.jar)
    It is located in
    C:\iPlanet\Servers\https-yourserver\config
    You should see something similar to following after successful deployment.
    <web-app uri="/foo" dir="C:\iPlanet\examples\foo-dir" enable="true"/>
    Change it to look like following to pick up the ThirdParty.jar
    <web-app uri="/foo" dir="C:\iPlanet\examples\foo-dir" enable="true">
    <class-loader reload-interval="300"
              classpath="C:/iPlanet/examples/foo-dir/WEB-INF/lib/ThirdParty.jar"
              delegate="false"/>
    </web-app>
    (e) Change jvm12.conf file (for JNI)
    It is located in
    C:\iPlanet\Servers\https-yourserver\config
    Add or uncomment the following lines:
    #optional - just helps with instrumenting the jsp and servlet code
    jvm.include.CLASSPATH=1
    jvm.enableDebug=1
    nes.jsp.enabledebug=1
    jvm.trace=7
    jvm.verboseMode=1
    #required for JNI
    java.compiler=NONE
    jvm.classpath=.;C:\JDK1.3.1\lib\tools.jar;C:/iPlanet/Servers/plugins/servlets/examples/legacy/beans.10/SDKBeans10.jar;
    jvm.option=-Xrs
    jvm.option=-Xnoagent
    # not sure if this is needed for iPlanet web server
    jvm.option=-Djava.library.path=C:/iPlanet/examples/foo-dir/natlib/ -Djava.compiler=NONE
    (f) Change magnus.conf file (for JNI)
    We HAD to change this file in order for ThirdParty.jar file to pick up the native C++ code using JNI. Apparently, the
    iPlanet Web Server doesn't pick the Environment Variable Path. Because when we had the directory containing the DLL just
    in Path, it didn't work.
    Change Extrapath directive:
    ExtraPath C:/iPlanet/Servers/bin/https/bin;${NSES_JRE_RUNTIME_LIBPATH}
    to
    ExtraPath c:/iPlanet/examples/foo-dir/natlib;C:/iPlanet/Servers/bin/https/bin;${NSES_JRE_RUNTIME_LIBPATH}
    (g) Apply changes from the Web Server Administration Console and Restart the web server.
    You should be able to see the behaviour that you want from your application.
    http://yourserver/foo/foo.jsp
    Hope this was helpful!!!
    Sonu

    Deploying a WAR file containing .jsp and servlets (also uses JNI) on Windows 2000
    We had problems making it initially work on Sun ONE Web Server 6.0 Service Pack 1 because of lack of good iPlanet Web
    Server documentation on deploying such files.
    This is how we went about it:
    1) Make one of the servlet and JSP (must call another Java Class) web application (.war) examples work with iPlanet Web
    Server.
    C:\iPlanet\Servers\plugins\servlets\examples\web-apps\HelloWorld\HelloWorld.war
    and
    C:\iPlanet\Servers\plugins\servlets\examples\web-apps\jakarta-examples\jarkarta-examples.war
    a) Go to your Web Server Administration to deploy the application using GUI Web Application Deploy.
    (We usually use command line, we experienced some issues with the GUI version, but maybe it is fixed in the new Web Server
    service packs)
    From browser, open http://yourserver:8888/
    Click on Select a Server:Manage
    Click on Virtual Server Class
    Click on https-yourserver
    Click on the Web Applications Tab
    Then, click on Deploy Web Application
    Enter the following -
    WAR File On: Local
    WAR File Path: C:\iPlanet\Servers\plugins\servlets\examples\web-apps\jakarta-examples\jarkarta-examples.war
    Application URI: /jakarta
    Installation Directory: c:\iPlanet\examples\jakarta-examples
    By clicking on OK it deployed the application.
    I can verify that it is deployed by selecting "Edit Web Applications" and I see the following entry:
    Edit     /jakarta     c:/iPlanet/examples/jakarta-examples
    Also, c:/iPlanet/examples/jakarta-examples should have the similar following directory structure ..
    - [images]
    - [jsp]
    - index.html
    - [servlets]
    - [META-INF]
    - [WEB-INF]
    - [classes]
    - [tlds]
    - web.xml
    - index.html
    I restarted the server and accessed it using the following URL from my IE browser:
    http://yourserver/jakarta/index.html
    Then I clicked on the JSP Examples and tried some JSP examples.
    b) Alternatively, you can also deploy the same example from the command-line.
    Make sure C:\iPlanet\Servers\bin\https\httpadmin\bin\ is in your path
    wdeploy deploy      -u /jakarta
              -i yourserver
              -v https-yourserver
              -d c:\iplanet\examples\jakarta-examples
              C:\iPlanet\Servers\plugins\servlets\examples\web-apps\jakarta-examples\jarkarta-examples.war
    Restart the web server (I don't think you have to restart, but .. might as well).
    2)Deploy your web-application
    My Foo.war has the following structure.
    You can use jar tf Foo.war to look at the file contents from command line (assuming you have JDK installed and the bin is
    in your PATH)
    Foo.war
    - [META-INF]
    - [WEB-INF]
    - web.xml
    - [classes]
    - Bar.class
    - MoServlet.class
    - [lib]
    - ThirdParty.jar
    - [natlib]
    - extlib.dll
    - foo.jsp
    Here is our application scenario:
    foo.jsp uses a class call Bar (it is not in any package). The Bar java class uses classes from ThirdParty.jar. The
    ThirdParty.jar in turn uses JNI to load library extlib.dll. foo.jsp also calls /servlet/Mo as well.
    Now to deploy it, do the following:
    (a) Make sure that within foo.jsp, you import the Bar class ( I don't know why you have to do it, but if you don't you get
    JSP compile error).
    <%@page language="java" import="Bar" contentType="text/html"%>
    (b) Check web.xml (for Servlets)
    Within web.xml, make sure you have the following mappings:
    <servlet>
    <servlet-name> MoLink </servlet-name>
    <servlet-class> MoServlet </servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name> MoLink </servlet-name>
    <url-pattern> /servlet/Mo </url-pattern>
    </servlet-mapping>
    (c) Deploy the application
    Using command line:
    wdeploy deploy      -u /foo
              -i yourserver
              -v https-yourserver
              -d c:\iplanet\examples\foo-dir
              Foo.war
    (d) Change web-apps.xml file (for picking up ThirdParty.jar)
    It is located in
    C:\iPlanet\Servers\https-yourserver\config
    You should see something similar to following after successful deployment.
    <web-app uri="/foo" dir="C:\iPlanet\examples\foo-dir" enable="true"/>
    Change it to look like following to pick up the ThirdParty.jar
    <web-app uri="/foo" dir="C:\iPlanet\examples\foo-dir" enable="true">
    <class-loader reload-interval="300"
              classpath="C:/iPlanet/examples/foo-dir/WEB-INF/lib/ThirdParty.jar"
              delegate="false"/>
    </web-app>
    (e) Change jvm12.conf file (for JNI)
    It is located in
    C:\iPlanet\Servers\https-yourserver\config
    Add or uncomment the following lines:
    #optional - just helps with instrumenting the jsp and servlet code
    jvm.include.CLASSPATH=1
    jvm.enableDebug=1
    nes.jsp.enabledebug=1
    jvm.trace=7
    jvm.verboseMode=1
    #required for JNI
    java.compiler=NONE
    jvm.classpath=.;C:\JDK1.3.1\lib\tools.jar;C:/iPlanet/Servers/plugins/servlets/examples/legacy/beans.10/SDKBeans10.jar;
    jvm.option=-Xrs
    jvm.option=-Xnoagent
    # not sure if this is needed for iPlanet web server
    jvm.option=-Djava.library.path=C:/iPlanet/examples/foo-dir/natlib/ -Djava.compiler=NONE
    (f) Change magnus.conf file (for JNI)
    We HAD to change this file in order for ThirdParty.jar file to pick up the native C++ code using JNI. Apparently, the
    iPlanet Web Server doesn't pick the Environment Variable Path. Because when we had the directory containing the DLL just
    in Path, it didn't work.
    Change Extrapath directive:
    ExtraPath C:/iPlanet/Servers/bin/https/bin;${NSES_JRE_RUNTIME_LIBPATH}
    to
    ExtraPath c:/iPlanet/examples/foo-dir/natlib;C:/iPlanet/Servers/bin/https/bin;${NSES_JRE_RUNTIME_LIBPATH}
    (g) Apply changes from the Web Server Administration Console and Restart the web server.
    You should be able to see the behaviour that you want from your application.
    http://yourserver/foo/foo.jsp
    Hope this was helpful!!!
    Sonu

Maybe you are looking for

  • Automation Data in Logic 8

    Hi, I apologise if this answer has been given ad nauseum ad infinitum in advance, but I am wondering how do I copy automation data along with a section of audio/midi? Moving it is easy enough but copying that data and pasting it at a particular point

  • Ios 4.2.x

    my applications wont start in iphone ios 4.2.1 is it that for old iphone packager? must we wait for new version of iphone packager? 

  • Unable to activate after Service Pack 2 for Microsoft Office 2010 (KB2687455) is deployed

    I'm having a very strange issue with deploying the "Service Pack 2 for Microsoft Office 2010 (KB2687455)". Here's what I see: Deploying to a Windows 7 SP1 system fully patched as of 7/29/2013 Using SCCM 2007 R3 Task Sequence installs Office Professio

  • Google Chrome He Kernel Panic on MBPr / OSX 10.9.3

    On both of my MacBook Pro Retinas (similar specs - 16GB RAM, biggest SSD HD, plenty of disk space) Google Chrome causes a kernel panic randomly, usually in the graphics driver (I assume based on call stack.) I know there were problems with this ackno

  • Netbeans debugging an applet

    I have a class called JScriptBroker which extends Applet. I have a class SearchPeaple that extends JScriptBroker and therefore is an applet. How do I tell netbeans it is an applet because it keeps bugging me the main method is missing? Allso I cannot