Configuring the working directory

Hi all,
I am fairly new with JSP. I am currently creating all my JSP files under TOMCAT_HOME/webapps/ROOT/myDirectory. But I would like to work outside the TOMCAT_HOME directory, for example c:/myDirectory.
Has anyone considered doing this and if yes, how can i make this configurations.
Thanks.

in the conf/server.xml file:
<Context path="/myDirectory" docBase="c:/myDirectory" reloadable="true" debug="0">
</Context>
path is the webapp name in the url (http://localhost:8080/myDirectory)
docbase is the directory where the code is placed. Not sure about the slash or whether it should be a back slash.

Similar Messages

  • How to set the working directory for reports in linux

    Hi All,
    Can you anyone help me to set the working directory for oracle application server 10g reports? I am using RHEL4 and AS10g. Actually i want to run my reports from my define
    working directory. How can I do this?
    Thanks in advance
    Arif

    Hi,
    your rep_srv.conf should look like something like
    +<?xml version = '1.0' encoding = 'ISO-8859-1'?>+
    +<!DOCTYPE server PUBLIC "-//Oracle Corp.//DTD Reports Server Configuration //EN" "file:D:\oracle\FRHome_1/reports/dtd/rwserverconf.dtd">+
    +<server version="10.1.2.0.2">+
    +<!--Please do not change the id for reports engine.-->+
    +<!--The class specifies below is subclass of _EngineClassImplBase and implements EngineInterface.-->+
    +<cache class="oracle.reports.cache.RWCache">+
    +<property name="cacheSize" value="50"/>+
    +<!--property name="cacheDir" value="your cache directory"-->+
    +<!--property name="maxCacheFileNumber" value="max number of cache files"-->+
    +<!--property name="ignoreParameters" value="parameter names to be ignored in constructing cache key, separated by comma ','"-->+
    +</cache>+
    +<engine id="rwEng" class="oracle.reports.engine.EngineImpl" initEngine="1" maxEngine="3" minEngine="0" engLife="50" maxIdle="30" callbackTimeOut="90000" jvmOptions="-Xmx512M -Xss512K">+
    +<!--property name="sourceDir" value="your reports source directory"/-->+
    +<!--property name="tempDir" value="your reports temp directory"/-->+
    +<!--property name="keepConnection" value="yes"/-->+
    +</engine>+
    +...+
    some more definitions
    +..+
    +<!--pluginParam name="proxy" type="file">proxyinfo.xml</pluginParam-->+
    +<pluginParam name="xmlpds" type="file">xmlpds.conf</pluginParam>+
    +<pluginParam name="jdbcpds" type="file">jdbcpds.conf</pluginParam>+
    +<pluginParam name="textpds" type="file">textpds.conf</pluginParam>+
    *<environment id="APP1">*
    *+<envVariable name="REPORTS_PATH" value="/application1/reports"/>+*
    *+</environment>+*
    *+<environment id="APP2">+*
    *+<envVariable name="REPORTS_PATH" value="/application2/reports"/>+*
    +</environment>+
    +</server>+
    The environment ids you can choose yourself and you have to put them in there yourself too (here I put two environments for two different applications "1" and "2").
    If you call a report from Forms, then you have to code something like
    ADD_PARAMETER(p_list,'ENVID',TEXT_PARAMETER,'APP1');
    Details depend on how you call your reports, my example is for using a parameter list and calling a report out of application1
    Hope that helps.
    Volker

  • How can I get the working directory of a project from an Annotation Processor in Java

    I am writing an annotation processor in Java and in this annotation processor I want to be able to find a file in the Project hierarchy of the project on which I am using this annotation processor. Through the annotation I can pass in the path of the file I am searching for relative to the project root but i cannot retrieve the project's working directory.
    Let's say that the processor is MyCustomProcessor and I am using it on the project MyProject. I want to be able to access(read) a file (a properties file) from the project structure of MyProject from the "process" method of MyCustomProcessor.
    I have read this link Eclipse - Annotation processor, get project path but when I use their solution I get a null returned from the StandardJavaFileManager.getLocation(StandardLocation.SOURCE_PATH) call.
    Some more details regarding the implementation:
    MyAnnotationProcessor:
    @SupportedAnnotationTypes(value = {"MyAnnotation" })
    @SupportedSourceVersion(RELEASE_6)
    public class MyCustomProcessor extends AbstractProcessor {
    @Override public boolean process(final Set<? extends TypeElement> annotations, final RoundEnvironment roundEnv) {
    for (final Element element : roundEnv.getElementsAnnotatedWith(MyAnnotation.class)) {
    <!-- Here is where I would like to get the working directory !-->
    More details about the testing and development environment: Eclipse Kepler, JRE 1.7.
    If you need more details just ask.

    There is an identical post with an answer located at this link.

  • [Solved] a.out not recognizing the working directory

    It's a little bit embarrassing because this issue doesn't seem terribly complicated, but I'm having trouble with executing the a.out file (Hello World) that gcc produces. I have to explicitly state the directory that a.out is in to run it, even though it's in the working directory. Other programs, such as Nano, recognize the working directory just fine and it is able to open files inside the working directory without having me explicitly state the full directory name.
    Any help would be greatly appreciated.
    Last edited by bananaman (2011-03-23 03:16:10)

    The easiest and most secure way would be using the relative path to the executable:
    ./a.out
    If you use a single directory for writing/testing your programs, you could add it to your user PATH. Not a major security risk, but if you do so, be careful what executables are in the dir.
    ~/.bashrc (or ~/.bash_profile):
    [[ -d ~/cpp ]] && export PATH="$PATH:~/cpp"
    Adding the current working directory to PATH is a security risk, so I wouldn't recommend it.
    Last edited by sisco311 (2011-03-23 03:12:29)

  • Periodic Message: You have some checked-out files in the working directory

    Hi,
    we are recieving a periodic message (appearing every 5 minutes) saying:
    "You have some checked-out files in the working directory. We recommend that you check in the files after editing. Click here to checkin the files.
    After clicking on the message easyDMS is opened and Private- & Public-Folder are shown.
    There are no checked out files on the client.
    What happened?
    Thanks a lot!
    Edited by: B Lobascio on Feb 8, 2011 5:13 PM

    After changing the Working directory in easyDMS preferences the message did not apear anymore.
    That means that there have been some some damaged documents in origin working directory.
    Edited by: B Lobascio on Feb 16, 2011 10:35 AM

  • Configure the work flow-maintain prefix number

    Dear friends
    I am trying to configure the work flow using SWU3, to maintain prefix number, systems asking for the prefix number, which number I have to give, what is the criterion for defining this number
    For development the prefix number is 999
    For production which number I have to maintain,
    Thank you

    The Prefix number doesn't get transported to production.
    What i meant is when you create a workflow in Dev the 1st 3 digits would be 999XXXXX.
    So when you transport the workflow from Dev to Prod, the workflow which you created moves into Prod.
    As far as i understand, prefix number is required to maintain in Dev to create custom workflow templates. But in Prod, no one is going to create workflow from scratch and hence Prefix maintanence in Prod is not required.
    Try out this in Quality or any other test system apart from you Dev if you can.
    1) Transport the workflow from Dev to Quality.
    2) Dont maintain the prefix in quality system.
    3) check if the workflow is working or not in quality.
    Regards,
    PR.

  • Runtime.exec ignores the working directory argument

    Hi Folks,
    I need to run a batch file in a particular directory, from a Java program.
    Here, I want to run "startMySQL.bat" from the ./bin directory.
    I used the following code to do so.
         String commandToExecute = "startMySQL.bat";
         File file = new File("bin");
    Process sqlPrcs = Runtime.getRuntime().exec(commandToExecute, null, file);     
    When I run these lines in a program, I get the following exception:
    java.io.IOException: CreateProcess: startMySQL.bat error=2
    at java.lang.Win32Process.create(Native Method)
    at java.lang.Win32Process.<init>(Unknown Source)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Unknown Source)
    at java.lang.Runtime.exec(Unknown Source)
    at com.aperto.ems.packetmax.AuthenticationScreen.startDB(AuthenticationScreen.java:603)
    at com.aperto.ems.packetmax.AuthenticationScreen.validateUserAndReinitialize(AuthenticationScreen.java:479)
    at com.aperto.ems.packetmax.AuthenticationScreen.access$0(AuthenticationScreen.java:468)
    at com.aperto.ems.packetmax.AuthenticationScreen$OnOKButtonPress.actionPerformed(AuthenticationScreen.java:628)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener$ReleasedAction.actionPerformed(Unknown Source)
    at javax.swing.SwingUtilities.notifyAction(Unknown Source)
    at javax.swing.JComponent.processKeyBinding(Unknown Source)
    at javax.swing.JComponent.processKeyBindings(Unknown Source)
    at javax.swing.JComponent.processKeyEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
    at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
    at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
    at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
    at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    "error=2" in Windows mean "not able to find the file".
    Any clues on how I can run the batch file from a particular working directory?
    Thanks!

    Hi,
    I changed the code to print the user.dir output and the absolute path of the file. It looks like this:
    String commandToExecute = "startMySQL.bat";
    File fl = new File("bin");
    System.out.println(fl.getAbsolutePath());
    System.out.println(System.getProperty("user.dir"));
    Process sqlPrcs = Runtime.getRuntime().exec(commandToExecute, null, fl);
    Below is the output I get:
    C:\Program Files\Aperto\WaveCenter\Back-End_Server_2.0_build8\bin
    C:\Program Files\Aperto\WaveCenter\Back-End_Server_2.0_build8
    java.io.IOException: CreateProcess: startMySQL.bat error=2
    at java.lang.Win32Process.create(Native Method)
    at java.lang.Win32Process.<init>(Unknown Source)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Unknown Source)
    at java.lang.Runtime.exec(Unknown Source)
    at com.aperto.ems.packetmax.AuthenticationScreen.startDB(AuthenticationScreen.java:604)
    at com.aperto.ems.packetmax.AuthenticationScreen.validateUserAndReinitialize(AuthenticationScreen.java:479)
    at com.aperto.ems.packetmax.AuthenticationScreen.access$0(AuthenticationScreen.java:468)
    at com.aperto.ems.packetmax.AuthenticationScreen$OnOKButtonPress.actionPerformed(AuthenticationScreen.java:629)
    I assure you, "startMySQL.bat" is there under "bin"
    Thanks,
    Sandeep

  • How to configure the work manager java code to eclipse?

    Hello all,
                   I am working with the syclo work manager app. I have successfully installed all components required.
                   I imported the work manager mobile application and I want to import the standard work manager java code, what is the process to import java code into work space.
                   Guide me with some screen shots.
                   When I try to start the WM server it is giving me the following error:
    How to resolve the error.
    Please anyone provide me complete setup needed to run the work manager app smoothly.
    Please guide me.
    Thanks & Regards,
    Swaroopa.

    Swaroopa,
    That error is telling you the SAP JCo library cannot find one of the needed DLLs on the system.  The sapjco.jar loads two additional DLL files (sapjcorfc.dll and librfc32.dll).  Both should be installed by default into your ServerDev directory (assuming you are running Agentry 6.0.x).
    I would guess it is having trouble loading the librfc32.dll based on the message but confirm both are in the correct location.
    --Bill

  • Making jar file in folder other than the working directory

    Hello!
    I am trying to make jar files by using a program. I execute jar commands at runtime. The problem is that when a command is given like this
    jar cvmf C:\HTTPS\Manifest.txt C:\HTTPS\khalid.jar C:\HTTPS\client.cer
    C:\HTTPS\Client.jar C:\HTTPS\client.keys C:\HTTPS\HelloRunnableWorld.class C:\HT
    TPS\HelloRunnableWorld.java C:\HTTPS\keytool interaction commands.txt C:\HTTPS\M
    akeJarRunnable.class C:\HTTPS\MakeJarRunnable.java C:\HTTPS\MakeJarRunnable.zip
    C:\HTTPS\Manifest.txt C:\HTTPS\myjar.jar C:\HTTPS\myjar_r.jar C:\HTTPS\Problem s
    cenario.txt C:\HTTPS\Run.bat C:\HTTPS\scompressed.jar C:\HTTPS\Security.jar C:\H
    TTPS\Server.jar C:\HTTPS\server.keys C:\HTTPS\serverexport.cer C:\HTTPS\Starter.
    class C:\HTTPS\Starter.java C:\HTTPS\Umer Farooq - What I did.ppt C:\HTTPS\Umer.jar
    The jar file is created but it has 0 bytes in it. No data is written into it, despite all the files being there.
    Thank You

    That is not the way to create jar files. Here is how you do it.
    Under say c:\ create directory "utils".
    Copy all of the *.java" files which will be part of this jar file "utils.jar". After moving files into c:\utils , make sure every single file has the first line of code as "package utils;" (without the quotes though)
    Type in "javac *.java" to compile all of the files at once.
    cd over to the parent directory and then type in
    jar cvf utils.jar c:\utils\*.class
    This will create utils.jar file under c:\

  • How to find the working directory

    Hi all
    my csseditor is almost fully working but im having one slight problem
    my css images arent being displayed all the time (this is a bit confusing but...)
    when i reference the image via an address (http://localhost/tgheader.jpg) it works
    e.g. background-image:url('http://localhost/tgheader.jpg');
    if i reference the image via an exact path (C:/myimages/tgheader.jpg) it doesnt work
    e.g. background-image:url('C:/myimages/tgheader.jpg');
    and obviously it doesnt work if i just reference the image relatively
    e.g. backgroundimage:url('tgheader.jpg')
    so far your probably thinking what has this got to do with java, well i am wondering if it is not finding the image because maybe when i run the app it cant find working directories maybe or does the ap run from a temp directory maybe (or is it from the directory where the classes are run from) and if so if i put the images in that path then shouldnt the css know where the image is or when i render the html from a string does java omit the fact of exact paths?
    if anyone feels like this is too abstract from java to be posted here, then im sorry, im just not sure if it is a java problem or a css problem (because css works just fine using exact paths when it is run in a normal html ie environment)

    basically it is just a swing ap that runs offline
    open a css stylesheet (*.css) which is parsed into my
    stylesheet adt
    then my html header file (header.htm) is read into a
    string via getResourceAsStream
    (the header is everything that u get in a html file
    <html><head><title></title> up to <style)
    then i do a toString on my stylesheet adt to paste
    into the html string all of the styles in the
    stylesheet
    then i read in the footer info of the html with
    getResourceAsStream (footer.htm) and this contains
    the rest of the html document
    so my final html string is a complete html document
    including the styles
    i then load that string into my browser component
    which displays the html with the applied styles
    the program is just run locally and doesnt (and
    shouldnt) require any web serverok then sorry about my advice that make no sense :p
    In the light of this, I'm going to reread the whole thread ;-)

  • Configure the Iplanet Directory server 5.0 not to allow NULL BINDs.

    How to restrict connection of user without authentication, via a ‘Null Bind’, what I can see in access log is connection of user BIND DN=”” which I don’t want. Is there any way to come over this?

    Recall my first reply:
    In iPlanet DS 5.0 (and several other LDAP servers), there is no way to totally disable anonymous binds.
    You are never going to get that message to disappear when running that tool against iPlanet DS 5.0.
    But, if it's any comfort, that particular piece of advice it's giving you is pretty silly.
    The claim that an anonymously-readable rootDSE equates to "improper configuration" is DAFT.
    I suggest you stop paying attention to this software, and begin planning your upgrade to newer LDAP server software.
    (Incidentally, some newer LDAP servers do allow you to disable anonymous binds, but I would still advise you to ignore that audit tool, and just decide for yourself what policies make the most sense for your case).

  • How to change the defualt work directory

    Hello
    I am using tomcat 6
    I have to use the work directory as D:/projects/jsp1.
    Currently it is /webapps/

    hi,
    Currently used defualt <tomcat home>/webapps folder for deploying archives to Installed Tomcat container
    i.e getFileHandler().append(getContainer().getConfiguration().getHome(), "webapps").
    This folder is specified in <home>/conf/server.xml under host tag there is attribute appBase and cargo should be able to get the directory from this configuration file.
          <Host name="localhost" debug="0" appBase="webapps"
           unpackWARs="true" autoDeploy="true">Change to ur Folder and try, Be Carefull while Modifying Configurations...

  • In EPM 11.1.2.1 Has anyone sucessfully configured the SSODiag web app

    Hi All, we are installing and configuring Oracle EPM 11.1.2.1 with Foundation services running on a Windows 2008 R2 Standard server. Our users have been waiting for us to provide single sign-on for the Web applications (we are currently on 9.3.3). We installed and configured Foundation services and started the config for SSO using Kerberos and Active Directory.
    We have performed the following :
    1) setup the active directory user to use as the Kerberos principle
    2) usign SETSPN, KTPASS configured the principle user and had the keytab file generated using:
    ktpass -out SVC_ORACLEEPM.keytab -mapuser SVC_ORACLEEPM -crypto DES-CBC-CRC -princ HTTP/[email protected] -pass PASSWORD -ptype KRB5_NT_PRINCIPAL
    3) copied the keytab file copied to the Foundation Services server (DEVEMP01) and placed in "C:\Oracle\Middleware\user_projects\domains\EPMSystem"
    4) Verified the keytab using the java kinit commands
    java -Dsun.security.krb5.debug=true sun.security.krb5.internal.tools.Kinit -k -t C:\Oracle\Middleware\user_projects\domains\EPMSystem\SVC_ORACLEEPM.keytab HTTP/[email protected]
    was able to get the kerberos ticket cached successfully:
    --- KrbAsRep cons in KrbAsReq.getReply HTTP/devepm01.domain.com
    --- New ticket is stored in cache file C:\Users\svc_oracleepm\krb5cc_SVC_ORACLEEPM
    5) configured the Active Directory provider in Weblogic (can retreive all users including my service account)
    6) configured the Negotiate Identity provider
    7) installed and configured the SSODiag web application per the 11.1.2.0 document "http://www.oracle.com/technetwork/middleware/bi-foundation/config-epm-foundation-kerberos-303841.pdf " as the 11.1.2.1 document is incomplete. I also found some missing steps in the 11.1.2.0 doc, but was able to get it.
    8) service account is used to log onto the Windows server and is used to starte the FoundationServices service and weblogic admin console.
    in the above - the "DOMAIN.COM" is the Kerberos domain
    The problems now are the SSODiag app is not authenticating the user. All our active directory users authenticate to MS Sharepoint through Kerberos, so the browsers and users are setup properly, I did double check the browser settings just in case.
    I also have an open support ticket with Oracle support, but wanted to find out if anyone out there has sucessfully configured SSODiag and has it working with Kerberos, Active Directory and Weblogic 10.3.x included with EPM 11.1.2.1.
    Any assistance is appreciated.
    Rob Armstrong
    ** Updated to add #8
    Edited by: Robert Armstrong on Jul 13, 2011 8:47 AM

    For anyone interested, we were finally able to configure SSO. Working with Oracle support and a web conf with the developers was needed.
    The documentation is lacking all the instructions to make a sucessful connection and has incorrect information as well. The SSODiag app was working for all XP and IE6/IE7 machines, my Windows 7 and IE8 machine would not work and is still an outstanding issue with development.

  • Issue in configuring the Master Repository in ODI

    Hi,
    I just downloaded and installed ODI. I wanted to create Master Repository in Sql Server 2005 (service pack 2). I gave the following string for jdbc:sqlserver://<servername>:1433;selectMethod=cursor;databaseName=odimaster;integratedSecurity=false. I also entered a valid username and password. Apart from this I have copied the sqlJdbc.jar file in the OraHome_1\oracledi\drivers directory.
    The above is resulting in an error. Has anyone faced this issue?
    Thanks,
    Amol

    Thanks John and Ioggo for helping me.
    I have got the Master repository configured by replacing the sqlJDBC.jar file that I intially had by 1.2. I also was able to configure the topology but unfortunately I am now stuck in configuring the work repository. I am following John's blog but each time I do a test connection it gives me connection failed. I have used the same connection string for JDBC. Following is my understanding on the different text boxes in the dialogue box, please let me know if my understanding is not right:
    I have created a separate database in sql 2005 for this and I am entering the name of the database in the 'Name' text box.
    For technology I am using Microsoft Sql Server
    Server - I am giving the name of the machine.
    Connection - I have created a sql user odiwork with relevant access in sql 2005 and I am passing the credentials here.
    Following is the detailed error that I am getting:
    com.sunopsis.sql.c: com.microsoft.jdbc.sqlserver.SQLServerDriver
    +     at com.sunopsis.sql.SnpsConnection.a(SnpsConnection.java)+
    +     at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java)+
    +     at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java)+
    +     at com.sunopsis.graphical.l.pm.o(pm.java)+
    +     at com.sunopsis.graphical.l.pm.r(pm.java)+
    +     at com.sunopsis.graphical.l.pm.g(pm.java)+
    +     at com.sunopsis.graphical.l.pm.a(pm.java)+
    +     at com.sunopsis.graphical.l.pm.a(pm.java)+
    +     at com.sunopsis.graphical.l.iz.actionPerformed(iz.java)+
    +     at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)+
    +     at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)+
    +     at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)+
    +     at javax.swing.DefaultButtonModel.setPressed(Unknown Source)+
    +     at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)+
    +     at java.awt.Component.processMouseEvent(Unknown Source)+
    +     at java.awt.Component.processEvent(Unknown Source)+
    +     at java.awt.Container.processEvent(Unknown Source)+
    +     at java.awt.Component.dispatchEventImpl(Unknown Source)+
    +     at java.awt.Container.dispatchEventImpl(Unknown Source)+
    +     at java.awt.Component.dispatchEvent(Unknown Source)+
    +     at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)+
    +     at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)+
    +     at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)+
    +     at java.awt.Container.dispatchEventImpl(Unknown Source)+
    +     at java.awt.Window.dispatchEventImpl(Unknown Source)+
    +     at java.awt.Component.dispatchEvent(Unknown Source)+
    +     at java.awt.EventQueue.dispatchEvent(Unknown Source)+
    +     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)+
    +     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)+
    +     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)+
    +     at java.awt.Dialog$1.run(Unknown Source)+
    +     at java.awt.Dialog.show(Unknown Source)+
    +     at java.awt.Component.show(Unknown Source)+
    +     at java.awt.Component.setVisible(Unknown Source)+
    +     at com.sunopsis.graphical.l.pm.q(pm.java)+
    +     at com.sunopsis.graphical.l.pm.<init>(pm.java)+
    +     at com.sunopsis.graphical.frame.b.jh.bx(jh.java)+
    +     at com.sunopsis.graphical.frame.bo.w(bo.java)+
    +     at com.sunopsis.graphical.frame.bo.d(bo.java)+
    +     at com.sunopsis.graphical.frame.w.actionPerformed(w.java)+
    +     at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)+
    +     at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)+
    +     at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)+
    +     at javax.swing.DefaultButtonModel.setPressed(Unknown Source)+
    +     at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)+
    +     at java.awt.Component.processMouseEvent(Unknown Source)+
    +     at java.awt.Component.processEvent(Unknown Source)+
    +     at java.awt.Container.processEvent(Unknown Source)+
    +     at java.awt.Component.dispatchEventImpl(Unknown Source)+
    +     at java.awt.Container.dispatchEventImpl(Unknown Source)+
    +     at java.awt.Component.dispatchEvent(Unknown Source)+
    +     at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)+
    +     at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)+
    +     at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)+
    +     at java.awt.Container.dispatchEventImpl(Unknown Source)+
    +     at java.awt.Window.dispatchEventImpl(Unknown Source)+
    +     at java.awt.Component.dispatchEvent(Unknown Source)+
    +     at java.awt.EventQueue.dispatchEvent(Unknown Source)+
    +     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)+
    +     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)+
    +     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)+
    +     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)+
    +     at java.awt.EventDispatchThread.run(Unknown Source)+
    Regards,
    Amol
    Edited by: AmolDatt on Aug 27, 2009 10:07 AM

  • Set working directory for a single thread

    Hi there,
    Well, there are already some threads about the "working directory" subject.
    Here's a new variant: I need to have different working directorys for each thread.
    I am currently enhancing an application to do some similar jobs multithreaded (but each one in a different working dir).
    So far, I started n instances of the same application in n virtual machines in n shells with each one having a different working dir.
    I think compared to the old way, doing it with multithreading is a good resource saving optimization...
    Reading through the 'working directory' threads , I everywhere found the recommendation to do without the internal 'cd' and use absolute paths instead.
    The problem is:
    Some of the lower level classes create directories and files in their constructors to make sure they exist when performing later actions.
    If there is really no way other than using absolute paths, I would need to change many constructor's and method's signatures (from the creation of a Runnable Object all the way down to the creation of the mentioned classes).
    So please, don't recommend me to use absolute paths if there's a trick to do a 'cd'.
    Of course, if there is really no way to do a 'cd' for a thread, this would be bad luck...
    Hoping for help
    Markus

    Hi,
    Reading those threads, I was not sure if the conclusion is "I can not" or "I should not" (maybe because its very difficult or it may have side effects or whatever).
    The scenario I described is true, but it was also meant to prevent people from saying "you should not" too easily.
    But if the conclusion is "I can not", it seems I will have to do numerous changes. Bad luck for me.
    Anyway, Thanx.

Maybe you are looking for

  • Why "parent is null"?

    Hi guys, I'm developing a simple Applet application with JDK 1.3.1. All of codes are the following, DemoApplet.java public class DemoApplet extends Applet {   private static final long serialVersionUID = -371112038768840393;   public DemoApplet() {  

  • Problem with overloading

    Hello everyone, I am trying to create a simple panel with buttons and lines (quite modest, right?). I have extended JPanel and JButton, and added the new buttons to the new panel, using GridBagConstraints. For now i've added just one button and drew

  • IChat quitting

    For the most part, I have no problems with iChat, but sometimes, I will try starting an audio or video chat and then iChat will just quit. Nothing is written to the error log and nothing shows up saying iChat quit. Then I will try oepning iChat and i

  • RFC - JDBC fault message

    Hello All, Probably this has been discussed before, but i am unable to find a direct solution till now. I have a synchronous RFC to JDBC scenario, where data is inserted from R/3 to JDBC and JDBC returns with the count of records it inserted in oracl

  • Re: Steps for Creating QPLD

    Dear SAP Experts, I need the steps in creating a Query Print Layout Designer.. With Regards, Revathy