Jsp - jar - dll

Hi,
I'm using eclipse to develope a java application.
There is a dll that located in my Java project.
I have a class that uses this dll.
I createf a jar file out of this Java project.
When creating the Jar, there is a "jar file specification" window, in which we choose all of the files we want to be included in the jar. I selected there also that dll file that one of the classes has to use. The jar, as you cas understand, has to contain the dll file and knows how to use it.
My goal is to invoke a method in the jar thru jsp file. The jar is located in the "lib" folder of a web application. (also developed by eclipse).
Basically, the jar is running Ok being called thru the jsp.
The problem occures when the jsp call a method in the jar file, while this method is initializing an instance of a class that uses that dll (the dll I told about above).
jsp - > jar's method - > new class that uses the dll - > Exception
The dll's name if HASPJava, and the exception I get is:
java.lang.UnsatisfiedLinkError: no HASPJava in java.library.path
I inserted the HASPJava.dll into the "lib" folder in the web project, so that the jsp file should recognize it, but maybe I have to do it in another way. Maybe in the class path or something... maybe in the manifest of the jar...
Thanks for any advice.

sarcasteak wrote:
You need to add the dll file to the jar's manifest so it knows how to find it, otherwise it will assume it is at the root of the jar file.I'm sorry, but that's completley wrong. DLLs containing native code have to be on the path of the application, i.e. java.exe (in this case the java running Tomcat). You can add an extra path by specifiying -Djava.library.path as a VM arg when java is started.
Putting DLLs in jar files just won't work as the OS can't look inside jar files

Similar Messages

  • Can I do bundle and can distribute JMF library (jar, dll file)

    I say riki.
    I develop Software using a Swing.
    Please teach it about "Java Media Framework (JMF) 2.1.1 Binary Code License".
    http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/license.html
    I want to add a "Multimedia data delivery" function using a library of JMF.
    Can I do bundle and can distribute the following library (jar, dll file) of JMF
    with one's software?
    JMF2.1.1e/lib/
    jmf.jar
    jmacm.dll,jmam.dll,jmcvid.dll,jmdaud.dll,jmdaudc.dll
    jmddraw.dll,jmf.jar,jmfjawt.dll,jmg723.dll,jmgdi.dll
    jmgsm.dll,jmh261.dll,jmh263enc.dll,jmjpeg.dll,jmmci.dll
    jmmpa.dll,jmmpegv.dll,jmutil.dll,jmvcm.dll,jmvfw.dll
    jmvh263.dll
    * When I bundle it, I bundle up following readme.html.
    "JMF 2.1.1 Binary Code License"
    JMF2.1.1e/doc/readme.html
    * Moreover, I will describe the thing that my software uses the JMF library
    with readme.txt.
    Please answer.
    Edited by: riki99 on Jan 13, 2009 4:49 PM
    Edited by: riki99 on Jan 13, 2009 4:51 PM

    sorry. I am Japanese.
    "Binary Code License" cannot understand.
    I confirmed the Sun Japanese corporate , but they were the circumstances which cannot be judged.
    help me.

  • Servlet-jsp.jar file

    Hi
    iam new to use jstl.i wrote on tag handler (java) class when i am compiling it is not identifying any of javax.jspexception ,java.jsp.tagext.
    please help me what are all the jar files i have to have in class path or at any place and from where can i download them. i searched for servlet-jsp.jar,servlet-api.jar but i could not find anywhere in java.sun.com.any help is greatly appreciated
    thanks

    hi thanks for the reply. iam using tomcat 5.0
    server. from where can i down load those jar files
    please let me know
    what jar files are needed if iam using tomcat 5.0 Like I said, Tomcat 5 uses Tomcat 5: servlet-api.jar jsp-api.jar. They will be in the server's classpath someplace. Look around were you installed TC. I am away from my machine at the moment so I can't say for sure, but it might be common/lib or shared/lib, something like that...
    and
    if weblogic 8.0Dunno. Look around the file structure.
    Thanks for the help

  • Reloading a new JSP/Jar in Tomcat Server

    HI,
    I face these problems now.
    My environment is Oracle Jdev 3.2.3 for JSP development. Tomcat4.0.1 as Application server plugged into IIS webserver and Using oracle 8i as the database
    1. Whenever I update my JSP's and Application jar files, I copy from staging area to the deployment Tomcat Server application specific directories. The files are getting copied(overwritten). After that when i try to access my context/application in Tomcat server, my browser simply tries to browse and doesn't bring up the homepage of my application(say index.jsp).
    I need to stop the tomcat server and restart again. Then I get it.
    Is there anyone who came across this error and possibly help me to solve this?
    2. I have a JSP (say emplist) which shows all the employees details with empno, ename, depyno and sal as 4 columns.
    I have a up and down arrow images near the column names. Upon clicking it, it will call the same page and sort the column either desc or asc based on the previous display order. The column on which the Arrow button displayed is stored in session variable.
    This sorting in JSP perfectly works in JDeveloper and when i run using WebToGo Server. But when i deployed in Tomcat,This sorting doesn't work.
    The page simply stands. and when i go back and front browsing my other pages of application, i lose the position of the arrow button and it behaves unexpectedly by showing up in some other columns.
    is there any reason for this kind of behaviour?
    3. In my JSP files, I log the user actions into a text file in the server. IN WTG, I am able to specify the path of the output directory.
    But in Tomcat Server, by default the output files are getting created in C:/Tomcat/bin directory.
    I donno how to set an output directory, where the files will be written to and set an input directory from where my custom application properties files will be read from.
    Can anyone help me in telling in which file and what attributes, i need to set the input and output directory path in Tomcat Server?
    Can someone help me in giving suggestions or solutions for the above problems?
    Thanks a lot in advance.
    Thanks
    Hari

    I added a Context Tag in server.xml file in the Host Tag
    <Context docBase="struts-blank">
    </Context>and so following comes up in the Server Console Window
    INFO: Starting service Catalina
    Feb 7, 2005 11:06:30 PM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.2
    Feb 7, 2005 11:06:30 PM org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
            at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
    Caused by: java.lang.NullPointerException
            at java.util.Hashtable.put(Hashtable.java:396)
            at org.apache.catalina.core.StandardContext.resourcesStart(StandardConte
    xt.java:3707)
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:3
    934)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1003)
            at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1003)
            at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:420
            at org.apache.catalina.core.StandardService.start(StandardService.java:4
    50)
            at org.apache.catalina.core.StandardServer.start(StandardServer.java:196
    7)
            at org.apache.catalina.startup.Catalina.start(Catalina.java:541)
            ... 6 moreThanks in advance
    CSJakharia

  • How i can add jar or dll file to VM lib by code or installer

    iam working at project to interact with rs232 port using comm api
    to work program corectly i must insert some files(jar,dll,broperty files)
    to the VM by copy and past ...
    the problem is how i can do it by installer?
    iam will be very thanks if i get help

    Reader has to be installed on the user's machine and most folks have already installed a PDF reader. You do not supply the code, but provide a link to Reader at the Adobe site so folks can get it if needed. There are many sites that provide such. If you distribute the code yourself, you have to follow certain rules and get permission. I am not sure, but I do not think there is any issue with providing the link, though you may have to have permission to use the Adobe logo with the link.

  • How to install servlet and jsp on win xp?

    I am new in jsp and servlets. I would like to follow some jsp books and examples. The j2eesdk-1_4-dr-windows-eval.exe is already installed on my computer. I can write and run java codes. I downloaded the jsp-2_1-edr-api.zip file from http://java.sun.com. I extracted and moved to dir:\Sun\AppServer\ folder. When I search, I cannot see any jsp.jar file as some documents say, nor servlet.jar. How can I install jsp and servlet on windows xp? Any help? I will be very grateful.

    For starters, you would probably have better luck getting an answer on the general Java forums, since this a very general question- it is hard to see how this is specific to the Web Application Framework technology, except of course that it uses JSP and servlets naturally,
    But to try to help you here, more information is needed: from exactly where are you do\wnloading the file jsp-2_1-edr-api.zip and what is the product title of this file? I ask this since a general search of sun.com returns no evidence of the existence of this file.
    Also, what documents are being referred to here?
    Thanks

  • How install my jar+native package for JRE plugin

    I cannot figure out how to deploy a plugin consisting of a Java package that calls native code. The calling order is:
    Applet -> installed classes in lib/ext/my.jar -> DLL in C:\\WINDOWS\SYSTEM32
    I have gotten my plugin to work on Windows IE using the Microsoft JVM, and on Netscape using LiveConnect, and on Mac using MRJ. It also works with stand-alone Java applications. But I cannot get it to work with Applets when I am using the SUN JRE plugin for Java!
    I can call the classes in the JAR file but they can't loadLibrary( the DLL ).
    I put my JAR file in "C:\Program Files\JavaSoft\JRE\1.3.1_04\lib\ext".
    I put my DLL in "C:\WINDOWS\system32" which is in the "java.library.path".
    I was hoping that by installing the JAR file in the lib/ext folder that it would elevate its privelege and allow it to call loadLibrary().
    I don't want to have to sign each Applet. My plugin is installed using a digital certificate. Once installed it should give regular Applets the ability to call my native code.
    I am hoping to simply use a signed Java installer for the plugin that will copy my JAR file and DLL to the right places.
    If you use IE or Netscape without the SUN plugin, you can try my plugins here:
    http://www.softsynth.com/jsyn/plugins/
    http://www.javasonics.com/plugins/
    I'm tired of telling people to disable the SUN JRE plugin and enable the Microsoft JVM in order to use my plugins.....
    Any ideas?
    Thanks,
    Phil Burk

    I found a solution to my own problem. The problem was that classes in a JAR file installed in the "java.ext.dirs" path could not call System.loadLibrary() when called from an Applet.
    The solution was to explictly make use of the priveledged status of the extension classes as follows:
    Boolean result = (Boolean)
    AccessController.doPrivileged(new PrivilegedAction()
    public Object run()
    System.loadLibrary("mylib");
    return null;

  • Webutil - Config and Jar Files

    Hi List,
    I am using Webutil for the first time .I have downloaded demo from OTN .WHich has pll,olb,jar ,dll files.I have gone through the manual following few things are still not clear
    1.where to store/keep Webutil.config and how do we refer to that file .
    2.If Formsweb.confog required? are these both config files required and where to keep and how do we give path to these two files
    3.how to refer webutil.jar file.which path these jar files needed to be kept ? do we have to unjar or something ?
    Thanks in advance
    Regards
    Sripad

    1.where to store/keep Webutil.config and how do we refer to that file .
    A: you decide and configure the webutil required file location saccordingly. I would suggest to store the webutil directory in the forms90 directory for simplicity
    2.If Formsweb.confog required? are these both config files required and where to keep and how do we give path to these two files
    A: Forms basic knowledge: The formsweb.cfg file and the default.env file are used by Forms - unless configured otherwise - to define the runtim environment (default.env) and the application runtime commands (formsweb.cfg). Both files are required and available in the forms90/server directory
    3.how to refer webutil.jar file.which path these jar files needed to be kept ? do we have to unjar or something ?
    Don't unjar. Copy the jar file to forms90/java. This way you van reference it by its name
    archive= ... other files ..., webutil.jar
    Frank

  • JNI DLL on Windows XP crashes when lots of memory is available.

    I'm using the RXTX COMM jar/DLL for Windows XP (replacement for javax.comm API) from:
    http://www.rxtx.org/
    This uses JNI to talk to the Windows SerialPort/COM devices.
    When I use the stock binaries from the developer (built with GCC 2.95), they seem to work in all situations I test them.
    For a couple of reasons, I need to rebuild these libraries. I have a MinGW/MSYS environment with the current GCC release (gcc 3.4.2 (mingw-special)) and everything built fine with the provided makefiles.
    However, when I run some small tests with the resulting dll's, I seem some really weird behavior when i vary the Xms and Xmx value. I'm using Sun's JVM, 1.5.0_07.
    Using the default min/max: 2/64, everything works OK.
    But If I use 32/128, I get a JVM crash.
    If I set min/max to 128/128, it works.
    If I set min/max to 128/129, it crashes.
    It's almost as if when there is more memory available, then the JVM puts the DLL is put in a location that maybe is too "far" away. But AFAICT, there is no option to GCC for near/far calls on X86.
    In any case, I'm hoping someone has seen something like this before.
    Thanks,
    Pete

    FYI, here is the crash I get (hs_err_pid####.log)
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d7d6fec, pid=4972, tid=3956
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_07-b03 mixed mode)
    # Problematic frame:
    # V [jvm.dll+0x116fec]
    --------------- T H R E A D ---------------
    Current thread (0x0fd23458): JavaThread "Thread-5" [_thread_in_vm, id=3956]
    siginfo: ExceptionCode=0xc0000005, reading address 0x1034a2d1
    Registers:
    EAX=0x1034a2d1, EBX=0x0baccac0, ECX=0x0000deab, EDX=0x6d811570
    ESP=0x1118f31c, EBP=0x1118f320, ESI=0x00000000, EDI=0x00000000
    EIP=0x6d7d6fec, EFLAGS=0x00010246
    Top of Stack: (sp=0x1118f31c)
    0x1118f31c: 0fd23458 1118f390 6d796650 1034a2d1
    0x1118f32c: 0fd23458 0fd23458 0baccac0 6d746708
    0x1118f33c: 1034a2d1 0fd23458 0fd23458 6d74e589
    0x1118f34c: 1034a2d1 0fd23458 0fd23458 00000006
    0x1118f35c: 0fd23518 0fd23458 0baccac0 00f6826f
    0x1118f36c: 0fd23518 1034a2d1 1118f374 0baccac0
    0x1118f37c: 1118f39c 0baccd10 00000000 0baccac0
    0x1118f38c: 1118f3a0 1118f3bc 00f629fa 0bacccb8
    Instructions: (pc=0x6d7d6fec)
    0x6d7d6fdc: 7c e9 8b c6 5e c9 c3 55 8b ec 8b 45 08 56 33 f6
    0x6d7d6fec: 80 38 00 74 0f 8d 4d 0a 46 51 50 e8 cf fe ff ff
    Stack: [0x11090000,0x11190000), sp=0x1118f31c, free space=1020k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V [jvm.dll+0x116fec]
    V [jvm.dll+0xd6650]
    j gnu.io.RXTXCommDriver.<clinit>()V+9
    v ~StubRoutines::call_stub
    V [jvm.dll+0x86401]
    V [jvm.dll+0xdb172]
    V [jvm.dll+0x862d2]
    V [jvm.dll+0x78dbf]
    V [jvm.dll+0x77ca8]
    V [jvm.dll+0xa3657]
    V [jvm.dll+0x9ca03]
    C [java.dll+0x13d8]
    j java.lang.Class.forName0(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;+0
    j java.lang.Class.forName(Ljava/lang/String;)Ljava/lang/Class;+5
    j gnu.io.CommPortIdentifier.<clinit>()V+12
    v ~StubRoutines::call_stub
    V [jvm.dll+0x86401]
    V [jvm.dll+0xdb172]
    V [jvm.dll+0x862d2]
    V [jvm.dll+0x78dbf]
    V [jvm.dll+0x77ca8]
    V [jvm.dll+0xc6987]
    V [jvm.dll+0xc7624]
    V [jvm.dll+0xc750a]
    V [jvm.dll+0x81ae1]
    j com.foo.serial.SerialConnection.findTargetPort()Lgnu/io/CommPortIdentifier;+13
    j com.foo.serial.SerialConnection.run()V+33
    v ~StubRoutines::call_stub
    V [jvm.dll+0x86401]
    V [jvm.dll+0xdb172]
    V [jvm.dll+0x862d2]
    V [jvm.dll+0x8602f]
    V [jvm.dll+0xa0bcb]
    V [jvm.dll+0x10bdad]
    V [jvm.dll+0x10bd7b]
    C [msvcrt.dll+0x2a3b0]
    C [kernel32.dll+0xb683]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j gnu.io.RXTXVersion.nativeGetVersion()Ljava/lang/String;+0
    j gnu.io.RXTXCommDriver.<clinit>()V+9
    v ~StubRoutines::call_stub
    j java.lang.Class.forName0(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;+0
    j java.lang.Class.forName(Ljava/lang/String;)Ljava/lang/Class;+5
    j gnu.io.CommPortIdentifier.<clinit>()V+12
    v ~StubRoutines::call_stub
    j com.foo.serial.SerialConnection.findTargetPort()Lgnu/io/CommPortIdentifier;+13
    j com.foo.serial.SerialConnection.run()V+33
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x0fd2e630 JavaThread "Thread-8" [_thread_blocked, id=3672]
    0x0fd304e0 JavaThread "Thread-7" [_thread_blocked, id=4076]
    =>0x0fd23458 JavaThread "Thread-5" [_thread_in_vm, id=3956]
    0x0fd0b568 JavaThread "Image Fetcher 3" daemon [_thread_blocked, id=5632]
    0x0fc498a8 JavaThread "Image Fetcher 2" daemon [_thread_blocked, id=5364]
    0x0fc4fbc0 JavaThread "Image Fetcher 1" daemon [_thread_blocked, id=672]
    0x0fc235a0 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=4204]
    0x0fcead48 JavaThread "Thread-3" [_thread_in_native, id=5500]
    0x0fc244c0 JavaThread "Thread-2" [_thread_blocked, id=5772]
    0x0fc346f0 JavaThread "TimerQueue" daemon [_thread_blocked, id=676]
    0x0fc07a60 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=2268]
    0x0fda0660 JavaThread "AWT-Shutdown" [_thread_blocked, id=3200]
    0x0fd57ee8 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=184]
    0x0fd77730 JavaThread "AWT-Windows" daemon [_thread_in_native, id=3204]
    0x0f922780 JavaThread "Reader thread console tty" [_thread_in_native, id=5052]
    0x0f91f220 JavaThread "console tty" [_thread_blocked, id=2676]
    0x00326fe8 JavaThread "DestroyJavaVM" [_thread_blocked, id=3632]
    0x0f91fbd8 JavaThread "startlevel job thread" [_thread_blocked, id=2192]
    0x00f22e78 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=4580]
    0x00f21ae8 JavaThread "CompilerThread0" daemon [_thread_blocked, id=1552]
    0x00f20f28 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4080]
    0x00f17ce8 JavaThread "Finalizer" daemon [_thread_blocked, id=3124]
    0x00f16850 JavaThread "Reference Handler" daemon [_thread_blocked, id=5552]
    Other Threads:
    0x00ed8a88 VMThread [id=1964]
    0x00f20dd0 WatcherThread [id=3724]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 9088K, used 5454K [0x02f60000, 0x03930000, 0x03960000)
    eden space 8128K, 55% used [0x02f60000, 0x033c3960, 0x03750000)
    from space 960K, 99% used [0x03840000, 0x0392fff8, 0x03930000)
    to space 960K, 0% used [0x03750000, 0x03750000, 0x03840000)
    tenured generation total 121024K, used 125K [0x03960000, 0x0af90000, 0x0b160000)
    the space 121024K, 0% used [0x03960000, 0x0397f718, 0x0397f800, 0x0af90000)
    compacting perm gen total 9728K, used 9657K [0x0b160000, 0x0bae0000, 0x0f160000)
    the space 9728K, 99% used [0x0b160000, 0x0bace720, 0x0bace800, 0x0bae0000)
    No shared spaces configured.
    Dynamic libraries:
    0x00400000 - 0x0042f000      C:\dev\prgm_SerialTest\output\run.exe
    0x7c900000 - 0x7c9b0000      C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c8f4000      C:\WINDOWS\system32\kernel32.dll
    0x77dd0000 - 0x77e6b000      C:\WINDOWS\system32\ADVAPI32.DLL
    0x77e70000 - 0x77f01000      C:\WINDOWS\system32\RPCRT4.dll
    0x71ad0000 - 0x71ad9000      C:\WINDOWS\system32\WSOCK32.DLL
    0x71ab0000 - 0x71ac7000      C:\WINDOWS\system32\WS2_32.dll
    0x77c10000 - 0x77c68000      C:\WINDOWS\system32\msvcrt.dll
    0x71aa0000 - 0x71aa8000      C:\WINDOWS\system32\WS2HELP.dll
    0x77d40000 - 0x77dd0000      C:\WINDOWS\system32\USER32.DLL
    0x77f10000 - 0x77f57000      C:\WINDOWS\system32\GDI32.dll
    0x6d6c0000 - 0x6d857000      C:\dev\prgm_SerialTest\output\jre\bin\client\jvm.dll
    0x76b40000 - 0x76b6d000      C:\WINDOWS\system32\WINMM.dll
    0x6d280000 - 0x6d288000      C:\dev\prgm_SerialTest\output\jre\bin\hpi.dll
    0x76bf0000 - 0x76bfb000      C:\WINDOWS\system32\PSAPI.DLL
    0x6d690000 - 0x6d69c000      C:\dev\prgm_SerialTest\output\jre\bin\verify.dll
    0x6d300000 - 0x6d31d000      C:\dev\prgm_SerialTest\output\jre\bin\java.dll
    0x6d6b0000 - 0x6d6bf000      C:\dev\prgm_SerialTest\output\jre\bin\zip.dll
    0x6d4c0000 - 0x6d4d3000      C:\dev\prgm_SerialTest\output\jre\bin\net.dll
    0x6d4e0000 - 0x6d4e9000      C:\dev\prgm_SerialTest\output\jre\bin\nio.dll
    0x6d000000 - 0x6d167000      C:\dev\prgm_SerialTest\output\jre\bin\awt.dll
    0x73000000 - 0x73026000      C:\WINDOWS\system32\WINSPOOL.DRV
    0x76390000 - 0x763ad000      C:\WINDOWS\system32\IMM32.dll
    0x774e0000 - 0x7761d000      C:\WINDOWS\system32\ole32.dll
    0x73760000 - 0x737a9000      C:\WINDOWS\system32\ddraw.dll
    0x73bc0000 - 0x73bc6000      C:\WINDOWS\system32\DCIMAN32.dll
    0x73940000 - 0x73a10000      C:\WINDOWS\system32\D3DIM700.DLL
    0x74720000 - 0x7476b000      C:\WINDOWS\system32\MSCTF.dll
    0x7c9c0000 - 0x7d1d5000      C:\WINDOWS\system32\shell32.dll
    0x77f60000 - 0x77fd6000      C:\WINDOWS\system32\SHLWAPI.dll
    0x773d0000 - 0x774d2000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
    0x5d090000 - 0x5d127000      C:\WINDOWS\system32\comctl32.dll
    0x6d240000 - 0x6d27f000      C:\dev\prgm_SerialTest\output\jre\bin\fontmanager.dll
    0x71a50000 - 0x71a8f000      C:\WINDOWS\System32\mswsock.dll
    0x76f20000 - 0x76f47000      C:\WINDOWS\system32\DNSAPI.dll
    0x76fb0000 - 0x76fb8000      C:\WINDOWS\System32\winrnr.dll
    0x76f60000 - 0x76f8c000      C:\WINDOWS\system32\WLDAP32.dll
    0x76fc0000 - 0x76fc6000      C:\WINDOWS\system32\rasadhlp.dll
    0x662b0000 - 0x66308000      C:\WINDOWS\system32\hnetcfg.dll
    0x71a90000 - 0x71a98000      C:\WINDOWS\System32\wshtcpip.dll
    0x605d0000 - 0x605d9000      C:\WINDOWS\system32\mslbui.dll
    0x77120000 - 0x771ac000      C:\WINDOWS\system32\OLEAUT32.DLL
    0x101a0000 - 0x101b0000      C:\dev\prgm_SerialTest\output\jre\bin\rxtxSerial.dll
    0x73d90000 - 0x73db7000      C:\WINDOWS\system32\crtdll.dll
    VM Arguments:
    jvm_args: -Djava.util.logging.config.file=config/logging.properties -Xms128m -Xmx129m -Dlauncher.config.params=-Djava.util.logging.config.file=config/logging.properties
    -Xms128m
    -Xmx129m -Dlauncher.config.classpath=C:\dev\prgm_SerialTest\output\run.exe;C:\dev\prgm_SerialTest\output\libraries\commons-net-1.4.1.jar;C:\dev\prgm_SerialTest\output\libraries\core_util.jar;C:\dev\prgm_SerialTest\output\libraries\kxml.jar;C:\dev\prgm_SerialTest\output\libraries\osgi.jar;C:\dev\prgm_SerialTest\output\libraries\substance-button-shaper-pack.jar;C:\dev\prgm_SerialTest\output\libraries\substance-watermark-pack.jar;C:\dev\prgm_SerialTest\output\libraries\substance.jar;C:\dev\prgm_SerialTest\output\framework\framework.jar -Dlauncher.program=C:\dev\prgm_SerialTest\output\run.exe -Dborland.executable.path=C:\dev\prgm_SerialTest\output\run.exe exit
    java_command: <unknown>
    Launcher Type: generic
    Environment Variables:
    JAVA_HOME=C:\Program Files\Java\jdk1.5.0_07
    CLASSPATH=.;C:\Program Files\J-Integra\lib\jintegra.jar
    PATH=C:\Python24;C:\Cygwin\usr\local\bin;C:\Cygwin\bin;C:\Cygwin\bin;C:\emacs-21.3\bin;C:\Cygwin\usr\X11R6\bin;C:\Program Files\Java\jdk1.5.0_07\bin;C:\WINDOWS\system32;.
    USERNAME=pjflugst
    DISPLAY=:0.0
    OS=CYGWIN_NT-5.1
    PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 9, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows XP Build 2600 Service Pack 2
    CPU:total 1 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht
    Memory: 4k page, physical 1570800k(795748k free), swap 2207104k(1492344k free)
    vm_info: Java HotSpot(TM) Client VM (1.5.0_07-b03) for windows-x86, built on May 3 2006 01:04:38 by "java_re" with MS VC++ 6.0

  • JSP 2.0 with JDev 10g (9.0.5.0.0) preview

    Hi everybody,
    Is it possible to compile JSP 2.0 files with JDev 10g. If so, how ?
    I added a new library named JSP20 Runtime which points to the JSP jars from OC4J 10G (10.0.3). I added this library to my project in replacement of the default JSP Runtime library. It seems that something else must also be done to compile my JSP.
    Got any idea ?
    After this, to run my JSP, I must also figure how I can bypass the default embedded OC4J and use the preview version of OC4J 10.0.3. Will it be mandatory to deploy my project to the standalone OC4J ?
    Thank you

    tagdir is not a taglib attribute. Replace the tagdir attribute with the uri that points to the file something like this:
    <%@ taglib prefix="tags" uri="uri-where-file-is"/>
    Richard

  • Pre-compiling JSP's

    I am using build.cmd to create an ear and war of my application. I am
              having problems with the code below:
              @REM Create WAR file
              COPY src\dd\war\WEB-INF\* stage\WEB-INF
              COPY src\dd\war\WEB-INF\tlds\* stage\WEB-INF\tlds
              java -classpath %CLASSPATH%;./stage/WEB-INF/classes;./src/jsp;./stage
              weblogic.jspc -docroot src/jsp -d stage/WEB-INF/classes src/jsp/*/*.jsp
              jar cv0f stage/edeploy2WAR.war -C stage WEB-INF -C src/jsp .
              On the third line (the one that starts with java) - I get the following
              error:
              [jspc] warning: expected file C:\edeploy2\src\jsp\WEB-INF\web.xml not found,
              tag
              libraries cannot be resolved.
              [jspc] parsing /*/*.jsp:
              Error: translation of /*/*.jsp failed: java.io.FileNotFoundException:
              src\jsp\*\
              *.jsp (The filename, directory name, or volume label syntax is incorrect)
              Error: [jspc]: 1 file(s) failed:
              /*/*.jsp
              I am trying to pre-compile all the jsp's that are located in 10
              subdirectories under src/jsp/.. subdir
              I shouldn't need a web.xml file should I?
              Thanks,
              Matt
              

    I am now using the following command, which seems to work:
              java weblogic.jspc -compileAll -webapp src\jsp -d stage/WEB-INF/classes
              However, when it begins, it looks for WEB-INF in src\jsp - is there anyway
              to make it look in src\dd for WEB-INF?
              Secondly, I added src/WEB-INF/web.xml for my tag libraries, but now I get
              the following:
              [jspc] resolved taglib uri 'RDBMS' to taglib-location
              ../../src/dd/WEB-INF/tlds/
              rdbmstags6_0.tld:
              [jspc] looking for taglib uri RDBMS as resource /WEB-INF/RDBMS in Web
              Applicatio
              n root:
              [jspc] looking for taglib uri RDBMS as resource RDBMS in Web Application
              root:
              Error: translation of /dev/DB_ConfigurationLocation.jsp failed:
              weblogic.servlet
              .jsp.JspException: (line 5): Could not parse deployment descriptor:
              java.io.IOEx
              ception: cannot resolve 'RDBMS' into a valid tag library
              Error: [jspc]: 1 file(s) failed:
              /dev/DB_ConfigurationLocation.jsp
              Any ideas?
              Thanks,
              Matt
              "Mettu Kumar" <[email protected]> wrote in message
              news:[email protected]...
              > Matt,
              >
              > I use a batch file with following contents. While compiles all my jsp's
              > (including ones in subfolders).
              >
              > java weblogic.jspc -classpath %CLASSPATH% -compileAll -webapp
              > e:\bea\wlserver6.0sp1\config\mydomain\applications\DefaultWebApp_myserver
              >
              > Hope this helps you.
              >
              > Thanks,
              > Kumar.
              >
              > Matt Raible wrote:
              >
              > > How do I change this line?
              > >
              > > java -classpath %CLASSPATH%;./stage/WEB-INF/classes;./src/jsp;./stage
              > > weblogic.jspc -docroot src/jsp -d stage/WEB-INF/classes src/jsp/*/*.jsp
              > >
              > > Thanks,
              > >
              > > Matt
              > >
              > > "Mettu Kumar" <[email protected]> wrote in message
              > > news:[email protected]...
              > > > Matt,
              > > >
              > > > Why not use -webapp option which should fix your problem?
              > > >
              > > > Thanks,
              > > > Kumar.
              > > >
              > > > Matt Raible wrote:
              > > >
              > > > > I am using build.cmd to create an ear and war of my application. I
              am
              > > > > having problems with the code below:
              > > > >
              > > > > @REM Create WAR file
              > > > > COPY src\dd\war\WEB-INF\* stage\WEB-INF
              > > > > COPY src\dd\war\WEB-INF\tlds\* stage\WEB-INF\tlds
              > > > > java -classpath
              %CLASSPATH%;./stage/WEB-INF/classes;./src/jsp;./stage
              > > > > weblogic.jspc -docroot src/jsp -d stage/WEB-INF/classes
              src/jsp/*/*.jsp
              > > > > jar cv0f stage/edeploy2WAR.war -C stage WEB-INF -C src/jsp .
              > > > >
              > > > > On the third line (the one that starts with java) - I get the
              following
              > > > > error:
              > > > >
              > > > > [jspc] warning: expected file C:\edeploy2\src\jsp\WEB-INF\web.xml
              not
              > > found,
              > > > > tag
              > > > > libraries cannot be resolved.
              > > > > [jspc] parsing /*/*.jsp:
              > > > > Error: translation of /*/*.jsp failed:
              java.io.FileNotFoundException:
              > > > > src\jsp\*\
              > > > > *.jsp (The filename, directory name, or volume label syntax is
              > > incorrect)
              > > > > Error: [jspc]: 1 file(s) failed:
              > > > > /*/*.jsp
              > > > >
              > > > > I am trying to pre-compile all the jsp's that are located in 10
              > > > > subdirectories under src/jsp/.. subdir
              > > > >
              > > > > I shouldn't need a web.xml file should I?
              > > > >
              > > > > Thanks,
              > > > >
              > > > > Matt
              > > >
              >
              

  • jsp:directive-include fails when deployed to 10gAS (10.1.2)

    I am working on an ADF-Faces application (EA17) but am struggling with some issues that only appear when we deploy the application. One is an IllegalStateException that I mention in an earlier posting and an other is that the < jsp: directive-include > tag is supported in our JDeveloper release but when we deploy it the pages will not display and we see from our error log that the < jsp: directive-include > is not supported.
    I did a find . -name "jsp*jar" in the $ORACLE_HOME folder of the deployment system and my local JDeveloper and my local $ORACLE_HOME and in all cases came up with the same jsp-el-api.jar and jsp-api-2.0.jar files (3086 and 49510 bytes respectively) Not being a J2EE expert I'm a little confused as to what is going on. If the same JSP jars are in both cases why does it work on my local JDeveloper but not on the server?
    Thanks, Mark

    OC4J 10.1.2 is a J2EE 1.3 server, so it is not JSP 2.0 - it's JSP 1.2. You don't deploy jsp-api-2.0 JARs into a J2EE server - it already has its own version of JSP.
    OC4J 10.1.3 is a J2EE 1.4 server, which includes JSP 2.0. Is your local JDev 10.1.3 or 10.1.2?

  • Jsp drivers

    I have a problem, I can't get the ODBC-JDBC bridge to work, the error says: SQLException: No suitable driver
    But I can't find a suitable driver. Any ideas?

    thanks for the help!
    Unfortunately it didn't help, now I get this error:
    :\JDK13~1.1_0\jre\bin\java -cp "C:\netbeans\modules\jsp-tomcat.jar;C:\netbeans\modules\jsp.jar;C:\netbeans\modules\ext\jasper.jar;C:\netbeans\modules\ext\webserver.jar;;C:\netbeans\lib\ext\xerces.jar;;C:\jsp\sampledir\WEB-INF\classes;C:\jsp\sampledir;C:\jsp\sampledir\WEB-INF\classes;C:\jsp\system;C:\netbeans\beans\TimerBean.jar;C:\netbeans\modules\ext\AbsoluteLayout.jar;C:\netbeans\modules\ext\servlet-2.2.jar;C:\netbeans\system" org.netbeans.modules.web.tomcat.WebAppMain "C:\jsp\system\tomcat\server.xml" "C:\jsp\system\tomcat"
    java.net.BindException: Address in use: JVM_Bind
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:452)
    at java.net.ServerSocket.<init>(ServerSocket.java:170)
    at java.net.ServerSocket.<init>(ServerSocket.java:121)
    at org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:97)
    at org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java:239)
    at org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnector.java:188)
    at org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
    at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
    at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
    at org.netbeans.modules.web.tomcat.WebAppMain.main(WebAppMain.java:37)
    Starting tomcat. Check logs/tomcat.log for error messages
    FATAL:java.net.BindException: Address in use: JVM_Bind
    Do you know what's wrong?

  • Running JSP applications on Oracle iAS (release 1.0.0.0.0) on HP unix

    Does anyone know how to run JSP applications on iAS (1.0.0.0.0) on Unix ? I want to know where to put all the .jsp, .jar, .class, .gif, .html files and how to configure ? If someone knows of any document on Metalink please pass me the doc id asap.
    Thanks

    This will depend on what specific JSP features you are using - you could look at installing OC4J standalone (install into a separate directory as it will not impact any existing Oracle installation).

  • Problem encountered  while using jsp tablib in flex

    Hi all,
    We are used jsp tab libs embbed in Flex2.0 and iam using
    jdeveloper .
    .plz help me in this regard
    Getting the error:
    Error(2): java.io.FileNotFoundException :
    D:\jdevstudiobase1013\jdev\mywork\testtaglib\testtaglib\public_html\FlexTagLib
    (The system cannot find the file specified)
    1. Flex.jsp
    <%@ taglib uri="FlexTagLib" prefix="mm" %>
    <mm:mxml>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns="*">
    <mx:Text label="Flex World">
    </mx:Application>
    </mm:mxml>
    2.we copied the jar file into the particular dir
    <app-dir>\WEB-INF\lib\
    flex-bootstrap.jar
    flex-boorstrap-jsp.jar
    AND
    <app-dir>\WEB-INF\flex\jars:
    flex-webtier.jar
    flex-webtier-jsp.jar
    3. we copied the taglib into the web.xml
    The WEB-INF\web.xml contains:
    <taglib>
    <taglib-uri>FlexTagLib</taglib-uri>
    <taglib-location>/WEB-INF/lib/flex-bootstrap-jsp.jar</taglib-location>
    </taglib>
    plz help me very urgent sorry for my poor
    english...................
    thanks..

    Hi!
    Can you tell me how you set the Classpath? I have the same problem but i dont know how to set correctly the path variables.

Maybe you are looking for

  • Actual cost are not updating in prodcutcost collectors ( KKF6N) - Variances

    Hi SAP's We are facing the problem with the Variance calculation for product cost collectors. The issue is When we are calulating the Variances for prodcut cost collectors the actual costs are not ( For few materials of BOM) updating. Because of thes

  • Persdef.model

    does Jdeveloper 11g r2 produce xml file under persdef.model structure of all entity bean? because i have two entities the employee and department but only employee.xml is generated and does it affects why the data bindings cannot find the departments

  • OAS 4.0.8.2 and External HTTP Listener (NES)

    We're about to upgrade to OAS 4.0.8.2 and want to find out which version of Netscape Listener that this OAS version is certified for (we used NES 3.62 for OAS 4.0.8.1) Thanks.

  • Finding the LCD with multiple numbers

    public static void main(String[] args)           Scanner keyboard= new Scanner(System.in);           System.out.print("Input how many numbers are going to be in this array ::");              int[] a = new int[keyboard.nextInt()];           for(int i=

  • Sun On-line Account authentication failed.

    I have many Solaris 10 SPARC systems that are no longer able to get patched. I use the same registration account for all my Solaris 10 systems. It is the same account I am using to post this message. This account has worked before but for some reason