Jar command throwing error

Hi,
I'm trying to extract a war file via the jar command; however, when I issue:
jar -xvf MyWarFile.war
I'm recieving :java.io.IOException: META-INF : could not create directory
at sun.tools.jar.Main.extractFile(Main.java:699)
at sun.tools.jar.Main.extract(Main.java:677)
at sun.tools.jar.Main.run(Main.java:189)
at sun.tools.jar.Main.main(Main.java:903)
I am giving proper path where the war file is located.
Can someone tell why jar is not being extracted and this error is coming?
Thanks

It happens due to an incorrectly created war file when using the counterpart command jar -cvf. Make sure the war you have created does not have any missing directories or incorrect path.

Similar Messages

  • Export command throws error?

    Hi All,
    Greeting to all,
    As i try to extract whole repository by export command,it throws error las below and doesn't export all xml files under repository.Although it exports many of files but not all.
    So,can anyone give some suggestion why it comes and how to solve it?
    java.lang.NullPointerException
    java.lang.NullPointerException
    at com.waveset.session.Exporter.exportObjects(Exporter.java:481)
    at com.waveset.session.Exporter.exportObjects(Exporter.java:177)
    at com.waveset.session.Exporter.exportObjects(Exporter.java:291)
    at com.waveset.session.LocalSession.exportObjects(LocalSession.java:4567)
    at com.waveset.session.WavesetConsole.cmdExport(WavesetConsole.java:1459)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.waveset.util.Console.callMethod(Console.java:555)
    at com.waveset.util.Console.doCommand(Console.java:345)
    at com.waveset.util.Console.interactiveConsole(Console.java:239)
    at com.waveset.util.Console.run(Console.java:95)
    at com.waveset.session.WavesetConsole.start(WavesetConsole.java:323)
    at com.waveset.session.WavesetConsole.main(WavesetConsole.java:209)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.waveset.util.Command.runMain(Command.java:196)
    at com.waveset.util.Command.launch(Command.java:175)
    at com.waveset.util.Command.main(Command.java:303)
    Thanks,
    Nadeeb

    1. where is my tcsh history file?
    You need to configure tcsh to save history. Something like this in .tcshrc or .login
    set histdup=erase
    set history=500
    set savehist=500
    The file .history will be created by the shell.
    2. How to hinder the grayed out history in my tcsh window at start up?
    I'm guessing that sourcing perlbrew's bashrc is screwing up tcsh when it attempts to read it. The path of least resistance would be to change your shell to bash so you can use perlbrew. If you want to keep tcsh as your interactive shell then source perlbrew's bashrc in the .bashrc in your home directory. Create a bash sub-shell by typing bash in your tcsh shell.

  • Jar file throw errors when running

    Hi all.
    I am working with Eclipse IDE. It has a wizard to create a jar file.
    When I am running the program via the Eclipse it runs fine!!!
    But, when I am running with command line I am getting the following error:
    Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: com/starb
    ase/diff/DiffException
    at compareViews.CompareViews$1.run(CompareViews.java:40)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(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)

    You need to include the libs you use either into the classpath or into the JAR you create (via ANT, for instance).

  • SSRS dataset throws error when another stored procedure is called inside dataset stored procedure

    Hello;
    I am using Report Build 3.0, I have a simple report which gets data using dataset which is created from a Stored Procedure. I have another stored procedure which updates the data in the table which is used for the report. I want to get the live data on report everytime
    the report is run so that I call that stored procedure (sp_updatedata) inside my report dataset stored procedure and here where my report fails as it throws error while creating dataset.
    Here is sample:
    sp_updatedata (this only returns "Command(s) completed successfully"
    Create Proce sp_getReportData
    As
    Begin
    Exec sp_updatedata -- I call it to update the data before it displays on the report
    Select * from customers
    End
    If I remove this line it works.
    Exec sp_updatedata -- I call it to update the data before it displays on the report
    Thanks
    Essa Mughal

    Hi MESSA,
    According to your description, you create a dataset based on a stored procedure. In this procedure, it calls another procedure. Now it throws error when creating dataset. Right?
    In Reporting Services, when creating dataset, all the query or stored procedure will be executed in SSMS. So if the procedure can be executed in SSMS, it supposed to be working in SSRS. However, it has a limitation in SSRS. In a dataset, it can only return
    one result set.
    In this scenario, I don't think it's the issue of calling other procedure inside of procedure. Because we tested in our local environment, it works fine. I guess the sp_updatedata returns a result set, and the "select * from customers" returns
    another result set. This might be the reason cause the error.
    Reference:
    Query Design Tools in Report Designer SQL Server Data Tools (SSRS)
    Reporting Services Query Designers
    If you still have any question, please post the error message and the store procedure (sp_updatedata).
    Best Regards,
    Simon Hou

  • Lenovo System Update Broken, IA.exe command path error

    Hello, I've been fighitng with Lenovo system update through out the years for various issues, but I believe I've found a new error that all my searching doesn't seem to cover. When I do a fresh image of Windows 8.1 and install system update, it works for the first and sometimes second run and reboot. But after these first uses, it completely fails, along with System Health and some of the other Lenovo software. I've managed through some trial and error and looking through the logs to narrow this down to the IA.exe program and the command being sent to gather information. Here is the command found in the tvsu logs: /execute ia.exe /arguments -filename$C:\Program Files (x86)\Lenovo\System Update\egather\sysrecomin$ -probes REGIONAL_SETTINGS GATHERER_INFORMATION SYSTEM_SUMMARY -local /directory $C:\Program Files (x86)\Lenovo\System Update\egather\$ /type COMMAND /timeout 300000 Immediately after this is called, the system calls TVSUCommandLAuncher, and then reports RC eGAther: -1 and that it failed to execute TVIA program and quits. My error in System Update is that it couldn't gather client information. So I took the command and tried to run it myself, having to remove the /execute switch as I wasn't calling this some somewhere else. ia.exe /arguments -filename$C:\Program Files (x86)\Lenovo\System Update\egather\sysrecomin$ -probes REGIONAL_SETTINGS GATHERER_INFORMATION SYSTEM_SUMMARY -local /directory $C:\Program Files (x86)\Lenovo\System Update\egather\$ /type COMMAND /timeout 300000 This when run, will throw "Error: The given path's format is not supported" message. I tinkered with the command line for a while before I figured out what was going on. It seems the "$" being used for the Filename and Directory settings are no longer functioning, and causing the program to not parse properly. I replaced all the $ with " and suddenly I can run the command manually, and it generates the output file properly. Now though I'm still stuck, as there's no way for me to edit the command being called by system update, so it will always improperly format its call and then fail. Does anyone have any idea what in the world is going on here, I can't figure out what would be causing this and why it works the first one or two launches, then never works again. This also causes any lenovo software that uses IA to freeze up, like the system health software from lenovo.

    No, I don't do a silent install due to the license/eula agreements not functioning properly unless you've got an on-site repository.  So its just after imaging via SCCM I'd install system update, run it once to get things installed, and then when I would attempt to run it again, or lenovo system health, they'd be permanently broken.
    On this topic though I believe I sort things out.  I was having issues with the systems later that turned out to be two corrupt files dealing with Windows Store app, and using SFC and DISM to try and repair them fails.  After a lot of searching around I found that someone with Windows 10 preview had the exact same two files corrupted, so my thinking is there's some windows update out there causing issues, and the IA.exe program is affected by these corrupted files.  
    I had to get my win8.1 Install.wim file from the server, and then direct my broken system to use that as the source to do a dism cleanup and restorehealth.  Once it completed it repored it was able to fix the two files and I've not had any more problems and was able to capture the images (previously capture failed because sysprep reported the OS wasn't in a good state). 
    I've still not gone and tried to install the realtek audio driver that I know caused the break, but thats just due to time limits with the project, if I have some time I'll try and install and see if things still function afterwards.  
    So to break down the events:
    Clean Win8.1 Retail image, used SCCM to deploy onto a machine, run windows updates on the machine and install Lenovo System Update.  Things looked okay until I would try to run System update a second time after rebooting, then it was broken due to IA not being able to gather data.  Later after SFC and DISM scans was able to see that two files were being reported corrupt and unfixable, one I know is related to Store app, other I think is a library file for the Apps.  
    Fixed the files by getting the Install.wim from my iso file, telling the system to use that for the source as the online sources weren't working.  Dism was then able to fix the two files and I could successfully sysprep/capture the system with SCCM tools.  

  • Excel is throwing error when it click print : 'No printers are installed. To install a printer click the File tab, and then click Print. Click No Printers Installed, and then click Add Printer. Follow the instructions in the Add Printer dialog box'

    Excel is throwing error when it click print : 'No printers are installed. To install a printer click the File tab, and then click Print. Click No Printers Installed, and then click Add Printer. Follow the instructions in the Add Printer dialog box'
    Word, and powerpoint application are working fine.  
    Environment :  Windows 7 64-bit, MS Office 2013 64-bit
    Steps to recreate
    (i)  Create new user account and add to any group ( do not log on using this
     account)
      (ii)  runas /user:<new user account>  <fullpath>\excel.exe
       it will ask password so enter on command prompt
    (iii)  open any excel document  and click File->Print
      (iv)  verify result  (it is failing) it pop ups below error
     Error:`Microsoft Excel
     No printers are installed. To install a printer click the File tab, and then click
     Print. Click No Printers Installed, and then click Add Printer. Follow the
     instructions in the Add Printer dialog box.                                                                                                               

    Sorry for late reply i was not at work
    I have a default set excel is still throwing error. Interestingly winword , powerpoint and publisher are working fine. I am able to print from all office applications except Excel.
     Probably excel behaves differently from other office applications.
     Probably it is a bug in excel
    Workaround : Log on to a system once using newly created account then runas excel using this account then print works fine.
    It means something in user profile should be configure to run excel print operation. Could you please somebody help what I need to configure in user profile that makes print operation success?

  • BAD Command Argument Error. 11 writing to Exchange 2007 - Help Please...

    Hi,
    I am writing an IMAP to IMAP mailbox converter. I am testing a UW mailbox that I have approx. 1200 messages in to a MS Exchange 2007 Server. I am performing a javax.mail.Folder destFolder.appendMessages(sourceFolder.getMessages()). I transfer almost half the messages this why when i get the following exception. I have googled and not found any reference to it, nor does the protocol trace look bazaar :
    javax.mail.MessagingException: A4 BAD Command Argument Error. 11;
    nested exception is:
    com.sun.mail.iap.BadCommandException: A4 BAD Command Argument Error. 11
    at com.sun.mail.imap.IMAPFolder.doCommand(IMAPFolder.java:2337)
    at com.sun.mail.imap.IMAPFolder.appendMessages(IMAPFolder.java:1289)
    at edu.yale.its.tp.email.conversion.IMAPConverter.copyMessages(IMAPConverter.java:83)
    at edu.yale.its.tp.email.conversion.IMAPConverter.copyFolder(IMAPConverter.java:75)
    at edu.yale.its.tp.email.conversion.IMAPConverter.convert(IMAPConverter.java:36)
    at edu.yale.its.tp.email.conversion.IMAPConverter.start(IMAPConverter.java:27)
    at edu.yale.its.tp.email.conversion.IMAPConverter.main(IMAPConverter.java:16)
    Caused by: com.sun.mail.iap.BadCommandException: A4 BAD Command Argument Error. 11
    at com.sun.mail.iap.Protocol.handleResult(Protocol.java:296)
    at com.sun.mail.imap.protocol.IMAPProtocol.appenduid(IMAPProtocol.java:881)
    at com.sun.mail.imap.protocol.IMAPProtocol.append(IMAPProtocol.java:835)
    at com.sun.mail.imap.IMAPFolder$10.doCommand(IMAPFolder.java:1292)
    at com.sun.mail.imap.IMAPFolder.doProtocolCommand(IMAPFolder.java:2377)
    at com.sun.mail.imap.IMAPFolder.doCommand(IMAPFolder.java:2332)
    ... 6 more
    Here is the protocol trace...
    0 [main] INFO - start Conversion
    DEBUG: JavaMail version 1.4ea
    DEBUG: java.io.FileNotFoundException: /usr/java/jdk1.5.0_11/jre/lib/javamail.providers (No such file or directory)
    DEBUG: URL jar:file:/usr/local/java-apis/javamail/javamail-1.4/lib/imap.jar!/META-INF/javamail.providers
    DEBUG: successfully loaded resource: jar:file:/usr/local/java-apis/javamail/javamail-1.4/lib/imap.jar!/META-INF/javamail.providers
    DEBUG: URL jar:file:/usr/local/java-apis/javamail/javamail-1.4/lib/pop3.jar!/META-INF/javamail.providers
    DEBUG: successfully loaded resource: jar:file:/usr/local/java-apis/javamail/javamail-1.4/lib/pop3.jar!/META-INF/javamail.providers
    DEBUG: URL jar:file:/usr/local/java-apis/javamail/javamail-1.4/lib/smtp.jar!/META-INF/javamail.providers
    DEBUG: successfully loaded resource: jar:file:/usr/local/java-apis/javamail/javamail-1.4/lib/smtp.jar!/META-INF/javamail.providers
    DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
    DEBUG: Tables of loaded providers
    DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]}
    DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsy stems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc]}
    DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
    DEBUG: URL jar:file:/usr/local/java-apis/javamail/javamail-1.4/lib/smtp.jar!/META-INF/javamail.address.map
    DEBUG: successfully loaded resource: jar:file:/usr/local/java-apis/javamail/javamail-1.4/lib/smtp.jar!/META-INF/javamail.address.map
    DEBUG: java.io.FileNotFoundException: /usr/java/jdk1.5.0_11/jre/lib/javamail.address.map (No such file or directory)
    DEBUG: getProvider() returning javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc]
    DEBUG: mail.imap.partialfetch: false
    * OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS AUTH=PLAIN AUTH=LOGIN] pantheon-po09.its.yale.edu IMAP4rev1 2002.336 at Fri, 21 Sep 2007 09:34:04 -0400 (EDT)
    IMAP DEBUG: AUTH: PLAIN
    IMAP DEBUG: AUTH: LOGIN
    A0 CAPABILITY
    * CAPABILITY IMAP4REV1 IDLE NAMESPACE MAILBOX-REFERRALS BINARY SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND LOGIN-REFERRALS AUTH=PLAIN AUTH=LOGIN
    A0 OK CAPABILITY completed
    IMAP DEBUG: AUTH: PLAIN
    IMAP DEBUG: AUTH: LOGIN
    DEBUG: protocolConnect login, host=pantheon-po09.its.yale.edu, user=jjv6, password=<non-null>
    A1 AUTHENTICATE PLAIN
    +
    +*<----REMOVED---->*+
    A1 OK [CAPABILITY IMAP4REV1 IDLE NAMESPACE MAILBOX-REFERRALS BINARY SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND] User jjv6 authenticated
    DEBUG: JavaMail version 1.4ea
    DEBUG: java.io.FileNotFoundException: /usr/java/jdk1.5.0_11/jre/lib/javamail.providers (No such file or directory)
    DEBUG: URL jar:file:/usr/local/java-apis/javamail/javamail-1.4/lib/imap.jar!/META-INF/javamail.providers
    DEBUG: successfully loaded resource: jar:file:/usr/local/java-apis/javamail/javamail-1.4/lib/imap.jar!/META-INF/javamail.providers
    DEBUG: URL jar:file:/usr/local/java-apis/javamail/javamail-1.4/lib/pop3.jar!/META-INF/javamail.providers
    DEBUG: successfully loaded resource: jar:file:/usr/local/java-apis/javamail/javamail-1.4/lib/pop3.jar!/META-INF/javamail.providers
    DEBUG: URL jar:file:/usr/local/java-apis/javamail/javamail-1.4/lib/smtp.jar!/META-INF/javamail.providers
    DEBUG: successfully loaded resource: jar:file:/usr/local/java-apis/javamail/javamail-1.4/lib/smtp.jar!/META-INF/javamail.providers
    DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
    DEBUG: Tables of loaded providers
    DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]}
    DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsy stems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc]}
    DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
    DEBUG: URL jar:file:/usr/local/java-apis/javamail/javamail-1.4/lib/smtp.jar!/META-INF/javamail.address.map
    DEBUG: successfully loaded resource: jar:file:/usr/local/java-apis/javamail/javamail-1.4/lib/smtp.jar!/META-INF/javamail.address.map
    DEBUG: java.io.FileNotFoundException: /usr/java/jdk1.5.0_11/jre/lib/javamail.address.map (No such file or directory)
    DEBUG: getProvider() returning javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc]
    DEBUG: mail.imap.partialfetch: false
    * OK Microsoft Exchange Server 2007 IMAP4 service ready
    A0 CAPABILITY
    * CAPABILITY IMAP4 IMAP4rev1 AUTH=NTLM AUTH=GSSAPI IDLE NAMESPACE LITERAL+
    A0 OK CAPABILITY completed.
    IMAP DEBUG: AUTH: NTLM
    IMAP DEBUG: AUTH: GSSAPI
    DEBUG: protocolConnect login, host=connect.yale.edu, user=jjv6, password=<non-null>
    A1 LOGIN +*<----Removed---->*+
    A1 OK LOGIN completed.
    A2 LIST "" "Sakai-Dev List"
    * LIST (\HasNoChildren) "/" "Sakai-Dev List"
    A2 OK LIST completed.
    DEBUG: connection available -- size: 1
    A2 EXAMINE "Sakai-Dev List"
    * 1206 EXISTS
    * 2 RECENT
    * OK [UIDVALIDITY 1151671867] UID validity status
    * OK [UIDNEXT 11497] Predicted next UID
    * FLAGS (Junk NonJunk $Label5 $Label1 $Label2 $Label3 $Label4 $MDNSent \Answered \Flagged \Deleted \Draft \Seen)
    * OK [PERMANENTFLAGS ()] Permanent flags
    * OK [UNSEEN 8] first unseen message in /imap/j/jjv6/Sakai-Dev List
    A2 OK [READ-ONLY] EXAMINE completed
    DEBUG: connection available -- size: 1
    A3 SELECT "Sakai-Dev List"
    * 524 EXISTS
    * 0 RECENT
    * FLAGS (\Seen \Answered \Flagged \Deleted \Draft $MDNSent)
    * OK [PERMANENTFLAGS (\Seen \Answered \Flagged \Deleted \Draft $MDNSent)] Permanent flags
    * OK [UIDVALIDITY 13758] UIDVALIDITY value
    * OK [UIDNEXT 525] The next unique identifier value
    A3 OK [READ-WRITE] SELECT completed.
    A3 LIST "" "Sakai-Dev List"
    * LIST (\NoInferiors \UnMarked) "/" "Sakai-Dev List"
    A3 OK LIST completed
    3080 [main] DEBUG - Source Messages : 1206
    3080 [main] DEBUG - Dest Messages : 524
    3080 [main] DEBUG - Copying 1206 Messages
    A4 FETCH 1 (ENVELOPE INTERNALDATE RFC822.SIZE)
    * 1 FETCH (ENVELOPE ("Tue, 21 Aug 2007 13:35:23 -0700 (PDT)" "Re: Sakai portlet problem in uPortal" (("Onur Sirin" NIL "onursirin" "sabanciuniv.edu")) (("Onur Sirin" NIL "onursirin" "sabanciuniv.edu")) (("Onur Sirin" NIL "onursirin" "sabanciuniv.edu")) ((NIL NIL "sakai-dev" "collab.sakaiproject.org")) NIL NIL "<[email protected]>" "<[email protected]>") INTERNALDATE "21-Aug-2007 16:37:20 -0400" RFC822.SIZE 7024)
    A4 OK FETCH completed
    A5 FETCH 1 (BODY[])
    * 1 FETCH (BODY[] {7024}
    Received: from mr4.its.yale.edu (mr4.its.yale.edu [130.132.50.10])
    by pantheon-po09.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id l7LKbJRC006741
    (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
    Tue, 21 Aug 2007 16:37:19 -0400
    Received: from paploo.uhi.ac.uk (app1.prod.collab.uhi.ac.uk [194.35.219.184])
    by mr4.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id l7LKbH3b030903;
    Tue, 21 Aug 2007 16:37:18 -0400
    Received: from paploo.uhi.ac.uk (localhost [127.0.0.1])
    by paploo.uhi.ac.uk (Postfix) with ESMTP id 7F70050E80;
    Tue, 21 Aug 2007 20:54:16 +0100 (BST)
    Message-ID: <[email protected]>
    Mime-Version: 1.0
    Content-Transfer-Encoding: 7bit
    Received: from prod.collab.uhi.ac.uk ([194.35.219.182])
    by paploo.uhi.ac.uk (JAMES SMTP Server 2.1.3) with SMTP ID 665
    for <[email protected]>;
    Tue, 21 Aug 2007 20:53:07 +0100 (BST)
    Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158])
    by shmi.uhi.ac.uk (Postfix) with ESMTP id 347909F12
    for <[email protected]>; Tue, 21 Aug 2007 21:35:26 +0100 (BST)
    Received: from isper.nabble.com ([192.168.236.156])
    by kuber.nabble.com with esmtp (Exim 4.63)
    (envelope-from <[email protected]>)
    id 1INaRf-0004yq-5U
    for [email protected]; Tue, 21 Aug 2007 13:35:23 -0700
    Date: Tue, 21 Aug 2007 13:35:23 -0700 (PDT)
    From: Onur Sirin <[email protected]>
    To: [email protected]
    Subject: Re: Sakai portlet problem in uPortal
    In-Reply-To: <[email protected]>
    X-Content-Type-Outer-Envelope: text/plain; charset=us-ascii
    X-Nabble-From: [email protected]
    References: <[email protected]> <[email protected]>
    X-Content-Type-Message-Body: text/plain; charset=us-ascii
    Content-Type: text/plain; charset=us-ascii
    X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed)
    X-Yale-Not-Spam: For more info see: http://www.yale.edu/email/spam/content.html
    X-Yale-Spam-Score: (0)
    X-Yale-Filter-Score: 0
    X-Scanned-By: MIMEDefang 2.52 on 130.132.50.10
    Hi Charles,
    I used a portlet you created first but not in trunk. (as sakai-dash.war
    file) This might be older one.
    From catalina.out i get following logs.First, as always i get:
    WARN: Shared Segment file is missing
    /home/sakai/tomcat/sakai/sharedsegments/1187722277361.zip (2007-08-21
    23:02:38,279
    SearchBuilder_0_org.sakaiproject.search.index.impl.JDBCClusterIndexStore)
    ERROR: There has been a major poblem with the Search Index which has become
    corrupted (2007-08-21 23:02:38,285
    SearchBuilder_0_org.sakaiproject.search.index.impl.ClusterFSIndexStorage)
    java.io.IOException: No Index available to open
    at
    org.sakaiproject.search.index.impl.ClusterFSIndexStorage.getIndexReader(ClusterFSIndexStorage.java:211)
    at
    org.sakaiproject.search.index.impl.ClusterFSIndexStorage.getIndexSearcher(ClusterFSIndexStorage.java:288)
    at
    org.sakaiproject.search.index.impl.SearchIndexStorage.getIndexSearcher(SearchIndexStorage.java:97)
    at
    org.sakaiproject.search.component.service.impl.SearchServiceImpl.getIndexSearcher(SearchServiceImpl.java:554)
    at
    org.sakaiproject.search.component.service.impl.SearchServiceImpl.reload(SearchServiceImpl.java:451)
    at
    org.sakaiproject.search.component.service.impl.SearchIndexBuilderWorkerImpl.run(SearchIndexBuilderWorkerImpl.java:485)
    at java.lang.Thread.run(Thread.java:595)
    WARN: Shared Segment file is missing
    /home/sakai/tomcat/sakai/sharedsegments/1187722277361.zip (2007-08-21
    23:02:38,460
    SearchBuilder_1_org.sakaiproject.search.index.impl.JDBCClusterIndexStore)
    ERROR: There has been a major poblem with the Search Index which has become
    corrupted (2007-08-21 23:02:38,466
    SearchBuilder_1_org.sakaiproject.search.index.impl.ClusterFSIndexStorage)
    java.io.IOException: No Index available to open
    at
    org.sakaiproject.search.index.impl.ClusterFSIndexStorage.getIndexReader(ClusterFSIndexStorage.java:211)
    at
    org.sakaiproject.search.index.impl.ClusterFSIndexStorage.getIndexSearcher(ClusterFSIndexStorage.java:288)
    at
    org.sakaiproject.search.index.impl.SearchIndexStorage.getIndexSearcher(SearchIndexStorage.java:97)
    at
    org.sakaiproject.search.component.service.impl.SearchServiceImpl.getIndexSearcher(SearchServiceImpl.java:554)
    at
    org.sakaiproject.search.component.service.impl.SearchServiceImpl.reload(SearchServiceImpl.java:451)
    at
    org.sakaiproject.search.component.service.impl.SearchIndexBuilderWorkerImpl.run(SearchIndexBuilderWorkerImpl.java:485)
    at java.lang.Thread.run(Thread.java:595)
    I don't know what it is. !!!
    And then, when i logged into portal, i get the following message:
    SakaiPortalLogin.loginAndCreate id=onursirin pw=plugh-xyzzy sec=plugh-xyzzy
    fn=Onur ln=Sirin [email protected] ip=10.4.3.1
    Site exists...~onursirin
    That's all what i see in catalina.out.
    By the way, we are using Cisco CSS (Content Switch) for Load Balancing
    process.
    Behind CSS, there is apache server and application server installed on two
    servers which mentioned in this page
    http://confluence.sakaiproject.org/confluence/display/DOC/Sakai+2.4+Admin+Guide+-LoadBalancing+and+Scaling
    http://confluence.sakaiproject.org/confluence/display/DOC/Sakai+2.4+Admin+Guide+-LoadBalancing+and+Scaling
    as thin client .
    CSS DNS address = sucourse.sabanciuniv.edu
    App server DNS address = sakws1.sabanciuniv.edu and sakws2.sabanciuniv.edu
    It is enough to type sucourse.sabanciuniv.edu address in web browser.
    Their sakai.properties files are similar. However, there are following
    parameters that i didn't use in my sakai.properties file. May be i should
    use them. !!
    [email protected]
    [email protected]
    [email protected]
    Now, i have changed my connection type by connecting Campus VPN server with
    Checkpoint VPN client, i got my sakai course pages correctly via sakai
    portlet. However, in campus i had same problem today.
    So, like i said, the situation is changing due to unknown reason.
    From portlet, i clicked on any course, i get blank screen with followingaddress in web browser address bar.
    https://sucourse.sabanciuniv.edu/sakai-login-tool/container?sakai.session=02274ca6-fc19-413c-80d9-4332ae4e4499&ticket=ST-5342-bLIfR5lVs29HB1ZAeRrMA3bbmQtVWRJqQ6N-20
    That's all.
    Thank you for your response Charles !
    Regards
    Charles Severance wrote:
    View this message in context: http://www.nabble.com/Sakai-portlet-problem-in-uPortal-tf4304476.html#a12262587
    Sent from the Sakai - Development mailing list archive at Nabble.com.
    This automatic notification message was sent by Sakai Collab (https://collab.sakaiproject.org/portal) from the DG: Development (a.k.a. sakai-dev) site.
    You can modify how you receive notifications at My Workspace > Preferences.
    A5 OK FETCH completed
    A6 FETCH 1 (FLAGS)
    * 1 FETCH (FLAGS (\Seen \Deleted NonJunk))
    A6 OK FETCH completed
    A4 APPEND "Sakai-Dev List" (\Deleted \Seen NonJunk) "21-Aug-2007 16:37:20 -0400" {7024+}
    A7 FETCH 1 (BODY[])
    * 1 FETCH (BODY[] {7024}
    Received: from mr4.its.yale.edu (mr4.its.yale.edu [130.132.50.10])
    by pantheon-po09.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id l7LKbJRC006741
    (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
    Tue, 21 Aug 2007 16:37:19 -0400
    Received: from paploo.uhi.ac.uk (app1.prod.collab.uhi.ac.uk [194.35.219.184])
    by mr4.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id l7LKbH3b030903;
    Tue, 21 Aug 2007 16:37:18 -0400
    Received: from paploo.uhi.ac.uk (localhost [127.0.0.1])
    by paploo.uhi.ac.uk (Postfix) with ESMTP id 7F70050E80;
    Tue, 21 Aug 2007 20:54:16 +0100 (BST)
    Message-ID: <[email protected]>
    Mime-Version: 1.0
    Content-Transfer-Encoding: 7bit
    Received: from prod.collab.uhi.ac.uk ([194.35.219.182])
    by paploo.uhi.ac.uk (JAMES SMTP Server 2.1.3) with SMTP ID 665
    for <[email protected]>;
    Tue, 21 Aug 2007 20:53:07 +0100 (BST)
    Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158])
    by shmi.uhi.ac.uk (Postfix) with ESMTP id 347909F12
    for <[email protected]>; Tue, 21 Aug 2007 21:35:26 +0100 (BST)
    Received: from isper.nabble.com ([192.168.236.156])
    by kuber.nabble.com with esmtp (Exim 4.63)
    (envelope-from <[email protected]>)
    id 1INaRf-0004yq-5U
    for [email protected]; Tue, 21 Aug 2007 13:35:23 -0700
    Date: Tue, 21 Aug 2007 13:35:23 -0700 (PDT)
    From: Onur Sirin <[email protected]>
    To: [email protected]
    Subject: Re: Sakai portlet problem in uPortal
    In-Reply-To: <[email protected]>
    X-Content-Type-Outer-Envelope: text/plain; charset=us-ascii
    X-Nabble-From: [email protected]
    References: <[email protected]> <[email protected]>
    X-Content-Type-Message-Body: text/plain; charset=us-ascii
    Content-Type: text/plain; charset=us-ascii
    X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed)
    X-Yale-Not-Spam: For more info see: http://www.yale.edu/email/spam/content.html
    X-Yale-Spam-Score: (0)
    X-Yale-Filter-Score: 0
    X-Scanned-By: MIMEDefang 2.52 on 130.132.50.10
    Hi Charles,
    I used a portlet you created first but not in trunk. (as sakai-dash.war
    file) This might be older one.
    From catalina.out i get following logs.First, as always i get:
    WARN: Shared Segment file is missing
    /home/sakai/tomcat/sakai/sharedsegments/1187722277361.zip (2007-08-21
    23:02:38,279
    SearchBuilder_0_org.sakaiproject.search.index.impl.JDBCClusterIndexStore)
    ERROR: There has been a major poblem with the Search Index which has become
    corrupted (2007-08-21 23:02:38,285
    SearchBuilder_0_org.sakaiproject.search.index.impl.ClusterFSIndexStorage)
    java.io.IOException: No Index available to open
    at
    org.sakaiproject.search.index.impl.ClusterFSIndexStorage.getIndexReader(ClusterFSIndexStorage.java:211)
    at
    org.sakaiproject.search.index.impl.ClusterFSIndexStorage.getIndexSearcher(ClusterFSIndexStorage.java:288)
    at
    org.sakaiproject.search.index.impl.SearchIndexStorage.getIndexSearcher(SearchIndexStorage.java:97)
    at
    org.sakaiproject.search.component.service.impl.SearchServiceImpl.getIndexSearcher(SearchServiceImpl.java:554)
    at
    org.sakaiproject.search.component.service.impl.SearchServiceImpl.reload(SearchServiceImpl.java:451)
    at
    org.sakaiproject.search.component.service.impl.SearchIndexBuilderWorkerImpl.run(SearchIndexBuilderWorkerImpl.java:485)
    at java.lang.Thread.run(Thread.java:595)
    WARN: Shared Segment file is missing
    /home/sakai/tomcat/sakai/sharedsegments/1187722277361.zip (2007-08-21
    23:02:38,460
    SearchBuilder_1_org.sakaiproject.search.index.impl.JDBCClusterIndexStore)
    ERROR: There has been a major poblem with the Search Index which has become
    corrupted (2007-08-21 23:02:38,466
    SearchBuilder_1_org.sakaiproject.search.index.impl.ClusterFSIndexStorage)
    java.io.IOException: No Index available to open
    at
    org.sakaiproject.search.index.impl.ClusterFSIndexStorage.getIndexReader(ClusterFSIndexStorage.java:211)
    at
    org.sakaiproject.search.index.impl.ClusterFSIndexStorage.getIndexSearcher(ClusterFSIndexStorage.java:288)
    at
    org.sakaiproject.search.index.impl.SearchIndexStorage.getIndexSearcher(SearchIndexStorage.java:97)
    at
    org.sakaiproject.search.component.service.impl.SearchServiceImpl.getIndexSearcher(SearchServiceImpl.java:554)
    at
    org.sakaiproject.search.component.service.impl.SearchServiceImpl.reload(SearchServiceImpl.java:451)
    at
    org.sakaiproject.search.component.service.impl.SearchIndexBuilderWorkerImpl.run(SearchIndexBuilderWorkerImpl.java:485)
    at java.lang.Thread.run(Thread.java:595)
    I don't know what it is. !!!
    And then, when i logged into portal, i get the following message:
    SakaiPortalLogin.loginAndCreate id=onursirin pw=plugh-xyzzy sec=plugh-xyzzy
    fn=Onur ln=Sirin [email protected] ip=10.4.3.1
    Site exists...~onursirin
    That's all what i see in catalina.out.
    By the way, we are using Cisco CSS (Content Switch) for Load Balancing
    process.
    Behind CSS, there is apache server and application server installed on two
    servers which mentioned in this page
    http://confluence.sakaiproject.org/confluence/display/DOC/Sakai+2.4+Admin+Guide+-LoadBalancing+and+Scaling
    http://confluence.sakaiproject.org/confluence/display/DOC/Sakai+2.4+Admin+Guide+-LoadBalancing+and+Scaling
    as thin client .
    CSS DNS address = sucourse.sabanciuniv.edu
    App server DNS address = sakws1.sabanciuniv.edu and sakws2.sabanciuniv.edu
    It is enough to type sucourse.sabanciuniv.edu address in web browser.
    Their sakai.properties files are similar. However, there are following
    parameters that i didn't use in my sakai.properties file. May be i should
    use them. !!
    [email protected]
    [email protected]
    [email protected]
    Now, i have changed my connection type by connecting Campus VPN server with
    Checkpoint VPN client, i got my sakai course pages correctly via sakai
    portlet. However, in campus i had same problem today.
    So, like i said, the situation is changing due to unknown reason.
    From portlet, i clicked on any course, i get blank screen with followingaddress in web browser address bar.
    https://sucourse.sabanciuniv.edu/sakai-login-tool/container?sakai.session=02274ca6-fc19-413c-80d9-4332ae4e4499&ticket=ST-5342-bLIfR5lVs29HB1ZAeRrMA3bbmQtVWRJqQ6N-20
    That's all.
    Thank you for your response Charles !
    Regards
    Charles Severance wrote:
    View this message in context: http://www.nabble.com/Sakai-portlet-problem-in-uPortal-tf4304476.html#a12262587
    Sent from the Sakai - Development mailing list archive at Nabble.com.
    This automatic notification message was sent by Sakai Collab (https://collab.sakaiproject.org/portal) from the DG: Development (a.k.a. sakai-dev) site.
    You can modify how you receive notifications at My Workspace > Preferences.
    A7 OK FETCH completed
    Received: from mr4.its.yale.edu (mr4.its.yale.edu [130.132.50.10])
    by pantheon-po09.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id l7LKbJRC006741
    (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
    Tue, 21 Aug 2007 16:37:19 -0400
    Received: from paploo.uhi.ac.uk (app1.prod.collab.uhi.ac.uk [194.35.219.184])
    by mr4.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id l7LKbH3b030903;
    Tue, 21 Aug 2007 16:37:18 -0400
    Received: from paploo.uhi.ac.uk (localhost [127.0.0.1])
    by paploo.uhi.ac.uk (Postfix) with ESMTP id 7F70050E80;
    Tue, 21 Aug 2007 20:54:16 +0100 (BST)
    Message-ID: <[email protected]>
    Mime-Version: 1.0
    Content-Transfer-Encoding: 7bit
    Received: from prod.collab.uhi.ac.uk ([194.35.219.182])
    by paploo.uhi.ac.uk (JAMES SMTP Server 2.1.3) with SMTP ID 665
    for <[email protected]>;
    Tue, 21 Aug 2007 20:53:07 +0100 (BST)
    Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158])
    by shmi.uhi.ac.uk (Postfix) with ESMTP id 347909F12
    for <[email protected]>; Tue, 21 Aug 2007 21:35:26 +0100 (BST)
    Received: from isper.nabble.com ([192.168.236.156])
    by kuber.nabble.com with esmtp (Exim 4.63)
    (envelope-from <[email protected]>)
    id 1INaRf-0004yq-5U
    for [email protected]; Tue, 21 Aug 2007 13:35:23 -0700
    Date: Tue, 21 Aug 2007 13:35:23 -0700 (PDT)
    From: Onur Sirin <[email protected]>
    To: [email protected]
    Subject: Re: Sakai portlet problem in uPortal
    In-Reply-To: <[email protected]>
    X-Content-Type-Outer-Envelope: text/plain; charset=us-ascii
    X-Nabble-From: [email protected]
    References: <[email protected]> <[email protected]>
    X-Content-Type-Message-Body: text/plain; charset=us-ascii
    Content-Type: text/plain; charset=us-ascii
    X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed)
    X-Yale-Not-Spam: For more info see: http://www.yale.edu/email/spam/content.html
    X-Yale-Spam-Score: (0)
    X-Yale-Filter-Score: 0
    X-Scanned-By: MIMEDefang 2.52 on 130.132.50.10
    Hi Charles,
    I used a portlet you created first but not in trunk. (as sakai-dash.war
    file) This might be older one.
    From catalina.out i get following logs.First, as always i get:
    WARN: Shared Segment file is missing
    /home/sakai/tomcat/sakai/sharedsegments/1187722277361.zip (2007-08-21
    23:02:38,279
    SearchBuilder_0_org.sakaiproject.search.index.impl.JDBCClusterIndexStore)
    ERROR: There has been a major poblem with the Search Index which has become
    corrupted (2007-08-21 23:02:38,285
    SearchBuilder_0_org.sakaiproject.search.index.impl.ClusterFSIndexStorage)
    java.io.IOException: No Index available to open
    at
    org.sakaiproject.search.index.impl.ClusterFSIndexStorage.getIndexReader(ClusterFSIndexStorage.java:211)
    at
    org.sakaiproject.search.index.impl.ClusterFSIndexStorage.getIndexSearcher(ClusterFSIndexStorage.java:288)
    at
    org.sakaiproject.search.index.impl.SearchIndexStorage.getIndexSearcher(SearchIndexStorage.java:97)
    at
    org.sakaiproject.search.component.service.impl.SearchServiceImpl.getIndexSearcher(SearchServiceImpl.java:554)
    at
    org.sakaiproject.search.component.service.impl.SearchServiceImpl.reload(SearchServiceImpl.java:451)
    at
    org.sakaiproject.search.component.service.impl.SearchIndexBuilderWorkerImpl.run(SearchIndexBuilderWorkerImpl.java:485)
    at java.lang.Thread.run(Thread.java:595)
    WARN: Shared Segment file is missing
    /home/sakai/tomcat/sakai/sharedsegments/1187722277361.zip (2007-08-21
    23:02:38,460
    SearchBuilder_1_org.sakaiproject.search.index.impl.JDBCClusterIndexStore)
    ERROR: There has been a major poblem with the Search Index which has become
    corrupted (2007-08-21 23:02:38,466
    SearchBuilder_1_org.sakaiproject.search.index.impl.ClusterFSIndexStorage)
    java.io.IOException: No Index available to open
    at
    org.sakaiproject.search.index.impl.ClusterFSIndexStorage.getIndexReader(ClusterFSIndexStorage.java:211)
    at
    org.sakaiproject.search.index.impl.ClusterFSIndexStorage.getIndexSearcher(ClusterFSIndexStorage.java:288)
    at
    org.sakaiproject.search.index.impl.SearchIndexStorage.getIndexSearcher(SearchIndexStorage.java:97)
    at
    org.sakaiproject.search.component.service.impl.SearchServiceImpl.getIndexSearcher(SearchServiceImpl.java:554)
    at
    org.sakaiproject.search.component.service.impl.SearchServiceImpl.reload(SearchServiceImpl.java:451)
    at
    org.sakaiproject.search.component.service.impl.SearchIndexBuilderWorkerImpl.run(SearchIndexBuilderWorkerImpl.java:485)
    at java.lang.Thread.run(Thread.java:595)
    I don't know what it is. !!!
    And then, when i logged into portal, i get the following message:
    SakaiPortalLogin.loginAndCreate id=onursirin pw=plugh-xyzzy sec=plugh-xyzzy
    fn=Onur ln=Sirin [email protected] ip=10.4.3.1
    Site exists...~onursirin
    That's all what i see in catalina.out.
    By the way, we are using Cisco CSS (Content Switch) for Load Balancing
    process.
    Behind CSS, there is apache server and application server installed on two
    servers which mentioned in this page
    http://confluence.sakaiproject.org/confluence/display/DOC/Sakai+2.4+Admin+Guide+-LoadBalancing+and+Scaling
    http://confluence.sakaiproject.org/confluence/display/DOC/Sakai+2.4+Admin+Guide+-LoadBalancing+and+Scaling
    as thin client .
    CSS DNS address = sucourse.sabanciuniv.edu
    App server DNS address = sakws1.sabanciuniv.edu and sakws2.sabanciuniv.edu
    It is enough to type sucourse.sabanciuniv.edu address in web browser.
    Their sakai.properties files are similar. However, there are following
    parameters that i didn't use in my sakai.properties file. May be i should
    use them. !!
    [email protected]
    [email protected]
    [email protected]
    Now, i have changed my connection type by connecting Campus VPN server

    The command that seems to be causing problems for Exchange is this one:
    A4 APPEND "Sakai-Dev List" (\Deleted \Seen NonJunk) "21-Aug-2007 16:37:20 -0400" {7024+}
    As far as I can see, there's nothing wrong with the syntax of that command.
    My first guess is that Exchange is unhappy with the flags. Possibly
    it refuses to append a message with the \Deleted flag set. If you're
    willing to modify the flags in the source mailbox, I would try turning
    off the DELETED flag. Or, try not copying deleted messages.
    If that doesn't work, the next thing to try is to get rid of all of the
    flags. You might want to copy the message into a local copy
    in order to lose all the flags from the original.

  • Unable to use javac or jar commands

    Hi all,
    I've been using my IDE to compile and run my programs. However, when I want to use -javac or -jar commands in my command prompt, it doesnt work.
    The error is :
    'javac' is not recognised as an internal or external command,
    operable program or batch file
    Same goes for jar
    -java works for me. Why is that so? I hope anyone can give me solution.
    Note : I'm on windows vista
    Another question :
    I've been using JMF (Java Media Framework) to develop a simple audio player. However it can be run on my pc. What happens if I try to run the program at another pc, will it still work? The other pc will not have JMF installed, but will have JRE to run java apps. If it cannot be run on the other pc, is there any solution?
    Thank you for your kind assistance.
    Edited by: TrAnScEnD3nT on Sep 30, 2007 10:18 PM
    Reason : Sorry I have mixed up java and javac, I've corrected it.

    Mainta? That's my favourite!This time...
    In very general terms the PATH is a system variable that is maintained and used by your operating system or shell (not Java) to locate executable files. So, for instance, if you type the command:
    >writeit will be the PATH that Windows uses to locate the write.exe word processor.
    The directory containing the Java tools - java.exe, javaw.exe, jar.exe, appletviewer.exe etc - very commonly goes into the PATH variable.
    The classpath is a list of locations that Java uses to locate classes (as you said). It is used by Java and not your operating system. It is commonly (but not always) set each time you use one of the Java tools. There is a -cp switch that lets you do this. For instance a common command to compile a file would be
    >javac -cp . HelloWorld.javaThe "-cp ." bit means "the classpath shall be the current directory".
    Setting a particular classpath does not, in general, affect the "built in" classes of Java, so you don't have to worry about this. If you search the documentation that came with your distribution you will find the exact rules for "how classes are found": but to begin with the important thing is that any classes you write must be included in the classpath which can be specified as part of the commands to compile or run your code.

  • I am using Mac OS X 10.7.5 as of now and when I am trying to upgrade to Mavericks, it is throwing error "The product distribution file could not be verified. It may be damaged or not signed".

    I am using Mac OS X 10.7.5 as of now and when I am trying to upgrade to Mavericks, the App Store is throwing error "The product distribution file could not be verified. It may be damaged or not signed".
    Is there anything I should do differently? Is anyone else facing the same issue?
    Kindly help.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    Third-party system modifications are a common cause of usability problems. By a “system modification,” I mean software that affects the operation of other software — potentially for the worse. The following procedure will help identify which such modifications you've installed. Don’t be alarmed by the complexity of these instructions — they’re easy to carry out and won’t change anything on your Mac. 
    These steps are to be taken while booted in “normal” mode, not in safe mode. If you’re now running in safe mode, reboot as usual before continuing. 
    Below are instructions to enter some UNIX shell commands. The commands are harmless, but they must be entered exactly as given in order to work. If you have doubts about the safety of the procedure suggested here, search this site for other discussions in which it’s been followed without any report of ill effects. 
    Some of the commands will line-wrap or scroll in your browser, but each one is really just a single line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, and you can then copy it. The headings “Step 1” and so on are not part of the commands. 
    Note: If you have more than one user account, Step 2 must be taken as an administrator. Ordinarily that would be the user created automatically when you booted the system for the first time. The other steps should be taken as the user who has the problem, if different. Most personal Macs have only one user, and in that case this paragraph doesn’t apply. 
    Launch the Terminal application in any of the following ways: 
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.) 
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens. 
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid. 
    When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign (“$”) or a percent sign (“%”). If you get the percent sign, enter “sh” and press return. You should then get a new line ending in a dollar sign. 
    Step 1 
    Triple-click anywhere in the line of text below on this page to select it:
    kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}' | open -ef 
    Copy the selected text to the Clipboard by pressing the key combination command-C. Then click anywhere in the Terminal window and paste (command-V). I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting. A TextEdit window will open with the output of the command. If the command produced no output, the window will be empty. Post the contents of the TextEdit window (not the Terminal window), if any — the text, please, not a screenshot. You can then close the TextEdit window. The title of the window doesn't matter, and you don't need to post that. No typing is involved in this step.
    Step 2 
    Repeat with this line:
    { sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix\.cron)|org\.(amav|apac|cups|isc|ntp|postf|x)/{print $3}'; echo; sudo defaults read com.apple.loginwindow LoginHook; echo; sudo crontab -l; } 2> /dev/null | open -ef 
    This time you'll be prompted for your login password, which you do have to type. Nothing will be displayed when you type it. Type it carefully and then press return. You may get a one-time warning to be careful. Heed that warning, but don't post it. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator. 
    Note: If you don’t have a login password, you’ll need to set one before taking this step. If that’s not possible, skip to the next step. 
    Step 3
    { launchctl list | sed 1d | awk '!/0x|com\.apple|org\.(x|openbsd)/{print $3}'; echo; crontab -l 2> /dev/null; } | open -ef 
    Step 4
    ls -A /e*/{cr,la,mach}* {,/}Lib*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta}* L*/Fonts .la* 2> /dev/null | open -ef  
    Important: If you formerly synchronized with a MobileMe account, your me.com email address may appear in the output of the above command. If so, anonymize it before posting. 
    Step 5
    osascript -e 'tell application "System Events" to get name of login items' | open -ef 
    Remember, steps 1-5 are all copy-and-paste — no typing, except your password. Also remember to post the output. 
    You can then quit Terminal.

  • Eacccmd throwing error

    HI All
    I am trying to run a basinc eaccmd command as below and it is throwing error.
    I have checked and the host and port are correct.
    [endeca@endecaJtelInt bin]$ eaccmd.sh endecaJtelInt:8888 list-apps --verbose
    AxisFault
    faultCode: {http://xml.apache.org/axis/}HTTP
    faultSubcode:
    faultString: (400)Bad Request
    faultActor:
    faultNode:
    faultDetail:
    {}:return code: 400
    {http://xml.apache.org/axis/}HttpErrorCode:400
    (400)Bad Request
    at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744)
    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    at org.apache.axis.client.Call.invoke(Call.java:2767)
    at org.apache.axis.client.Call.invoke(Call.java:2443)
    at org.apache.axis.client.Call.invoke(Call.java:2366)
    at org.apache.axis.client.Call.invoke(Call.java:1812)
    at com.endeca.eac.client.ProvisioningPortSOAPBindingStub.listApplicationIDs(ProvisioningPortSOAPBindingStub.java:981)
    at com.endeca.esfcmd.commands.ProvisioningCommandHandler.listApps(ProvisioningCommandHandler.java:367)
    at com.endeca.esfcmd.commands.ProvisioningCommandHandler.execute(ProvisioningCommandHandler.java:131)
    at com.endeca.esfcmd.Main.main(Main.java:137)
    An error occurred while trying to communicate with EAC; nested exception is:
    (400)Bad Request
    Make sure the EAC host and port are correct.
    Any help would be much appreciated.
    Thanks,
    Jankajg

    IT was an installation with platform services and it some how missed a couple of configuration files hence EAC could not be contacted.

  • Database command execution error. (While mounting a repository)

    Hello,
    I am trying to mount 'Customer Master' repository in Console
    But it is giving me the following error.
    'Database command execution error. A SQL statement failed to execute. The actual error may have been written to a log file.'
    Can any1 throw some light as to how do i solve this problem.
    And where to check this log file?
    Also i am able to mount any other repository without this error.
    Regards,
    Roshani

    Hi Roshni,
    It could be that the repository tables were not correctly created in the Oracle Database.
    Try restarting the oracle services ,also check the Oracle listener configurations are correct.
    If you have an archieve of this repository then try mounting the archieve with a different name.
    Also try restarting the MDM server.
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • Why below MERGE sql statement is throwing error  on 10g?

    Version: Ora 10g R2
    Why below MERGE sql statement is throwing error on 10g?
    SQL> merge into sess_stats
    using
    select a.name, b.value from v$statname a, v$sesstat b where a.statistic#=b.statistic# and b.sid=:sid  and (a.name like '%ga %' or a.name like '%direct temp%')
    ) curr_stats
    on (sess_stats.name=curr_stats.name)
    when matched then
         update set diff=curr_stats.value-sess_stats.value, value=curr_stats.value
    when not matched then
         insert (name, value, diff) values (curr_stats.name, curr_stats.value, null)  2    3    4    5    6    7    8  SQL> SP2-0734: unknown command beginning "on (sess_s..." - rest of line ignored.
    SQL> SP2-0734: unknown command beginning "when match..." - rest of line ignored.
    SQL>   2    3

    First of all, thank you all for your feedback!
    first, I try remove the blank lines at those two places ( before curr_stats and after on) and it works.
    then, again I try to set sqlblanklines on, and it works as well!
    Edited by: PhoenixBai on Nov 10, 2009 10:54 PM

  • Identifying statement which throws error

    Hi Experts,
    I have an ad-hoc query having multiple DML statements. Is is possible to get the command or say statement which throws error using try .. catch block?
    Thanks,
    Naveen
    Naveen J V

    SELECT
            ERROR_NUMBER() AS ErrorNumber,
            ERROR_SEVERITY() AS ErrorSeverity,
            ERROR_STATE() AS ErrorState,
            ERROR_PROCEDURE() AS ErrorProcedure,
            ERROR_LINE() AS ErrorLine,
            ERROR_MESSAGE() AS ErrorMessage;
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Deployejb and ejbdescriptor throws error

    I tried to deploy the ejb application to database using oracle
    tool deployejb at DOS prompt,, like this
    deployejb -republish -temp H:/myprojects/temp -user system -
    password aabbcc -service %ORACLE_SERVICE% -verbose -descriptor
    My8iEJB.ejb -generated My8iEJBClient.jar My8iEJB.jar
    where ORACLE_SERVICE = sess_iiop://ventas.ideas:1521:vtas
    this throws error like this
    Unable to initialize threads : cannot find class java/lang/Thread
    And tried ejbdescriptor like this
    ejbdescriptor -parse My8iEJB.txt My8iEJB.ejb
    this throws error like this
    Class not found : de

    I tried to deploy the ejb application to database using oracle
    tool deployejb at DOS prompt,, like this
    deployejb -republish -temp H:/myprojects/temp -user system -
    password aabbcc -service %ORACLE_SERVICE% -verbose -descriptor
    My8iEJB.ejb -generated My8iEJBClient.jar My8iEJB.jar
    where ORACLE_SERVICE = sess_iiop://ventas.ideas:1521:vtas
    this throws error like this
    Unable to initialize threads : cannot find class java/lang/Thread
    And tried ejbdescriptor like this
    ejbdescriptor -parse My8iEJB.txt My8iEJB.ejb
    this throws error like this
    Class not found : de

  • Jar command jar -uf doesn't work on Vista

    I try to use the jar command jar -uf to add information from a JAR into another. This works fine on XP, but not on Vista.
    I use the same commands and the same files on Vista and XP, but I get this error message on Vista:
    java.io.IOExeption: An error occured when writing to the JAR file
    Why does this happen? How can I make the jar command jar -uf work on Vista?

    I don't use Vista however it could be related to a [Vista file permission problem|http://paulstamatiou.com/2007/02/09/how-to-quickie-vista-permissions].

Maybe you are looking for

  • Problem in Converting Database into Archivelog mode (Oracle 10G)

    Hi Team, I come across a strange problem in the ORACLE 10G Server. I am converting database mode from NoArchivelog to Archivelog mode through RMAN in 10G. Now When I execute these following commands through RMAN prompt it works properly as shown belo

  • History for a CLOB field in APEX

    Hello! We have implemented a History for our APEX application using triggers. Everything is ok with it, but there are some CLOB fields which cannot be handled in this way (cannot compare the value of the bind variables :new and :old, because one of t

  • Do we need to buy the license from SAP for EACH 'Z'form

    Hello I heard that, we (company) have to take license for the development of EACH adobe interactive form (even though its totally custom brand-new interactive form created from scratch), on individual form basis, is it true? (i know, its free of cost

  • Java Exception Error

    I'm trying to configure my forms app to run on the web. So far I haven't had much luck. After the applet loads I keep getting a FRM-92090: An unexpected error occurred message. Details include... Java Exception: com.ms.security SecurityExceptionEx (o

  • DrawString coordinates Landscape vs. Portrait

    Hi, I have code in Java 1.2 API that prints text. It uses drawString(str,x,y). When I run this code and set the orientation of the PageFormat to portrait - the page is printed correctly. When I run the same code except I set the orientation of the Pa