Servlet classpath: multiple path

Is it possible to have multiple path in a servlet classpath (not in the java
          class path) ?
          How do you do it. ?
          Jean.
          

Yes, it is possible.
          1) on NT, use ";" as classpath seperator.
          2) on UNIX, use ":" as classpath seperator.
          Cheers - Wei
          Jean Kunz <[email protected]> wrote in message
          news:8b531n$q4m$[email protected]..
          > Is it possible to have multiple path in a servlet classpath (not in the
          java
          > class path) ?
          >
          >
          > How do you do it. ?
          >
          > Jean.
          >
          >
          

Similar Messages

  • Webapp: ejb jars on servlet classpath

              I have created a WebApplication (using WebLogic 5.1 sp8) that uses
              the directory structure documented in http://www.weblogic.com/docs51/classdocs/webappguide.html#dirstruct
              (with a web-inf/classes for servlet classes and web-inf/lib for
              ejb jars)
              According to http://www.weblogic.com/docs51/classdocs/API_ejb/EJB_deployover.html#1056431
              , the public interface of my ejb's should be exported to the weblogic
              classloader so that my servlet can use these classes when doing
              remote calls.
              When I run the weblogic console and check my web application's
              servlet classpath however, I see that all jar files in web-inf/lib
              have been included. So now my servlets have access to not only
              the remote interface, but the entire implementation of my ejb's!
              This is not what I want, or what should happen according to the
              documentation.
              Is there something I am doing wrong, is this a weblogic bug, or
              is the documentation just wrong?
              Luke Hutteman
              Bank of America
              

    In 5.1, ejb classloader will export public interfaces to weblogic
              classloader automatically. And servlet can access those classes since
              weblogic classloader is the parent of servlet classloader.
              So, you do not need to pack your ejbs in jar and put them in WEB-INF/lib.
              However, for application exception classes and other classes used by your
              ejb, you have to pack them, either put them in weblogic.class.path or
              WEB-INF/classes or WEB-INF/lib (as jar file)
              My 2 cents.
              Cheers - Wei
              "Luke Hutteman" <[email protected]> wrote in message
              news:[email protected]...
              >
              > I have created a WebApplication (using WebLogic 5.1 sp8) that uses
              > the directory structure documented in
              http://www.weblogic.com/docs51/classdocs/webappguide.html#dirstruct
              > (with a web-inf/classes for servlet classes and web-inf/lib for
              > ejb jars)
              >
              > According to
              http://www.weblogic.com/docs51/classdocs/API_ejb/EJB_deployover.html#1056431
              > , the public interface of my ejb's should be exported to the weblogic
              > classloader so that my servlet can use these classes when doing
              > remote calls.
              >
              > When I run the weblogic console and check my web application's
              > servlet classpath however, I see that all jar files in web-inf/lib
              > have been included. So now my servlets have access to not only
              > the remote interface, but the entire implementation of my ejb's!
              > This is not what I want, or what should happen according to the
              > documentation.
              >
              > Is there something I am doing wrong, is this a weblogic bug, or
              > is the documentation just wrong?
              >
              > Luke Hutteman
              > Bank of America
              >
              

  • Reloadable Servlet Classpath & JSP

    Is there any way to have the reloadable servlet classpath
              (weblogic.httpd.servlet.classpath) passed to JSP compiler? I will explain
              my problem as this may help you understand the question. I have my
              reloadable servlet classpath configure like this:
              weblogic.httpd.servlet.classpath=c:\weblogic\myserver\servlets. In addition
              to Servlets, this directory contains a number of JavaBeans that are used by
              my JSP pages. When WebLogic attempts to compile the JSP file, I receive
              errors because the compiler can't find the beans located in my
              weblogic.httpd.servlet.classpath. I can fix the problem by clearing the
              weblogic.httpd.servlet.classpath property and putting this directory in the
              system classpath. However, when I do this I need to stop and restart the
              WebLogic server everytime I change a servlet or bean.
              I've used both IBM WebSphere and J/Run. Both of these products feed the
              reloadable servlet classpath to the JSP compiler.
              Thanks for any help.
              Tom McAlees
              [email protected]
              

    Thomas,
              I think they might- but only if they are in the servlet classpath (possibly the
              weblogic.class.path too).
              Even so, the reason the servlets and JSP's reload is because the JPSServlet and
              servlet engine checks to see the servlet code or JSP code is new. This doesn't
              happen with your beans, so they ~probably~ won't get reloaded.
              -rrc
              homas McAlees wrote:
              > Prasad -
              >
              > I am aware of this solution, but it differs from the behavior I am used
              > to with IBM WebSphere and Aliar J/Run. I am trying to find out why I
              > can't have my Java Beans reload on modification just like my Servlets.
              > I've been developing this way for the past 9 months with other
              > Servlet/JSP engines and it really helps speed up development. The only
              > reason this seems to be a problem with WebLogic is the reloadable
              > classpath is not placed on the command line when the JSP compiler is
              > invoked. If I invoke the JSP compiler manually from the command line, I
              > can include the reloadable servlet classpath and things work o.k.
              >
              > Tom
              >
              > In article <[email protected]>, [email protected]
              > says...
              > > Tom,
              > > You should have your beans in weblogic/classes directory and if you want
              > > reload on modifying the servlets, the servlet classes shouldn't be in
              > > weblogic/classes. This way you don't have to restart the server whenever the
              > > servlets or jsp changes. If you have further questions please let me know.
              > >
              > > Thanks
              > > Prasad
              > >
              > > NA wrote:
              > >
              > > > Is there any way to have the reloadable servlet classpath
              > > > (weblogic.httpd.servlet.classpath) passed to JSP compiler? I will explain
              > > > my problem as this may help you understand the question. I have my
              > > > reloadable servlet classpath configure like this:
              > > > weblogic.httpd.servlet.classpath=c:\weblogic\myserver\servlets. In addition
              > > > to Servlets, this directory contains a number of JavaBeans that are used by
              > > > my JSP pages. When WebLogic attempts to compile the JSP file, I receive
              > > > errors because the compiler can't find the beans located in my
              > > > weblogic.httpd.servlet.classpath. I can fix the problem by clearing the
              > > > weblogic.httpd.servlet.classpath property and putting this directory in the
              > > > system classpath. However, when I do this I need to stop and restart the
              > > > WebLogic server everytime I change a servlet or bean.
              > > >
              > > > I've used both IBM WebSphere and J/Run. Both of these products feed the
              > > > reloadable servlet classpath to the JSP compiler.
              > > >
              > > > Thanks for any help.
              > > >
              > > > Tom McAlees
              > > > [email protected]
              > >
              > >
              Russell Castagnaro
              Chief Mentor
              SyncTank Solutions
              http://www.synctank.com
              Earth is the cradle of mankind; one does not remain in the cradle forever
              -Tsiolkovsky
              

  • 3-1674105521 Multiple Paths error while using Bridge Table

    https://support.us.oracle.com/oip/faces/secure/srm/srview/SRViewStandalone.jspx?sr=3-1674105521
    Customer Smiths Medical International Limited
    Description: Multiple Paths error while using Bridge Table
    1. I have a urgent customer encounterd a design issue and customer was trying to add 3 logical joins between SDI_GPOUP_MEMBERSHIP and these 3 tables (FACT_HOSPITAL_FINANCE_DTLS, FACT_HOSPITAL_BEDS_UTILZN and FACT_HOSPITAL_ATRIBUTES)
    2. They found found out by adding these 3 joins, they ended with circular error.
    [nQSError: 15001] Could not load navigation space for subject area GXODS.
    [nQSError: 15009] Multiple paths exist to table DIM_SDI_CUSTOMER_DEMOGRAPHICS. Circular logical schemas are not supported.
    In response to this circular error, the developer was able to bypass the error using aliases, but this is not desired by client.
    3. They want to know how to avoid this error totally without using alias table and suggest a way to resolve the circular join(Multiple Path) error.
    Appreciated if someone can give some pointer or suggestion as the customer is in stiff deadline.
    Thanks
    Teik

    The strange thing compared to your output is that I get an error when I have table prefix in the query block:
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Master table "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
    Starting "SYSTEM"."SYS_IMPORT_FULL_01":  system/******** DUMPFILE=TMP1.dmp LOGFILE=imp.log PARALLEL=8 QUERY=SYSADM.TMP1:"WHERE TMP1.A = 2" REMAP_TABLE=SYSADM.TMP1:TMP3 CONTENT=DATA_ONLY
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    ORA-31693: Table data object "SYSADM"."TMP3" failed to load/unload and is being skipped due to error:
    ORA-38500: Unsupported operation: Oracle XML DB not present
    Job "SYSTEM"."SYS_IMPORT_FULL_01" completed with 1 error(s) at Fri Dec 13 10:39:11 2013 elapsed 0 00:00:03
    And if I remove it, it works:
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Master table "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
    Starting "SYSTEM"."SYS_IMPORT_FULL_01":  system/******** DUMPFILE=TMP1.dmp LOGFILE=imp.log PARALLEL=8 QUERY=SYSADM.TMP1:"WHERE A = 2" REMAP_TABLE=SYSADM.TMP1:TMP3 CONTENT=DATA_ONLY
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    . . imported "SYSADM"."TMP3"                             5.406 KB       1 out of 2 rows
    Job "SYSTEM"."SYS_IMPORT_FULL_01" successfully completed at Fri Dec 13 10:36:50 2013 elapsed 0 00:00:01
    Nicolas.
    PS: as you can see, I'm on 11.2.0.4, I do not have 11.2.0.1 that you seem to use.

  • Photoshop file exports multiple paths to illustrator

    I'm brand new to illustrator but have noticed than when i place a Photoshop tiff file, it sometimes imports multiple paths with the image -- some of which
    do not show up in photoshop.   For instance, I have a file with two objects with paths, I crop to one image in photoshop, then save.  When I import that single image cropped file to illustrator, FOUR paths show up instead of one -- i.e. I have the two paths of the original photoshop image plus duplicates of the same, all in the same file.   I've noticed this happens on all my files that originally had multiple images even though they had been cropped to just a single image.
    Anyone know how to fix this, or better yet, what the heck is going on?

    We did not get your screenshot, use the camera icon left of the smiley face.
    Did you try Milleniums suggestions, you may have cropped this adn have a clipping path that is off the canvas taht you are not seeing.
    To flush this out, I would select the good  path you have in photoshop, cut this, delete all paths in your phothsop document, then paste the path in your clipboard, name it, set it to your clipping path.
    I personally never use clipping paths for final, as they make my knockouts look unnatural, and too hard edged. I mask my layers(in a grouped set), cause then I am getting my background knockout out at 300 dpi (bitmapped CT resolution), rather than a razor sharp 3386 dpi(LW resolution).  You may be working on a web project so this may not affect you as much, but just wanted to note this finer point as many people nowadays never worked on a Scitex/Crossfield/Hell so don't realize this is what is happening.

  • Problems in Classpath and Path 's variables setting in Windows XP

    Here is my drive structure in my PC:
    1. hard drive (primary slave, Partition: C and E where E boot Windows XP
    2. Hard drive 2 (Primary Master), Drive letter: D
    Although my default boot directory is E (for strange reason, i like to keep
    that way for now), I installed other programs in C and D drive dues drive
    space factors.
    So My java sdk1.4.2_02 has been installed in C:\Java_home directory, the
    following is my Classpath and Path values:
    (CLASSPATH Variables)
    Classpath=.;
    c:\java_home\j2sdk1.4.2_02;
    e:\Program Files\java\j2re1.4.2_02;c:\java_home; c:\java_home\j2sdk1.4.2_01
    \lib;e:\Program Files\java; e:\Program Files\java web start;c:\java_home\j2
    sdk1.4.2_02\jre\lib;c:\java_home\java\petstore1.3.2\src\lib\jst1;
    (PATH variables)
    c:\java_home\j2sdk1.4.2_01\bin;C:\java_home;e:\Pr
    ogram Files\java;c:\java_home\jdk1.4.2_2\bin;E:\Program Files\Oracle\jre\1.
    1.8\bin;E:\WINDOWS\system32;E:\WINDOWS;E:\WINDOWS\system32\WBEM;E:\
    Program Files\Support Tools\;
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
    Path=D:\oracle\ora92\bin;E:\Program Files\Oracle\jre\1.3.1\bin;
    My Fruit txt and Fruit.java file is located in my c:\java_home folder
    when I try to compile the my file as <c:\java_home\javadoc Fruit.java), it
    gives me the error message<'javac' is not recognized as an internal or
    external command,operable program or batch file.>
    however, I can compile the Fruit file from C:\java_home\jdk1.4.2_2
    \bin\javadoc Fruit.java; with out any problem of course I have to copy the
    Fruit.java file at the C:\java_home\jdk1.4.2_2\bin\javadoc Fruit.java
    folder.
    I am requesting u please help or advise me to correct my mistakes
    Ely
    [email protected]

    I must confess that I am totally unable to understand what your PATH is set to. The error that you see,
    <'javac' is not recognized as an internal or external command,operable program or batch file.>
    is due to a missing or incorrectly set PATH. It is used by Windows to find executable file (like javac.exe) that you have added to the computer. Item #5 on this page gives you instructions on how to set it: http://java.sun.com/j2se/1.4.2/install-windows.html
    As for the setting of the CLASSPATH, you seem to have a number of different versions of java (1.4.2_02, 1.4.2_01, 1.4.2_2, and 1.1.8) and I doubt that these are all valid. You are also using an unusual syntax C:\java_home\jdk1.4.2_2\bin\javadoc Fruit.java and I wonder if that is really C:\java_home\jdk1.4.2_2\bin\javadoc\Fruit.java? I think the best action is to point you to Sun's instructions and information about setting and using the CLASSPATH.
    The CLASSPATH is a set of pointers that is used by Java to find the files that YOU (not Java) create and want compiled and/or run.
    Setting the Classpath:
    http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/classpath.html
    [NOTE: always start your classpath with ".;" which means the current directory. See my classpath, below]
    How Classes are Found:
    http://java.sun.com/j2se/1.4.2/docs/tooldocs/findingclasses.html
    Examples:
    This is my path
    PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\BATCH;C:\J2SDK1.4.2_01\BIN;C:\PROGRA~1\UTILIT~1;C:\PROGRA~1\WIN98RK
    This is my classpath
    CLASSPATH=.;C:\mjava;C:\mnrx;C:\NetRexx\lib\NetRexxC.jar;C:\j2sdk1.4.2_01\lib\tools.jar;C:\NetRexx\NrxRedBk

  • Classpath and path of jdkjdk-1_5_0_09

    hi
    i have installed c:\progrmaefiles\java\ jdk-1_5_0_09 on my pc but i m not able set systemenvironment variable like PATH and CLASSPATH .i tried lot of option but it does not work so plz anyone help me out.i m using windows Xp operating system. when i m running any java programe i m getting error " Exception in thread "main" java.lang.NoClass.DefFoundError.plz hep me out.
    thx manu

    That's CLASSPATH, not PATH.
    Without seeing your exact directory structure and the exact command you're runing, nobody can give you specific advice. Here are some explanations of how it works, though.
    Javapedia: Classpath
    How Classes are Found
    Setting the class path (Windows)
    Setting the class path (Solaris/Linux)
    Understanding the Java ClassLoader
    java -cp .;<any other directories or jars> YourClassNameYou get a NoClassDefFoundError message because the JVM (Java Virtual Machine) can't find your class. The way to remedy this is to ensure that your class is included in the classpath. The example assumes that you are in the same directory as the class you're trying to run.
    javac -classpath .;<any additional jar files or directories> YourClassName.javaYou get a "cannot resolve symbol" message because the compiler can't find your class. The way to remedy this is to ensure that your class is included in the classpath. The example assumes that you are in the same directory as the class you're trying to run.

  • THIS SUCKS!!! Re:Multiple paths in FILE_DATASTORE path attribute

    After 6 hours of struggle I managed to solve my problem. Everything was due to a stupid mistake (or incomplete documentation of intermediaText) on Oracle's part:
    1. Pasted from Oracle8i interMedia Text Reference - Datastore Objects:
    You can specify multiple paths for path, with each path separated by a colon (:). File names are stored in the text column in the text table. If path is not used to specify a path for external files, Oracle requires the path to be included in the file names stored in the text column.
    2. Pasted from Oracle intermedia Text Manager online help:
    Multiple paths can be specified for
    path, with each path separated by a colon (:).
    This is wrong at least on Windows based OS's. Fortunately, when everything else failed I tried with a SEMI-COLON (;) and worked. Go figure...

    Please ask questions (or post statements) about Oracle Text (formerly interMedia text) in the Oracle text forum. Oracle text experts monitor the Oracle Text forum, you will get a quicker, more expert answer there.

  • Export multiple paths to illustrator

    Photoshop CS5
    Is there really no way to export multiple paths, on multiple vector layers, to Illustrator in one go?

    What did you do to get that option to be available? I don't see it. All I see, in the "Export paths to file" dialogue is the path I currently have selected. But I have many vector layers I want in Illustrator (which I've already one by one copy/pasted into Illustrator, but I still want to know).

  • Best way to achieve multiple paths with quizzes using Captivate 6?

    I’m looking for the best way to achieve multiple paths and quizzes using Captivate 6.
    Here is the scenario: The learner watches general slides 1 – 3 and then chooses between Path A, Path B, or both paths combined.  If they choose Path A then they watch the A portion only and take the A Quiz only. Same happens for Path B and for the two paths combined. The learner would only have to go one path to complete the course.
    What I’m finding is Captivate only has one Quiz results page (even if you create two separate quizzes, it merges them). I was trying to avoid having three separate projects for the same module to keep it simple. I see if I have three separate projects I could use the Multi-SCO Packager to merge them for use on my Moodle LMS. But wait, I don't have the elearning suite, so I don't have access to the Multi-SCO Packager...
    My question is: What is the best approach way to accomplish this goal? Any recommendations?
    Message was edited by: austingina

    Captivate 6 has Branch Aware quizzing.  Turn on that option in Quiz Settings and then your Quiz Results page should only show results for the branch your user visits.

  • Pen Tool Multiple Path Selection

    Just upgraded to CC 2014. I frequently remove photo backgrounds by creating paths with the pen tool. I have always been able to create multiple paths for areas that I want to delete using the pen tool, then upon completion, right click, choose "Make Selection" and then delete all the areas at once. Since upgrading, only the last path region is selected using this method and the other areas disappear. Any help would be greatly appreciated, have been going crazy trying to figure this out.

    That particular aspect should work the same as previous versions.  When you make the first path, click outside that path in the Paths panel, and then click back on it. You only need to do this if you have left the previous path open (not closed it by joining the two ends.
    Continue using the pen tool and the new path segments will be there in the same path.
    You need to be aware of the Pen tool options, like Combine, Subtract, Intersect. 
    If you use that path for making a selection for instance, and then use the Pen tool again, you will lose the first path.  A quick and easy way to save paths is to drag them to the New Path icon at the bottom of the Paths panel.
    This graphic might be of help.

  • Avoid multiple paths rpd part II

    Hi,
    after resolved "Multiple paths" problem, i explain you subsequent error message that Administration tool gives me.
    I have following mapping:
    I have following tables:
    Entity (DIMENSION) - Entity_Relationship (DIMENSION) - HFM_Inventory (FACT TABLE) - HFM_Inventory (ALIAS) (FACT TABLE), HFM_Financial (FACT TABLE), HFM_Marketing (FACT TABLE) - HFM_Receivables (FACT TABLE).
    My mapping in Logica Business Model is:
    Entity -> Entity_Relationship
    Entity -> HFM_Inventory
    Entity -> HFM_Financial
    Entity -> HFM_Marketing
    Entity -> HFM_Receivables
    Entity_Relationship -> HFM_Inventory (ALIAS)
    When i link Entity_Relationship -> HFM_Inventory (ALIAS) , Global Consistency gives me following error:
    Logical Table HFM_Financial has no a proper primary key defined. But in my opinion it's obvious because it's a fact table and not a dimension. What is wrong in my mapping?
    Thanks
    Giancarlo
    Edited by: 832596 on 12-mar-2011 4.19

    Hi Diney,
    thanks for your reply. Following your suggestions, error message is disappeared, so i believe your reply was right. But now i have another problem that i explain in another post. I hope you can help me even in it
    Thanks
    Giancarlo

  • How to verify multiple paths available to a route in OSPF

    Hello,
    How do I verify multiple paths available to a route in OSPF
    I have three paths available to a route. I can see two equal cost paths shown in the routing table. The third higher metric path doesn't show up in the routing table
    When I disable the two equal cost paths, the third path is visible in the routing table
    Is there a command in ospf or shortest path algorithm, which can show the total number of paths available to a route and why one route is chosen over other
    Thanks,
    Chandru

    Thanks for the reply Reza. Is there a way to find all paths available in the ospf database.
    I just wanted to know the total number of paths available to an route in ospf area

  • Servlets handle multiple, concurrent requests

    Hi, folks. Could someone give me a basic idea of how Servlets handle multiple, concurrent requests which are sent from user's web browser, or possibly, point me some useful web links, tutorials. Let me take a example to make sure that i have explained the question clearly: let's say there is a website that does air ticket booking service. Suppose there is a spare seat exists for a particular flight. There are two users logon to the website and they are both looking for this particular seat. So, once these user's HTML form requests are sent to server, how do i implement my servlet to handle these requests properly, in another words, make sure this seat is only allowed booked by a single user. thanks in advance.

    This acturally raises me a another question which i
    still have some uncertainties. In another assignment i
    did last semester, that was we had multiple users
    using our database and accessing, retirving and
    updating database by using jdbc. And what i did was
    let every user call a particular method within a
    javabean for setting up database connection, then goes
    for the specific that needs to be dealt with. So, what
    i am wondering now is that can i possibly having a
    different approach, like setting up only a single
    connection(ie. a public Connection objec) which being
    exist all the time so that all request can get
    connection by calling this object's relevant method.
    Hope i explained it clearly.
    If I understand you correctly, then you would have to make the methods of this Connecting Object synchronized so that there was only ever one connection to the database at any one time.
    If a database is transactional, that means it has attempted to deal with the problem of multiple connections and statements being executed at the same time on the same data. If you have one single Connecting Object then you don't have to worry about transactions, but you do need to make sure that there aren't multiple threads running, each trying to use your Connecting Object.
    The synchronized keyword makes sure only one thread can use the synchronized method at any one time.

  • Avoid multiple paths rpd

    Hi,
    i've following problem. I've 3 tables: A , B, C. In my Business Model Diagram they are mapped as:
    A->B
    A->C
    Now i must insert an additional mapping B->C.
    When i save rpd it gives me following error:
    Multiple paths between A and C. How can i avoid this cycle?
    Thanks
    Giancarlo

    Hi Diney,
    thanks for your reply. Following your suggestions, error message is disappeared, so i believe your reply was right. But now i have another problem that i explain in another post. I hope you can help me even in it
    Thanks
    Giancarlo

Maybe you are looking for