Cannot find mixers in java

I am trying to find the mixers on the system using Mixer.Info[] mixerInfo = AudioSystem.getMixerInfo(); but nothing is showing up in the array so I have no mixers available. I am on a Linux system and I can use input and output fine through an OSS mixer on the system, I just can't figure out how to access it. Any ideas?

I am using a xml to deploy my application , it reads
<Context docBase="C:\Data\AjitWorkspace\console\~build\console" path="/console" reloadable="true">
I check the class files under the ~build\console\WEB-INF\classes and it shows me the latest class file with the correct query in it.

Similar Messages

  • After upgrade to JHS Production: cannot find two standard java Classes

    Hi, First: congratulations on the Production release. Great that it is there.
    After making several backups, I have upgraded to JHS build 91 Production release (I came from JHS build 78).
    1. after upgrade to JHS Production, I tested my application first (so before re-enabling Jheadstart on the ViewController and regenerating pages). The application still worked fine
    2. I re-enabled JHeadstart on the VC project
    3. I opened my Applictation Definition Files and saved them (I noticed a deprecated property OverwriteUiModel that disappeared after saving)
    4. I ran the generator on my three App. Def. Files.
    5. I rebuild the whole application
    6. I ran the application, the first (Table-style) page comes up fine
    7. But when clicking on one of the records in the Table to navigate to the Form page...the Embedded OC4J exits with a fatal error:
    Fatal error: Cannot find class java/lang/StackOverflowError
    Fatal error: Cannot find class java/lang/NullPointerException
    The last part of the log before these fatal errors is as follows:
    06/08/11 10:12:47 [1171] Binding param "Bind_IdPerson": 210002
    06/08/11 10:12:47 [1172] **** refreshControl() for BindingContainer :PersonsPageDef
    06/08/11 10:12:47 [1173] *** DCDataControl.sync() called from :DCBindingContainer.refresh
    06/08/11 10:12:47 [1174] **** refreshControl() for BindingContainer :PersonsPageDef
    06/08/11 10:12:47 [1175] Invoke method Action:999
    06/08/11 10:12:47 [1176] DCInvokeMethod:Invoking PersonServiceDataControl.dataProvider.applyBindParams()
    10:12:47 DEBUG (JhsApplicationModuleImpl) -Executing applyBindParams for CodeAddrLinkTypes
    10:12:47 DEBUG (JhsApplicationModuleImpl) -ViewObject CodeAddrLinkTypes: bind parameter values have not changed, NO Requery performed
    06/08/11 10:12:47 [1177] DCUtil, returning:oracle.adf.model.binding.DCDataControl$MethodResultsMap, for methodResults
    06/08/11 10:12:47 [1178] putValueInPath :PersonServiceDataControl.methodResults.PersonServiceDataControl_dataProvider_applyBindParams_result = null
    06/08/11 10:12:47 [1179] DCUtil, returning:oracle.adf.model.binding.DCDataControl$MethodResultsMap, for methodResults
    06/08/11 10:12:47 [1180] putValueInPath :PersonServiceDataControl.methodResults.PersonServiceDataControl_dataProvider_applyBindParams_result~cp = [Ljava.lang.Object;@c60
    06/08/11 10:12:47 [1181] Invoke method Action:999
    06/08/11 10:12:47 [1182] DCInvokeMethod:Invoking PersonServiceDataControl.dataProvider.applyBindParams()
    10:12:47 DEBUG (JhsApplicationModuleImpl) -Executing applyBindParams for CodeAddrLinkStatuses
    10:12:47 DEBUG (JhsApplicationModuleImpl) -ViewObject CodeAddrLinkStatuses: bind parameter values have not changed, NO Requery performed
    06/08/11 10:12:47 [1183] DCUtil, returning:oracle.adf.model.binding.DCDataControl$MethodResultsMap, for methodResults
    06/08/11 10:12:47 [1184] putValueInPath :PersonServiceDataControl.methodResults.PersonServiceDataControl_dataProvider_applyBindParams_result = null
    06/08/11 10:12:47 [1185] DCUtil, returning:oracle.adf.model.binding.DCDataControl$MethodResultsMap, for methodResults
    06/08/11 10:12:47 [1186] putValueInPath :PersonServiceDataControl.methodResults.PersonServiceDataControl_dataProvider_applyBindParams_result~cp = [Ljava.lang.Object;@c61
    06/08/11 10:12:47 [1187] Invoke method Action:999
    06/08/11 10:12:47 [1188] DCInvokeMethod:Invoking PersonServiceDataControl.dataProvider.applyBindParams()
    10:12:47 DEBUG (JhsApplicationModuleImpl) -Executing applyBindParams for CodeOrgPersonTypes
    10:12:47 DEBUG (JhsApplicationModuleImpl) -ViewObject CodeOrgPersonTypes: bind parameter values have not changed, NO Requery performed
    06/08/11 10:12:47 [1189] DCUtil, returning:oracle.adf.model.binding.DCDataControl$MethodResultsMap, for methodResults
    06/08/11 10:12:47 [1190] putValueInPath :PersonServiceDataControl.methodResults.PersonServiceDataControl_dataProvider_applyBindParams_result = null
    06/08/11 10:12:47 [1191] DCUtil, returning:oracle.adf.model.binding.DCDataControl$MethodResultsMap, for methodResults
    06/08/11 10:12:47 [1192] putValueInPath :PersonServiceDataControl.methodResults.PersonServiceDataControl_dataProvider_applyBindParams_result~cp = [Ljava.lang.Object;@c62
    06/08/11 10:12:47 [1193] Invoke method Action:999
    06/08/11 10:12:47 [1194] DCInvokeMethod:Invoking PersonServiceDataControl.dataProvider.applyBindParams()
    10:12:47 DEBUG (JhsApplicationModuleImpl) -Executing applyBindParams for CodeDivDataValidationStatuses
    10:12:47 DEBUG (JhsApplicationModuleImpl) -ViewObject CodeDivDataValidationStatuses: bind parameter values have not changed, NO Requery performed
    06/08/11 10:12:47 [1195] DCUtil, returning:oracle.adf.model.binding.DCDataControl$MethodResultsMap, for methodResults
    06/08/11 10:12:47 [1196] putValueInPath :PersonServiceDataControl.methodResults.PersonServiceDataControl_dataProvider_applyBindParams_result = null
    06/08/11 10:12:47 [1197] DCUtil, returning:oracle.adf.model.binding.DCDataControl$MethodResultsMap, for methodResults
    06/08/11 10:12:47 [1198] putValueInPath :PersonServiceDataControl.methodResults.PersonServiceDataControl_dataProvider_applyBindParams_result~cp = [Ljava.lang.Object;@c63
    06/08/11 10:12:47 [1199] Invoke method Action:999
    06/08/11 10:12:47 [1200] DCInvokeMethod:Invoking PersonServiceDataControl.dataProvider.applyBindParams()
    10:12:47 DEBUG (JhsApplicationModuleImpl) -Executing applyBindParams for CodeDivDataDivisionStatuses
    10:12:47 DEBUG (JhsApplicationModuleImpl) -ViewObject CodeDivDataDivisionStatuses: bind parameter values have not changed, NO Requery performed
    06/08/11 10:12:47 [1201] DCUtil, returning:oracle.adf.model.binding.DCDataControl$MethodResultsMap, for methodResults
    06/08/11 10:12:47 [1202] putValueInPath :PersonServiceDataControl.methodResults.PersonServiceDataControl_dataProvider_applyBindParams_result = null
    06/08/11 10:12:47 [1203] DCUtil, returning:oracle.adf.model.binding.DCDataControl$MethodResultsMap, for methodResults
    06/08/11 10:12:48 [1204] putValueInPath :PersonServiceDataControl.methodResults.PersonServiceDataControl_dataProvider_applyBindParams_result~cp = [Ljava.lang.Object;@c64
    06/08/11 10:12:48 [1205] *** DCDataControl.sync() called from :DCBindingContainer.refresh
    06/08/11 10:12:48 [1206] ##### QueryCollection.finl no RowFilter
    06/08/11 10:12:48 [1207] ##### QueryCollection.finl no RowFilter
    06/08/11 10:12:48 [1208] ##### QueryCollection.finl no RowFilter
    06/08/11 10:12:48 [1209] ##### QueryCollection.finl no RowFilter
    06/08/11 10:12:48 [1210] ##### QueryCollection.finl no RowFilter
    06/08/11 10:12:48 [1211] ##### QueryCollection.finl no RowFilter
    06/08/11 10:12:48 [1212] No XML file /com/jnj/jacnl/cab/view/pagedefs/person/person.xml for metaobject com.jnj.jacnl.cab.view.pagedefs.person.person
    06/08/11 10:12:48 [1213] Cannot Load parent Package : com.jnj.jacnl.cab.view.pagedefs.person.person
    06/08/11 10:12:48 [1214] Business Object Browsing may be unavailable
    06/08/11 10:12:48 [1215] Loading from XML file /com/jnj/jacnl/cab/view/pagedefs/person/PersonLovAddressesPageDef.xml
    06/08/11 10:12:48 [1216] DCUtil, returning:oracle.jbo.uicli.binding.JUApplication, for PersonServiceDataControl
    06/08/11 10:12:48 [1217] DCUtil, returning:oracle.jbo.uicli.binding.JUApplication, for PersonServiceDataControl
    06/08/11 10:12:48 [1218] DCUtil, returning:oracle.jbo.uicli.binding.JUApplication, for PersonServiceDataControl
    06/08/11 10:12:48 [1219] Executing and syncing on IteratorBinding.refresh from :AddrLinkTypeIterator
    06/08/11 10:12:48 [1220] Resolving VO:CodeAddrLinkTypes for iterator binding:AddrLinkTypeIterator
    06/08/11 10:12:48 [1221] No XML file /com/jnj/jacnl/cab/view/pagedefs/person/person.xml for metaobject com.jnj.jacnl.cab.view.pagedefs.person.person
    06/08/11 10:12:48 [1222] Cannot Load parent Package : com.jnj.jacnl.cab.view.pagedefs.person.person
    06/08/11 10:12:48 [1223] Business Object Browsing may be unavailable
    06/08/11 10:12:48 [1224] Loading from XML file /com/jnj/jacnl/cab/view/pagedefs/person/PersonLovPersonAddrOrganizationsPageDef.xml
    06/08/11 10:12:48 [1225] DCUtil, returning:oracle.jbo.uicli.binding.JUApplication, for PersonServiceDataControl
    06/08/11 10:12:48 [1226] DCUtil, returning:oracle.jbo.uicli.binding.JUApplication, for PersonServiceDataControl
    06/08/11 10:12:48 [1227] DCUtil, returning:oracle.jbo.uicli.binding.JUApplication, for PersonServiceDataControl
    06/08/11 10:12:48 [1228] Executing and syncing on IteratorBinding.refresh from :AddrLinkStatusIterator
    06/08/11 10:12:48 [1229] Resolving VO:CodeAddrLinkStatuses for iterator binding:AddrLinkStatusIterator
    06/08/11 10:12:48 [1230] No XML file /com/jnj/jacnl/cab/view/pagedefs/person/person.xml for metaobject com.jnj.jacnl.cab.view.pagedefs.person.person
    06/08/11 10:12:48 [1231] Cannot Load parent Package : com.jnj.jacnl.cab.view.pagedefs.person.person
    06/08/11 10:12:48 [1232] Business Object Browsing may be unavailable
    06/08/11 10:12:48 [1233] Loading from XML file /com/jnj/jacnl/cab/view/pagedefs/person/PersonLovOrganizationsPageDef.xml
    06/08/11 10:12:48 [1234] DCUtil, returning:oracle.jbo.uicli.binding.JUApplication, for PersonServiceDataControl
    06/08/11 10:12:48 [1235] DCUtil, returning:oracle.jbo.uicli.binding.JUApplication, for PersonServiceDataControl
    06/08/11 10:12:48 [1236] DCUtil, returning:oracle.jbo.uicli.binding.JUApplication, for PersonServiceDataControl
    06/08/11 10:12:49 [1237] Executing and syncing on IteratorBinding.refresh from :OrgPersonTypeIterator
    06/08/11 10:12:49 [1238] Resolving VO:CodeOrgPersonTypes for iterator binding:OrgPersonTypeIterator
    Fatal error: Cannot find class java/lang/StackOverflowError
    Fatal error: Cannot find class java/lang/NullPointerException
    Process exited with exit code -1.
    Any idea why this might have happened, just because I upgrade to JHS production release?
    I am reverting to build 78 again to continue developing, but hope to be able to get working with the prod release soon, but I lack knowledge to determine where the error occurs...
    Toine

    Sandra,
    I have the (ugly) feeling that I am facing the problem mentioned in http://forums.oracle.com/forums/thread.jspa?messageID=1211326? : it looks like when a JSPX page gets too complex, the Embedded OC4J raises this StackOverFlow class notfound error :-(. Probably the (it only hits me when navigating to the most complex page) generated page generated with build 78 was fine, but the generated page after build 91 has become too complex, allthough nothing changed in between. What I can see from the difference between the before and after build 91 situation for all pages, is that you have added the <id=...> arguments to all ADF elements, like [id="PersonsSaveButton"] in:
    <af:commandButton actionListener="#{bindings.Commit.execute}"
                      action="Commit"
                      textAndAccessKey="#{nls['SAVE_BUTTON_LABEL_PERSONS']}"
                      id="PersonsSaveButton">
                   <af:resetActionListener/>
      </af:commandButton>In build78 these were not there. As far as I can see another difference after generating with build 91 is a new element in the page:
    <af:panelGroup rendered="#{(bindings.PersonsIterator.currentRowIndexInRange!=-1 and bindings.PersonsIterator.findMode!='true')}">I have not seen a proper solution for this on the JDeveloper forum. I noticed people asking if there is a kind of 'maximum' on how complex a page can get before this error situation happens. No answer on that found (you do not want to know there is a maximum anyway).
    The specific page is a master with 5 stacked detail regions and three "use as LOV" groups. Further on about 30 domains are used...
    And the page has not finished yet, it will get more "complex" that this. I hope someone knows a good solution so that I can continue to use the Embedded OC4J for testing, otherwise developing wil get very time consuming if I have to deploy to AS every time...something I cannot afford since the project deadline is getting nearer and nearer.
    Toine

  • Cannot find DLL - URGENT

    Hello All,
    This is a really urgent question. Please answer as soon as possible.
    I bought a DLL from a software vendor. Lets call that DLL as "A". Knowing that i cannot access that DLL directly with Java, I created my own DLL which is acting as a bridge between my java application and DLL A. Lets call this DLL as B.
    I tried both these DLLs with a standalone application and it worked fine. So now the scenarion is that there is a class, lets call it C, it calls methods from DLL B and DLL B in turn calls methods from DLL A.
    Now I want to use this class C with a Servlet. The problem, as it looks to me, is that when used with the servlet class C finds DLL B, but DLL B is unable to find DLL A.
    I am saying this because initially i got the error saying "Cannot find B in java.library.path". I specified the path of DLL B in path variable of Windows (I am using Windows XP) after whcih the next error is something like it cannot find the method. I am copying a portion of exception below:
    java.lang.UnsatisfiedLinkError: QALoc_Startup
         at gmm2064.QAS.QASApi.QALoc_Startup(Native Method)
         at gmm2064.QAS.QASApi.EastingNorthingToPostCode(QASApi.java:78)
         at gmm2064.Calculator._generateIntervalReport(Calculator.java:256)
         at gmm2064.Calculator._generateCompleteIntervalReport(Calculator.java:288)
         at gmm2064.Calculator.getReport(Calculator.java:474)
         at gmm2064.ReportGenerationServlet.displayReport(ReportGenerationServlet.java:141)
         at gmm2064.ReportGenerationServlet.doPost(ReportGenerationServlet.java:65)
    If anybody has an answer to this question, please reply as soon as possible. I need an answer ideally right now.
    Thanks in advance

    I totaly agree with bschauwe. I also spend several hours of searching in the past for UnSatisfiedLinkError's.
    Always mention the complete package (if you use packages and you should) in your javah -jni statement when you try to create your C-header file. This was in most cases the problem I ran into.
    What you also could do is not use System.loadLibrary("<yourDLL>"); but replace it with the System.load("<full path to your DLL>"); to point to your DLL.
    Kind regards and good luck using JNI...
    Kurt

  • Jni findclass cannot find my own classes with jre1.4

    I have a C++ program that uses CreateJavaVM() and FindClass() to access my own Java classes. Everything works as expected. Another C++ program uses
    GetCreatedJavaVMs() (returns 1)
    AttachCurrentThread()
    FindClass()
    to try to access other Java classes of my own. The GetCreatedJavaVMs() and AttachCurrentThread() seem to work fine but the FindClass() cannot find my own Java classes anymore.
    Shouldn't the VM and associated JNIEnv from GetCreatedJavaVMs be the same as that created using CreateJavVM() and thus be able to find the same classes? By the way, this worked fine with jre1.2 but stopped working when trying to move to jre1.4. Any ideas would be appreciated.

    hi...was wondering if you got that issue resolved.
    was it actually because of the newer JRE version?
    thanks.Considering that the post is about 2 years old, and that the person hasn't posted much since then here, I'd doubt he/she's going to respond to you. This isn't his/her email address, ya know.

  • Windows XP Pro cannot find "Javc" in my folder

    I've done an excerise of HelloWorldApp.java.
    When i tried to complie it in MS-DOS. It said cannot find javc the java complier in my folder
    Could anyone help me with this problem plz
    I am using the 1.4.2 SDK version
    THANX

    what you are looking for is "javac.exe". It is in the bin folder of your java installation directory. You should ideally set the PATH variable to point to your bin directory.
    Or you could just run c:\jdk1.4.2\bin\javac HelloWorldApp.java where jdk1.4.2 corresponds to your java folder.

  • Java.lang.Error: java.util.zip.ZipException: The system cannot find the fil

    I got maven 221 installed
    i got jdk 1.6 and 1.5 installed (have tested both)
    I have a strange error. All my co-workers can build but I cant. The only thing I can find is that I dont have installed BEA Weblogic but I dont want to have that installed. It should be able to run anyway.
    Could someone tell me what is wrong? If you need pom.xml I got that one as well.
    process-classes:
    [copy] Copying 4 files to C:\hudson\jobs\albpm_ip-identity-asserter_-_Build\workspace\target\mbean-content
    [mkdir] Created dir: C:\hudson\jobs\albpm_ip-identity-asserter_-_Build\workspace\target\mbean-jar
    [java] Creating an MJF from the contents of directory C:\hudson\jobs\albpm_ip-identity-asserter_-_Build\workspace\target\mbean-content...
    [java] Compiling the files...
    [java] Creating the list.
    [java] Doing the compile.
    [java] WLMaker-SubProcess: : Exception in thread "main" java.lang.Error: java.util.zip.ZipException: The system cannot find the file specified
    [java] WLMaker-SubProcess: :      at weblogic.management.commo.BeanGenDriver.getManagementTempDir(BeanGenDriver.java:93)
    [java] WLMaker-SubProcess: :      at weblogic.management.commo.BeanGenDriver.main(BeanGenDriver.java:117)
    [java] WLMaker-SubProcess: : Caused by: java.util.zip.ZipException: The system cannot find the file specified
    [java] WLMaker-SubProcess: :      at java.util.zip.ZipFile.open(Native Method)
    [java] WLMaker-SubProcess: :      at java.util.zip.ZipFile.<init>(ZipFile.java:203)
    [java] WLMaker-SubProcess: :      at java.util.jar.JarFile.<init>(JarFile.java:132)
    [java] WLMaker-SubProcess: :      at java.util.jar.JarFile.<init>(JarFile.java:97)
    [java] WLMaker-SubProcess: :      at weblogic.management.commo.BeanGenDriver.getManagementTempDir(BeanGenDriver.java:90)
    [java] WLMaker-SubProcess: :      ... 1 more
    [java] WLMaker-SubProcess: : Stopped draining WLMaker-SubProcess:
    [java] WLMaker-SubProcess: : Stopped draining WLMaker-SubProcess:
    [java] BeanGen code generation failed
    [HUDSON] Archiving C:\hudson\jobs\albpm_ip-identity-asserter_-Build\workspace\pom.xml to C:\hudson\jobs\albpmip-identity-asserter_-Build\modules\dk.skat.ip.integration.albpm$ip-identity-asserter\builds\2010-11-2213-41-28\archive\dk.skat.ip.integration.albpm\ip-identity-asserter\1.2\pom.xml
    [INFO] ------------------------------------------------------------------------

    from my experience, using weblogic jars can be a pain if the full install is not on the local box.
    Note that you dont have to 'install' it. Just copy the directory.
    Reason is that the jar files have manifests with relative classpaths.
    For an example of horror take a look at the weblogic.jar MANIFEST's classpath entry.
    -Fred

  • "system cannot find the file specified" when launching a java app

    Hi,
    we are receiving an error message saying "The system cannot find the file specified" when launching a java app on a server. Exactly the same configuration on another server does not give the same problem.
    The dialog box with the error message only presents one button - OK - and after pressing the button the app continues to run normally. This however is a big problem for us as we are trying to convert the apps into system services using the wrapper (http://wrapper.tanukisoftware.org).
    Note: the problem exibits itself with and without the use of the wrapper.
    I am not very comfortable about reinstalling the JRE on a production server. Is there any way to see what file it is missing? Debug options or something similar?
    The JRE in question is 1.4.2_06. Many thanks in advance for your answers.

    if not setting Post-Processing option results in a cryptic error why doesn't Adobe do one of at least three things?
    1. Don't let user click Export on Export dialog if nothing's selected for Post-Processing.
    2. Default Post-Processing to Do Nothing
    3. Give the user a hint as to what the problem is when the error occurs instead of issuing cryptic error message.
    Allowing this error to persist for so long is ridiculous.

  • Java Studio Enterprise 8.1 and jdk1.6 - cannot find symbol

    Hi,
    I am using subj. The problem I have is that I declared 2-3 classes with methods in one package. I made an object of the class and use intellisense to navigate to the method I need but when I try to compile the code I have "cannot find symbol" error on the method I intellisensed to. It seems to me that it is IDE problem.
    Does anyone know how to work around it?
    The code is below, in case you are interested.
    package webservice;
    import java.io.*;
    public class Main {
    /** Creates a new instance of Main */
    public Main() {
    * @param args the command line arguments
    public static void main(String[] args) {
    String filename = null;
    String timestamp = null;
    try {
    Q q = new Q();
    timestamp = "2007-06-01";
    QList ql = q.getList(timestamp);
    System.out.println("--------------Ok-------------");
    catch(Exception e) {
    System.out.println("An Exception thrown in Main(). e = "+e.toString());
    package webservice;
    public class Q {
    public Q() {
    public QList getList(String timestamp) {
    QList result = null;
    return result;
    Thanks,
    Dmitry

    Thanks for that Kris.
    I found the root of my problem. In this example I used a remote webservice to retrieve some data. It happened to be that the generated class file from wsdl and my custom class had the same name.
    So, instead of reporting as ambiguous definition error the ide picked up the wrong class and did not find the method I intended to use.
    Hopefully it will help someone else having the same problem.
    Dmitry

  • Java Error : cannot find symbol , symbol : class (jdk 1.6.0)

    Dear All,
    Please help me.
    I am running javac from a .bat file and i set the classpath in the bat file as follows.
    echo on
    :start
    set classpath = "C:\Program Files\Java\jdk1.6.0\bin;"
    set classpath = "C:\Program Files\Java\jdk1.6.0\jre\..\lib\tools.jar;C:\Program Files\Java\jdk1.6.0\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0\jre\lib\i18n.jar;C:\Program Files\Java\jdk1.6.0\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.6.0\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0\jre\lib\jce.jar;C:\Program Files\Java\jdk1.6.0\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.6.0\jre\classes;C:\Program Files\Java\jdk1.6.0\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.6.0\jre\lib\ext\ldapsec.jar;C:\Program Files\Java\jdk1.6.0\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.6.0\jre\lib\ext\mysql-connector-java-5.0.0-beta-bin.jar;C:\Program Files\Java\jdk1.6.0\jre\lib\ext\sunjce_provider.jar; C:\Program Files\Java\jdk1.6.0\ideset\system;C:\Program Files\Java\jdk1.6.0\ideset\system;C:\Program Files\Java\jdk1.6.0\studio\system;C:\Program Files\Java\jdk1.6.0\studio\modules\ext\j2ee-1.3.jar;C:\Program Files\Java\jdk1.6.0\studio\modules\ext\jaas-1.0.jar;C:\Program Files\Java\jdk1.6.0\studio\modules\autoload\activation.jar;C:\Program Files\Java\jdk1.6.0\studio\modules\ext\jms-1.0.2b.jar;C:\Program Files\Java\jdk1.6.0\studio\modules\ext\jta-spec1_0_1.jar;C:\Program Files\Java\jdk1.6.0\studio\modules\autoload\mail.jar;C:\Program Files\Java\jdk1.6.0\studio\modules\ext\AbsoluteLayout.jar;C:\Program Files\Java\jdk1.6.0\studio\modules\ext\sql.jar;C:\Program Files\Java\jdk1.6.0\studio\modules\ext\rowset.jar;C:\Program Files\Java\jdk1.6.0\studio\lib\ext\jdbc20x.zip;C:\Program Files\Java\jdk1.6.0\studio\modules\ext\servlet-2.3.jar;C:\Program Files\Java\jdk1.6.0\studio\beans\TimerBean.jar;c:\Program Files\Java\jdk1.6.0\ideset\tomcat401_base;C:\sms\com\;"
    cd C:\sms
    javac mainP.java
    pause
    i have few class files which are inherited to the main program using ' import com.Connection; '
    i am getting errors like
    mainP.java:482: cannot find symbol
    symbol : class Connection
    location: class mainP
    Connection connection = new Connection(ipAddress, port);
    I think it is because of some classpath error.
    please advice me.......
    Viju

    Actually, you have NO CLUE what he's trying to doActually he said what he is trying to do in his posting. It's no mystery. But that's all the information that's available. If you know something that isn't posted here why not say so?
    Your reply was a snide, rude, "You're stupid for doing it that way" answerMy reply was neither snide nor rude and implied none of what you impute to it. It was a proper and constructive suggestion. You are entitled to disagree with it, but that doesn't justify this immoderate outburst.
    Bottom line is, you chose to be nastyBottom line is you're just making this up. You are imputing motives to me without evidence. Don't do that.
    You are the type of person that makes searching forums and posting questions for assistance a near waste of time.I doubt that you'll find many regulars here that would agree with that assertion. When you have made over 16,000 posts here over ten years as I have, come back and we'll discuss it some more.
    Go back to grade school and ...I suggest you try it yourself. You're not adding anything except noise to the discussion. Try curbing your temper, and while you're at it have a good look at the Code of Conduct for these forums. You're verging on personal abuse here.
    And, additionally, I've used ANT in the past. Batch files are FAR AND AWAY easier to set up.In your opinion. I disagree entirely, and I have eleven years' experience with Java to back it up.
    As for CLASSPATH, I haven't done anything about setting it beyond installing the JDK since about 1999, and it has a dot in it as we speak.

  • Cannot find symbl method update Date(int,java.util.Date)

    I get following error
    cannot find symbl method update Date(int,java.util.Date) on compling class called GuestDataBean at line ( rowSet.updateDate( 4, guest.getDate() ); ).
    GustBean.java. I need help on why I get it.
    // JavaBean to store data for a guest in the guest book.
    package com.deitel.jhtp6.jsp.beans;
    import java.util.*;
    public class GuestBean
       private String firstName;
       private String lastName;
       private String email;
       private Date date;
       private String message;
       //Constructors
       public GuestBean(){
            public GuestBean(String firstname, String lastname, String email,Date date,String message){
                 this.firstName=firstname;
                 this.lastName=lastName;
                 this.email=email;
                 this.date=date;
                 this.message=message;
       // set the guest's first name
       public void setFirstName( String name )
          firstName = name; 
       } // end method setFirstName
       // get the guest's first name
       public String getFirstName()
          return firstName; 
       } // end method getFirstName
       // set the guest's last name
       public void setLastName( String name )
          lastName = name; 
       } // end method setLastName
       // get the guest's last name
       public String getLastName()
          return lastName; 
       } // end method getLastName
       // set the guest's email address
       public void setEmail( String address )
          email = address;
       } // end method setEmail
       // get the guest's email address
       public String getEmail()
          return email; 
       } // end method getEmail
       public void setMessage( String mess)
          message = mess;
       } // end method setEmail
       // get the guest's email address
       public String getMessage()
          return message; 
       } // end method getEmail
       public void setDate( Date dat )
          date = dat;
       } // end method setEmail
       // get the guest's email address
       public Date getDate()
          return date; 
       } // end method getEmail
    } // end class GuestBean
    GuestDataBean.java/**
    * @(#)GuestDataBean.java
    * @author
    * @version 1.00 2008/7/18
    // Class GuestDataBean makes a database connection and supports
    // inserting and retrieving data from the database.
    package com.deitel.jhtp6.jsp.beans;
    import java.sql.SQLException;
    import javax.sql.rowset.CachedRowSet;
    import java.util.ArrayList;
    import com.sun.rowset.CachedRowSetImpl; // CachedRowSet implementation
    import java.sql.*;
    public class GuestDataBean
       private CachedRowSet rowSet;
       // construct TitlesBean object
       public GuestDataBean() throws Exception
          // load the MySQL driver
          Class.forName( "org.gjt.mm.mysql.Driver" );
          // specify properties of CachedRowSet
          rowSet = new CachedRowSetImpl(); 
          rowSet.setUrl( "jdbc:mysql://localhost:3306/virsarmedia" );
          rowSet.setUsername( "root" );
          rowSet.setPassword( "" );
           // obtain list of titles
          rowSet.setCommand(
             "SELECT firstName, lastName, email,date,message FROM guest" );
          rowSet.execute();
       } // end GuestDataBean constructor
       // return an ArrayList of GuestBeans
       public ArrayList< GuestBean > getGuestList() throws SQLException
          ArrayList< GuestBean > guestList = new ArrayList< GuestBean >();
          rowSet.beforeFirst(); // move cursor before the first row
          // get row data
          while ( rowSet.next() )
             GuestBean guest = new GuestBean();
             guest.setFirstName( rowSet.getString( 1 ) );
             guest.setLastName( rowSet.getString( 2 ) );
             guest.setEmail( rowSet.getString( 3 ) );
             guest.setDate( rowSet.getDate( 4 ) );
             guest.setMessage( rowSet.getString( 5 ) );
             guestList.add( guest );
          } // end while
          return guestList;
       } // end method getGuestList
       // insert a guest in guestbook database
       public void addGuest( GuestBean guest ) throws SQLException
          rowSet.moveToInsertRow(); // move cursor to the insert row
          // update the three columns of the insert row
          rowSet.updateString( 1, guest.getFirstName() );
          rowSet.updateString( 2, guest.getLastName() );
          rowSet.updateString( 3, guest.getEmail() );
          rowSet.updateDate( 4, guest.getDate() );
          rowSet.updateString( 5, guest.getMessage() );
          rowSet.insertRow(); // insert row to rowSet
          rowSet.moveToCurrentRow(); // move cursor to the current row
          rowSet.commit(); // propagate changes to database
       } // end method addGuest
    } // end class GuestDataBean

    This isn't a JSP question, it better belongs in the JavaProgramming, or JDBC forums.
    But the problem is because the updateDate method uses a java.sql.Date object and you are giving it a java.util.Date object. You have to convert from java.util.Date to java.sql.Date. See: [the api for java.sql.Date|http://java.sun.com/javase/6/docs/api/java/sql/Date.html] .
    Edited by: stevejluke on Jul 21, 2008 5:43 PM

  • Java.lang.RuntimeException: Cannot find FacesContext

    Error 500--Internal Server Error
    java.lang.RuntimeException: Cannot find FacesContext
         at javax.faces.webapp.UIComponentClassicTagBase.getFacesContext(UIComponentClassicTagBase.java:1855)
         at javax.faces.webapp.UIComponentClassicTagBase.setJspId(UIComponentClassicTagBase.java:1672)
         at jsp_servlet.__servicemethod_jspx._jspx___tag0(__servicemethod_jspx.java:90)
         at jsp_servlet.__servicemethod_jspx._jspService(__servicemethod_jspx.java:65)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:326)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    *** Using port 7101 ***
    "C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\bin\startWebLogic.cmd"
    [waiting for the server to complete its initialization...]
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m
    WLS Start Mode=Development
    CLASSPATH=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\ext\jdbc\oracle\11g\ojdbc6dms.jar;C:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.3.0.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;C:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar
    PATH=C:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\native;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1\bin;C:\Oracle\MIDDLE~1\JDK160~1\jre\bin;C:\Oracle\MIDDLE~1\JDK160~1\bin;C:\OracleBI\web\bin;C:\OracleBI\web\catalogmanager;C:\OracleBI\SQLAnywhere;C:\Program Files\Java\jdk1.5.0_15\bin;C:\OracleBI\server\Bin;C:\ADE\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\emacs\bin;c:\PROGRAM FILES\TERATERM;C:\CYGWIN\BIN;c:\Program Files\WinZip;\\StCifsRR1.us.oracle.com\packages\windows\packages\farm\farm;\\StCifsRR1.us.oracle.com\packages\windows\packages\farm\sfe\generic;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    java version "1.6.0_18"
    Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
    Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode)
    Starting WLS with line:
    C:\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Djavax.net.ssl.trustStore=C:\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks -Dhttp.proxyHost=www-proxy.us.oracle.com -Dhttp.proxyPort=80 "-Dhttp.nonProxyHosts=*oraclecorp.com|*oracle.com|localhost|localhost.localdomain|127.0.0.1|::1|sgodavar-pc.us.oracle.com|sgodavar-pc" -Dhttps.proxyHost=www-proxy.us.oracle.com -Dhttps.proxyPort=80 "-Dhttps.nonProxyHosts=*oraclecorp.com|*oracle.com|localhost|localhost.localdomain|127.0.0.1|::1|sgodavar-pc.us.oracle.com|sgodavar-pc" -Dweblogic.nodemanager.ServiceEnabled=true -Xverify:none -da -Dplatform.home=C:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Djps.app.credential.overwrite.allowed=true -Ddomain.home=C:\DOCUME~1\sgodavar\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1 -Dcommon.components.home=C:\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=C:\DOCUME~1\sgodavar\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1 -Doracle.server.config.dir=C:\DOCUME~1\sgodavar\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.security.jps.config=C:\DOCUME~1\sgodavar\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=C:\DOCUME~1\sgodavar\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\DOCUME~1\sgodavar\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\arisidprovider -Dweblogic.alternateTypesDirectory=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\DOCUME~1\sgodavar\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\oracle\store\gmds -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath weblogic.Server
    <Oct 5, 2010 10:31:50 AM PDT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 16.0-b13 from Sun Microsystems Inc.>
    <Oct 5, 2010 10:31:51 AM PDT> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 >
    <Oct 5, 2010 10:31:53 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Oct 5, 2010 10:31:53 AM PDT> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <Oct 5, 2010 10:31:53 AM PDT> <Notice> <LoggingService> <BEA-320400> <The log file C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Oct 5, 2010 10:31:53 AM PDT> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log00009. Log messages will continue to be logged in C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log.>
    <Oct 5, 2010 10:31:53 AM PDT> <Notice> <Log Management> <BEA-170019> <The server log file C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
    <Oct 5, 2010 10:32:01 AM PDT> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Oct 5, 2010 10:32:06 AM PDT> <Notice> <LoggingService> <BEA-320400> <The log file C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\access.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Oct 5, 2010 10:32:06 AM PDT> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\access.log00005. Log messages will continue to be logged in C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\access.log.>
    <Oct 5, 2010 10:32:20 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <Oct 5, 2010 10:32:20 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Oct 5, 2010 10:32:30 AM PDT> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application BrowseEditApp is not versioned.>
    <Oct 5, 2010 10:32:46 AM PDT> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application methodActionInvokeAction is not versioned.>
    <Oct 5, 2010 10:33:21 AM PDT> <Notice> <LoggingService> <BEA-320400> <The log file C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Oct 5, 2010 10:33:21 AM PDT> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log00009. Log messages will continue to be logged in C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log.>
    <Oct 5, 2010 10:33:21 AM PDT> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    <Oct 5, 2010 10:33:24 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <Oct 5, 2010 10:33:24 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <Oct 5, 2010 10:33:24 AM PDT> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Oct 5, 2010 10:33:24 AM PDT> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 144.25.110.215:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Oct 5, 2010 10:33:24 AM PDT> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
    <Oct 5, 2010 10:33:25 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <Oct 5, 2010 10:33:25 AM PDT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    IntegratedWebLogicServer startup time: 101421 ms.
    IntegratedWebLogicServer started.
    [Running application service_method_app on Server Instance IntegratedWebLogicServer...]
    [10:33:28 AM] ---- Deployment started. ----
    [10:33:28 AM] Target platform is (Weblogic 10.3).
    [10:33:31 AM] Retrieving existing application information
    [10:33:32 AM] Running dependency analysis...
    [10:33:32 AM] Deploying 2 profiles...
    [10:33:34 AM] Wrote Web Application Module to C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\service_method_app\ViewControllerWebApp.war
    [10:33:36 AM] Wrote Enterprise Application Module to C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\service_method_app
    [10:33:36 AM] Deploying Application...
    <Oct 5, 2010 10:33:37 AM PDT> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application service_method_app is not versioned.>
    [10:33:50 AM] Application Deployed Successfully.
    [10:33:50 AM] The following URL context root(s) were defined and can be used as a starting point to test your application:
    [10:33:50 AM] http://144.25.110.215:7101/service_method_app-ViewController-context-root
    [10:33:50 AM] Elapsed time for deployment: 22 seconds
    [10:33:50 AM] ---- Deployment finished. ----
    Run startup time: 22250 ms.
    [Application service_method_app deployed to Server Instance IntegratedWebLogicServer]
    Target URL -- http://127.0.0.1:7101/service_method_app-ViewController-context-root/servicemethod.jspx
    <Oct 5, 2010 10:33:51 AM PDT> <Error> <HTTP> <BEA-101020> <[ServletContext@5299877[app:service_method_app module:service_method_app-ViewController-context-root path:/service_method_app-ViewController-context-root spec-version:2.5]] Servlet failed with Exception
    java.lang.RuntimeException: Cannot find FacesContext
         at javax.faces.webapp.UIComponentClassicTagBase.getFacesContext(UIComponentClassicTagBase.java:1855)
         at javax.faces.webapp.UIComponentClassicTagBase.setJspId(UIComponentClassicTagBase.java:1672)
         at jsp_servlet.__servicemethod_jspx._jspx___tag0(__servicemethod_jspx.java:90)
         at jsp_servlet.__servicemethod_jspx._jspService(__servicemethod_jspx.java:65)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         Truncated. see log file for complete stacktrace
    >
    <Oct 5, 2010 10:33:51 AM PDT> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at Oct 5, 2010 10:33:51 AM PDT. Notification details:
    WatchRuleType: Log
    WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
    WatchData: DATE = Oct 5, 2010 10:33:51 AM PDT SERVER = DefaultServer MESSAGE = [ServletContext@5299877[app:service_method_app module:service_method_app-ViewController-context-root path:/service_method_app-ViewController-context-root spec-version:2.5]] Servlet failed with Exception
    java.lang.RuntimeException: Cannot find FacesContext
         at javax.faces.webapp.UIComponentClassicTagBase.getFacesContext(UIComponentClassicTagBase.java:1855)
         at javax.faces.webapp.UIComponentClassicTagBase.setJspId(UIComponentClassicTagBase.java:1672)
         at jsp_servlet.__servicemethod_jspx._jspx___tag0(__servicemethod_jspx.java:90)
         at jsp_servlet.__servicemethod_jspx._jspService(__servicemethod_jspx.java:65)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:326)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = sgodavar-pc TXID = CONTEXTID = 15a0f7a52bec9522:45602610:12b7d74678b:-8000-0000000000000014 TIMESTAMP = 1286300031515
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000
    >
    <Oct 5, 2010 10:33:55 AM PDT> <Alert> <Diagnostics> <BEA-320016> <Creating diagnostic image in c:\documents and settings\sgodavar\application data\jdeveloper\system11.1.1.3.37.56.60\defaultdomain\servers\defaultserver\adr\diag\ofm\defaultdomain\defaultserver\incident\incdir_4 with a lockout minute period of 1.>

    Wow, I like stack traces ;-)
    No indication what you try to do, no information about your environment either.
    What I see is that the URL you use to start the app (if it is an app) has a suffix '.jspx' in it. This is normally not the case for Fusion Web apps. And the 'faces' part of the url is missing. So try http://127.0.0.1:7101/service_method_app-ViewController-context-root/faces/servicemethodTimo
    @John: same idea :-) You beat me again...

  • Issue with Java WebDynpro iView Cannot find JSP file: WDC_ControlJRE.jsp

    Running NW 7.0 SP16...
    We have a WD Java app which runs fine on its own.
    But I created an iVIew using the SAP WD App iview template.
    The iview throws an error when attempting to run/preview.
    The default trace file says:
    [EXCEPTION]
    com.sapportals.portal.prt.component.PortalComponentException: Cannot find JSP file: WDC_ControlJRE.jsp
    at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:139)
    at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:355)
    at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
    at com.sapportals.portal.prt.component.AbstractComponentResponse.include(AbstractComponentResponse.java:89)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:232)
    at com.sapportals.portal.appintegrator.Utils.includeJSP(Utils.java:220)
    at com.sapportals.portal.sapapplication.webdynpro.wdclient.JavaRenderLayer.render(JavaRenderLayer.java:34)
    at com.sapportals.portal.appintegrator.LayerProcessor.processContentPass(LayerProcessor.java:219)
    at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContentPass(AbstractIntegratorComponent.java:117)
    at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContent(AbstractIntegratorComponent.java:98)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.doPreview(AbstractPortalComponent.java:240)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:168)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Any ideas?
    Regards

    Killing due to no answers.

  • Cannot find java classes in PDK

    we cannot find the java.classes
    oracle.webdb.portlet.Portlet;
    oracle.webdb.portlet.PortletInfo;
    oracle.webdb.portlet.PortletUtils;
    we need them for developing portlets.
    Thomas
    null

    The definitive article: [Mastering the Java Classpath|http://www.kevinboone.com/classpath.html].
    ... and actually do the exercise therein.
    See you an hour or so if you're still stuck (which you won't be).
    Cheers. Keith.

  • Java.io.FileNotFoundException: test.txt (The system cannot find the file sp

    Hi All,
    am getting the following error, help me out. Thanks in advance...
    java.io.FileNotFoundException: test.txt (The system cannot find the file specified)
         java.io.FileInputStream.open(Native Method)
         java.io.FileInputStream.<init>(FileInputStream.java:106)
         java.io.FileInputStream.<init>(FileInputStream.java:66)
         BinaryStreamServlet.doGet(BinaryStreamServlet.java:13)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    I have placed "test.txt" in the path"D:\Backup\Tomcat web server\apache-tomcat-6.0.14\webapps\examples\WEB-INF\classes\test.txt".
    web.xml entry is as follows,
    <servlet>
    <servlet-name>demoservlet2</servlet-name>
    <servlet-class>BinaryStreamServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>demoservlet2</servlet-name>
    <url-pattern>/demoservlet2</url-pattern>
    </servlet-mapping>
    Source code:
    import java.io.*;
    import java.net.*;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class BinaryStreamServlet extends HttpServlet{
    public void doGet(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException{     
    response.setContentType("text/plain"); /* set the MIME type */
         File f= new File("test.txt");
         byte[] arBytes = new byte[(int) f.length()];
         FileInputStream is= new FileInputStream("test.txt");
         is.read(arBytes);
         OutputStream os = response.getOutputStream();
         os.write(arBytes);
         os.flush();
    }

    I have one Drivers.xml file in /WEB-INF that i want to read .but everytime i get exception file not found..
    i m trying to read this xml file in DriverUtilties.java (a non servlet class)
    inside of /WEB-INF/classess folder is there and hierarchy for non-servlet class DriverUtilties is :- com.dds.apps.ptes.pidentifier.admin.util.common.DriverUtilties
    what code shall i write so that i can read the xml file. ???
    where i set in classpath ?
    MYCODE is like this :
    public static final String DEFAULT_FILE = "/WEB-INF/drivers.xml";
    InputStream in = new FileInputStream(DEFAULT_FILE);
    Thanks in advance

  • Error in Java compilation: \s7u.log (The system cannot find the file specified)

    Hi there,
    I got an error when I tried to compile a group of sqlj and java files. The error below:
    ----------------------------------------------sqlj -status -passes -compile=true -ser2class -d=. -classpath=.;%CLASSPATH% E:\work\src\java\com\interadnet\persistence\*.sqlj E:\work\src\java\com\interadnet\persistence\*.java
    out [Translating 53 files]
    out [Reading file AdServerInformationType]
    out [Reading file AdsType]
    out [Reading file AgencyType]
    out [Reading file CampaigntocompletionType]
    out [Reading file CampaignType]
    out [Reading file ChannelType]
    out [Reading file ClientType]
    out [Reading file CompletionType]
    out [Reading file ContactType]
    out [Reading file CreativeType]
    out [Reading file FtpServerType]
    out [Reading file InsertioninstructionType]
    out [Reading file MediaServerType]
    out [Reading file SystemPropertyType]
    out [Reading file VendorType]
    out [Reading file AdServerInformationTypeRef]
    out [Reading file AdServerInformationView]
    out [Reading file AdsTypeRef]
    out [Reading file AdsView]
    out [Reading file AgencyTypeRef]
    out [Reading file AgencyView]
    out [Reading file CampaigntocompletionTypeRef]
    out [Reading file CampaignToCompletionView]
    out [Reading file CampaignTypeRef]
    out [Reading file CampaignTypeRefs]
    out [Reading file CampaignView]
    out [Reading file ChannelTypeRef]
    out [Reading file ChannelTypeRefs]
    out [Reading file ChannelView]
    out [Reading file ClientTypeRef]
    out [Reading file ClientTypeRefs]
    out [Reading file ClientView]
    out [Reading file CompletionTypeRef]
    out [Reading file CompletionTypeRefs]
    out [Reading file CompletionView]
    out [Reading file ContactTypeRef]
    out [Reading file ContactView]
    out [Reading file CreativeTypeRef]
    out [Reading file CreativeTypeRefs]
    out [Reading file CreativeView]
    out [Reading file FtpServerTypeRef]
    out [Reading file FtpServerView]
    out [Reading file InsertioninstructionTypeRef]
    out [Reading file InsertioninstructionTypeRefs]
    out [Reading file InsertionInstructionView]
    out [Reading file MediaServerTypeRef]
    out [Reading file MediaServerView]
    out [Reading file SystemPropertyTypeRef]
    out [Reading file SystemPropertyTypeRefs]
    out [Reading file SystemPropertyView]
    out [Reading file VendorTypeRef]
    out [Reading file VendorTypeRefs]
    out [Reading file VendorView]
    out [Translating file AdServerInformationType]
    out [Translating file AdsType]
    out [Translating file AgencyType]
    out [Translating file CampaigntocompletionType]
    out [Translating file CampaignType]
    out [Translating file ChannelType]
    out [Translating file ClientType]
    out [Translating file CompletionType]
    out [Translating file ContactType]
    out [Translating file CreativeType]
    out [Translating file FtpServerType]
    out [Translating file InsertioninstructionType]
    out [Translating file MediaServerType]
    out [Translating file SystemPropertyType]
    out [Translating file VendorType]
    out [Translating file AdServerInformationTypeRef]
    out [Translating file AdServerInformationView]
    out [Translating file AdsTypeRef]
    out [Translating file AdsView]
    out [Translating file AgencyTypeRef]
    out [Translating file AgencyView]
    out [Translating file CampaigntocompletionTypeRef]
    out [Translating file CampaignToCompletionView]
    out [Translating file CampaignTypeRef]
    out [Translating file CampaignTypeRefs]
    out [Translating file CampaignView]
    out [Translating file ChannelTypeRef]
    out [Translating file ChannelTypeRefs]
    out [Translating file ChannelView]
    out [Translating file ClientTypeRef]
    out [Translating file ClientTypeRefs]
    out [Translating file ClientView]
    out [Translating file CompletionTypeRef]
    out [Translating file CompletionTypeRefs]
    out [Translating file CompletionView]
    out [Translating file ContactTypeRef]
    out [Translating file ContactView]
    out [Translating file CreativeTypeRef]
    out [Translating file CreativeTypeRefs]
    out [Translating file CreativeView]
    out [Translating file FtpServerTypeRef]
    out [Translating file FtpServerView]
    out [Translating file InsertioninstructionTypeRef]
    out [Translating file InsertioninstructionTypeRefs]
    out [Translating file InsertionInstructionView]
    out [Translating file MediaServerTypeRef]
    out [Translating file MediaServerView]
    out [Translating file SystemPropertyTypeRef]
    out [Translating file SystemPropertyTypeRefs]
    out [Translating file SystemPropertyView]
    out [Translating file VendorTypeRef]
    out [Translating file VendorTypeRefs]
    out [Translating file VendorView]
    out [Compiling 53 Java files]
    err*** The following character string is too long:
    err***
    out Error in Java compilation: \s7u.log (The system cannot find the file specified)
    Any suggestion appreciated.
    Daniel Huang

    Having not seen this before, I assume that the issue is that the command line string is too long when Javac is invoked.
    Here are a few things to reduce the size of the command line:
    - do not use the CLASSPATH option, but set the CLASSPATH environment variable (you can to that in a .bat file)
    - do not provide the .java files but rely on the implicit make capability in both, the SQLJ translator and the Java compiler. (Note: you must mention all of the .sqlj files that your program requires, do not rely on implicit make to find all of those.)
    - you can perform the -ser2class conversion as a separate step (see the SQLJ FAQ), as well as the Java compilation
    - there may or may not be a facility in your operating system to increase the size of the environment (and this may or may not have an effect on the maximum command line length)
    - you could try to omit the -passes option and see if that helps (that may actually be where your invocation if failing in the first place, in that it cannot write to some temporary file).
    Let us know how it goes. Thanks!

Maybe you are looking for

  • Asset cost center assignment missing in purchase req or purchase order

    Has anyone else ever encountered this?  When we create a purchase requsition for assets, the cost assignment is determined from the existing asset. Most assets bring over the cost center into the account assignment. A few do not.  FMDERIVE shows the

  • MOVED: How do I increase dedicated video memory?

    This topic has been moved to MSI AMD boards. https://forum-en.msi.com/index.php?topic=183251.0

  • Print Payment Advices

    Hi, Is there any transaction which we can use to Print Payment Advice. Thanks, Srini

  • Bid invitation upload option

    Hi all, We are working on SRM EBP bid invitation with SRM 5.0. While creating the bid invitation we have an upload option through which we can upload from an excel sheet the products for which the bid invitation is to be sent at the item level. Can a

  • Won't print 5x7 photos

    I cannot print a 5 x 7 photo using my POwer PC G4 with OS 10.4.11 on a HP 5550 inkjet printer.It seems likethe printer won't print this size. Is there a work around?Gerrbear