Exception in readLine() for DataInputStream for netware 6.5

Hi,
In netware 6.5 with Service pack 4, I want to read the environment variables set.
My code is
import java.util.*;
import java.io.*;
import java.lang.System.*;
class InsTest {
public static void main(String [] args) throws Exception {
String cmd[] = {"envset"};
InputStream is = (Runtime.getRuntime().exec(cmd[0]).getInputStream());
DataInputStream ds = new DataInputStream (is);
System.out.println(ds.readLine());
This code is throwing an java.io.IOException that Bad File Number.
How it fix this exception ?
With Regards,
Vara Prasad.

Stack trace is ,
Exception in thread "main" java.io.IOException: Bad File Number
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(FileInputStream.java:194)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:220)
at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
at java.io.FilterInputStream.read(FilterInputStream.java:90)
at sun.nio.cs.StreamDecoder$converterSD.implRead(StreamDecoder.java:285) at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:182)
at java.io.InputStreamReader.read(InputStreamReader.java:167)
at java.io.BufferedReader.fill(BufferedReader.java:136)
at java.io.BufferedReader.readLine(BufferedReader.java:299)
at java.io.BufferedReader.readLine(BufferedReader.java:362)
at InsTest.main(InsTest.java:9) (the place where readLine is called)

Similar Messages

  • Leopard (10.5) error: " EXCEPTION: Reverification failed for..."

    I went on the road for a week (while I'm on the road PHDs don't sync) and when I returned and tried to sync my changes I'm getting all sorts of errors. Some errors seem to have cleared themselves up after several sync (which is bothering in and of itself) however I'm getting persistent errors that are called "reverification" errors (see below). Does anyone have any idea what these errors mean???? By the way these files are not getting sync'ed, yet I'm not getting any messages popping up to the user, the only way I even noticed is because after the first sync some files where still the old copies on the server, I had to go to the logs to try to find the errors.
    Here's an example of just one:
    0:: [2007/11/13 11:25:24.102] EXCEPTION: Reverification failed for "/Users/ramos-m/Documents/NoteTaker-NoteShare/Backup/Backup of people.ntx/Book.plist" on store HomeSync_Mirror-L-yvUOtsqmAt7-ramos-m (Object modified) <-[SStoreFileOperator_FS reverify] (StoreFileOperator-FS.m:654): "THROW(Reverification failed for "/Users/ramos-m/Documents/NoteTaker-NoteShare/Backup/Backup of people.ntx/Book.plist" on store HomeSync_Mirror-L-yvUOtsqmAt7-ramos-m (Object modified))">
    0:: [2007/11/13 11:25:24.102] BACKTRACE: {
    0:: [2007/11/13 11:25:24.102] ? | 0x4f0af
    0:: [2007/11/13 11:25:24.102] ? | 0x4999b
    0:: [2007/11/13 11:25:24.102] ? | 0x6893a
    0:: [2007/11/13 11:25:24.102] ? | 0x53d76
    0:: [2007/11/13 11:25:24.102] ? | 0x4804f
    0:: [2007/11/13 11:25:24.102] ? | 0x47ace
    0:: [2007/11/13 11:25:24.102] ? | 0x53929
    0:: [2007/11/13 11:25:24.102] ? | 0x3132e
    0:: [2007/11/13 11:25:24.102] ? | 0x30c65
    0:: [2007/11/13 11:25:24.102] ? | 0x47a6a
    0:: [2007/11/13 11:25:24.102] ? | 0x478d6
    0:: [2007/11/13 11:25:24.102] ? | 0x158be
    0:: [2007/11/13 11:25:24.102] ? | 0x9201b04d
    0:: [2007/11/13 11:25:24.102] ? | 0x9201abf4
    0:: [2007/11/13 11:25:24.102] ? | 0x96191075
    0:: [2007/11/13 11:25:24.102] }
    0:: [2007/11/13 11:25:24.102] <ERROR> network: MODIFY ./Book.plist (-[SStoreFileOperator_FS reverify] (StoreFileOperator-FS.m:654): "THROW(Reverification failed for "/Users/ramos-m/Documents/NoteTaker-NoteShare/Backup/Backup of people.ntx/Book.plist" on store HomeSync_Mirror-L-yvUOtsqmAt7-ramos-m (Object modified))")
    0:: [2007/11/13 11:25:24.134] <ERROR> network: PACKAGE MODIFY "Documents/NoteTaker-NoteShare/Backup/Backup of people.ntx" {(Priority=1, EXECUTING)} (-[SStoreFileOperator_FS reverify] (StoreFileOperator-FS.m:654): "THROW(Reverification failed for "/Users/ramos-m/Documents/NoteTaker-NoteShare/Backup/Backup of people.ntx/Book.plist" on store HomeSync_Mirror-L-yvUOtsqmAt7-ramos-m (Object modified))")

    Thanks for the input, this was helpful, however problem still not solved. This is very ugly if you ask me and very disappointing as PHDs have seem to have been nothing but problematic forever.
    Yesterday I took a different approach to try to clear this particular problem. I manually mounted the AFP share and then one by one for each of the files that I was getting errors on, I copied the newer file over the older file.
    To make matters worse, when I was comparing the files I noticed other files in the same directory that were out of sync and had NOT been generating errors. In other words these files had been silently not updating!!!! So I copied these files as well, but some had to go up to the server and some ad to go down.
    Then a ran a manual sync. Interestingly I got conflicts that I had to resolve on the files that had been getting the errors, even though they were now the exact same file. The info for the file, displayed in the conflict resolution window, was the old file info even though that info was no longer correct since the two files now matched.
    So I just tried your advice and took one folder that had in it both files that some were updating and that some were not updating and renamed the folder. I then ran a manual resync. At the end of the sync, basically all FileSyncAgent had done was copy the older named folder from the server to the local copy and the local newer named folder up to the server. So I now have TWO copies of ALL the data in BOTH places. However, that doesn't help much as I'm still going to have to go through and find the latest copies of all the files and over write the older copies, basically the same thing I did yesterday.
    To further complicate things, as I've been typing this, another sync kicked off and during that sync it tried to move files from the older folder to the newer named folder, but gave me "Directory Not Empty" errors.
    This is so frustrating. At this point I have no idea how many files are out of sync or what the best way to fix this is.

  • PDF Exception: Invalid object for the XFA entry in the forms dictionary

    Hi,
    We have an online adobe interactive form, via webdynpro, which saves OK, but occassionaly when a form is loaded again the form appears blank and the below error is returned by the ADS.  I've searched but cannot find any definitive answer to this issue:
    Processing exception during a "GetData" operation.#Request start time:Tue Jan 11 14:08:47 GMT 2011#com.adobe.ProcessingException: Error exporting Data into PDF - PDF Exception: Invalid object for the XFA entry in the forms dictionary.#[Ljava.lang.StackTraceElement;@51bb49da##Exception Stack Trace:#com.adobe.ProcessingException: Error exporting Data into PDF - PDF Exception: Invalid object for the XFA entry in the forms dictionary.#[Ljava.lang.StackTraceElement;@51bb49da###at com.adobe.ads.remote.EJB_PDFAgent.exportFormData(Unknown Source)###at com.adobe.ads.operation.GetData.execute(Unknown Source)###at com.adobe.ads.operation.ADSOperation.doWork(Unknown Source)###atcom.adobe.ads.request.Request.processOperations(Unknown Source)###at com.adobe.ads.request.Request.process(Unknown Source)###at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)###at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)###at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.java:120)###at sun.reflect.GeneratedMethodAccessor1814.invoke(Unknown Source)###at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)###at java.lang.reflect.Method.invoke(Method.java:324)###at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)###at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)###at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)###at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)###atSoapServlet.doPost(SoapServlet.java:51)##at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)###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.http
    server.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)###atcom.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnali er.java:364)###at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)###atcom.sap.engine.services.httpserver.server.Reques
    Analizer.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:104)###at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)##Caused by: com.adobe.internal.pdftoolkit.core.exceptions.PDFInvalidDocumentException: Invalid object for the XFA entry in the forms dictionary.###at com.adobe.internal.pdftoolkit.services.xfa.impl.PDFFormSupport.exportXFAData(Unknown Source)###at com.adobe.internal.pdftoolkit.services.xfa.XFAService.exportDataset(Unknown Source)###... 32 more##
    Please help!
    Edited by: Kevin Alcock on Jan 11, 2011 2:20 PM

    Hi Otto,
    We have had the form working and in most instances the form can be updated multiple times without issue.  However, occassionally a form is created OK but the next time it is launched it is blank (the data is visible when the PDF is downloaded to the desktop)
    Do you think this issue could be to do with the form layout/XML...I changed the form template 2 days ago as I suspected this issue could be realted to incorrect field bindings but we have had the error on a form created after the change was made.
    Many Thanks,
    Kevin
    Edited by: Kevin Alcock on Jan 13, 2011 1:10 PM

  • Exception Error 26 for Special Stock (CStock Material)

    When looking in MD04 at a specific material, I see that a particular requirement shows an Exception 26 Error for a Sales Order Line Item, which is for a Special Stock/CStock Item.   This item is a Configurable Material with a Super BOM and Routing.   The components are not Sales Relevant  as a Production Order is Generated for the Super BOM.   The Item has not been Delivered yet and the Production Order has been Confirmed, which can be seen in the Status of the Production Order.   There are also no error logs at the Production Order level.  Originally, the item could not be Delivered as there was a Message saying the Material was blocked when trying to PGI the Delivery.   I verified at the Salkes Order Header Level and Sales Line Item level that there are no Delivery Blocks and the Item is not Rejected in the Sales Order.   In order to locate the problem for this, the Production Order was canceled and Re-Confirmed again.  I can verify this activity in MB51 and do not see anything else for this Material and Sales Order Line Item in MB51.   Would anyone have ideas as to what may be going on?  Thanks in advance.

    Closed due to no responses. Still looking for a Solution of you have one.

  • [JTA_Start_0]Exception getting connection for Oracle DB

    Hi All,
    I am facing a problem when I am going to insert data in a table (Oracle DB) using JTA Command Action block. I have deployed  the Oracle JDBC driver and Configured the data source in http://<server<:port>>/nwa->Configuration Management -> Infrastructure.  But when I am trying to insert data using the JTA Command Action block for inserting data in a table it is throwing error.I am running with XMII 12.1 SP5 and Oracle 11g.
    Here is the error details.
    [ERROR] [JTA_Start_0]Exception getting connection for jdbc/ODS_ORACLE_SBX was ResourceException occurred in method ConnectionFactoryImpl.getConnection(): com.sap.engine.services.connector.exceptions.BaseResourceException: Cannot get connection for 0 seconds. Possible reasons: 1) Connections are cached within SystemThread(can be any server service or any code invoked within SystemThread in the SAP J2EE Engine) or they are allocated from a non transactional ConnectionFactory. In case of transactional ConnectionFactory used from Application Thread there is an automatic mechanism which detects unclosed connections, 2)The pool size of adapter "ODS_ORACLE_SBX" is not enough according to the current load of the system . In case 1) the solution is to check for cached connections using the Connector Service list_conns command or in case 2), to increase the size of the pool.
    Note: ODS_ORACLE_SBX is the Data source name which I have configured.
    If I increase the min pool size from 0 to 5 or more than 0 then Data source is getting red means not Available.
    Can anybody provide any help.
    Thanks in advance
    Chandan
    Edited by: Chandan Jash on May 3, 2011 4:25 AM

    You set up your Oracle DB connection by following the path 'xMII Menu -> Data Services -> Data Servers -> New'.
    Re: Configure Oracle in MII 12.0
    Regards,
    Chanti.

  • Problem installing 8.1.6 Oracle for Netware

    I'm new to Oracle. I tried to install several times Oracle for Netware 8.1.6 and the Java installer says that the installation is OK.
    But the file to load Oracle, ORALOAD.NCF is empty !!!
    What can I do ??
    Thanks in advance..

    I head that the NT 8.1.6 release was delayed a bit more, possibly until March 2000 time frame.

  • What do I do if the Mac App Store won't except my code for the OS X Mountain Lion code?

    What do I do if the Mac App Store won't except my code for the OS X Mountain Lion code?

    The Apple Support Communities are an international user to user technical support forum. As a man from Mexico my first language is Spanish. I do not speak English, however I do write in English with the aid of the Mac OS X spelling and grammar checks. I also live in a culture perhaps very very different from your own. When offering advice in the ASC, my comments are not meant to be anything more than helpful and certainly not to be taken as insults.
    Contact the folks that sent you the code or AppleCare for assistance.

  • Where is Oracle 8i for NETWARE???

    I have been all over this website and cannot find any information on Oracle 8i for Netware.
    Can anyone tell me where to find information on purchases and software downloads for this?
    Thanks.
    Bill

    We just have to wait - time will come... ;-(
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by LinuxGuy:
    Download are has a Oracle 8i EE Release 2
    available for Solaris and NT but not for
    Linux.
    Why?
    Oracle is disappointing alot of Linux folks.<HR></BLOCKQUOTE>
    null

  • Feature Request(?): Readline for zonecfg

    I'm not sure if it's appropriate to make a feature request, but I thought I might throw it out there since thats kind of what Express is all about. Is there any merit in adding readline support to zonecfg for command history recall and editing? I admit to never having written an app that used readline so I don't know how much work it is, but imho interfaces using readline always feel much more polished.
    Just a thought. :)
    Admittedly with the ability to use "info" at all stages of configuration it's not really neccisary, but again just adds some polish.
    benr.

    I'm not sure if it's appropriate to make a feature request, but I thought I might throw it out there
    since thats kind of what Express is all about. Is there any merit in adding readline support to zonecfg
    for command history recall and editing? I admit to never having written an app that used readline so I
    don't know how much work it is, but imho interfaces using readline always feel much more polished.Actually, the coding isn't the problem. It turns out that GNU readline is GPL (as opposed to LGPL).
    That means that you may not use it without GPLing all software that links with it.
    I believe that one of my coworkers is investingating whether we can solve this using another
    library which provides readline-like functionality. In the mean time, I have opened bugid
    "5005631 Readline for zonecfg" on your behalf. Thanks for the RFE!

  • Exception condition "Logsys for GUID changed"

    Hi all, I am working in SRM 4.0 with a cliente "DSR", in the past I had a backend system with name "SWD" and now I want to create a connection between "DSR" and "SWR" (SWR is a copy from backend system SWD).
    I do all configuration of users, RFC connections, etc...
    But when I run reports for product categories reply, I have this error: Exception condition "Logsys for GUID changed" in Inbound queue in SRM.
    I have to run transaction BDLS in backend? in this case SWR or in SRM system??
    Please this is urgent....
    Thanks in advance
    Rosa

    yr sys names are somewhat confusing
    so I use simple naming convention
    You have set up srmDEV and eccDEV
    it's working fine and now you want to set up QA
    i.e. srmQA and eccQA
    you can not copy completely srmDEV to srmQA like ecc.
    because when you download cust objects (eg prod cat) and bus objects (eg matls)
    a GUID is created in SRM and one more guid is passed to backend.
    Now if you copy srmDEV to srmQA completely with master data (SAP_ALL basis profile for copy)
    then this sychronisation of GUIDs is lost and SRM starts giving erroe message which you are getting.
    So for SRM copy SAP advises to copy with sap_cust profile
    establish new backend connection
    and down load cust objects and bus objects again.
    We had faced this issue and worked the mentioned way.
    BR
    Dinesh

  • BE 9.1 for Netware catalog question

    Hi all,
    Anyone know of a way to view/print catalogs outside of BE? What I'm after is creating a file with the entire directory structure from a catalog. There is the catdump utility, but it looks like it is for the Windows version only. Or can I run that against a BE for Netware catalog?
    Thank you
    Len Bonk
    Network Analyst
    Community Unit School District 200

    Originally Posted by lbonk
    Hi all,
    Anyone know of a way to view/print catalogs outside of BE? What I'm after is creating a file with the entire directory structure from a catalog. There is the catdump utility, but it looks like it is for the Windows version only. Or can I run that against a BE for Netware catalog?
    Thank you
    Len Bonk
    Network Analyst
    Community Unit School District 200
    OK, found in the documentation that catdump can read any versionk's catalogs. I just have to find an eval copy of BE for NT 8.5 or 8.6.

  • Arcserve 11.1 SP 3 for NetWare

    Dear Sirs,
    Could you please let me know where I can find the third service pack
    for Arcserve 11.1 for NetWare?
    (I can't find it at ca.com.)
    Thank you very much in advance!

    Esoap,
    > Could you please let me know where I can find the third service pack
    > for Arcserve 11.1 for NetWare?
    > (I can't find it at ca.com.)
    >
    Have you asked CA? See:
    https://support.ca.com/irj/portal/an...Readme_NW.html
    - Anders Gustafsson (Sysop)
    The Aaland Islands (N60 E20)
    Novell has a new enhancement request system,
    or what is now known as the requirement portal.
    If customers would like to give input in the upcoming
    releases of Novell products then they should go to
    http://www.novell.com/rms

  • Canned Report for Netware client verion?

    Is there a canned/ pre-configured report for Netware client version? I'd
    like to run a quick enterprise report showing which version of Netware
    client we have out there. Thanks in advance.
    hdavidt

    It's sort of crude, but this works:
    Reports->Software Applications->By Manufacturer->Novell
    If you scroll down, you'll find entries for all of the Novell Client
    versions.

  • Uncaught exception: ApplicationRegistry.wait For (0x7c802477365c3985) timeout - unable to call

    Hi!
    I have a BB storm 2 9550 phone. Since this morning, I was getting a error message Uncaught exception: ApplicationRegistry wait For "xxxxxxxxxxxxxxx" owner thread died....When clicked ok, it says "Uncaught exception: ApplicationRegistry.wait For (0x7c802477365c3985) timeout". It also displayed error 6>=6.
    What am I supposed to do now. Can someone pls help. The phone application is completely down. I can't make or rcv calls.

    Is there someone to help me on this issue? It is for BB Storm2 9550 phone. The call and end buttons are not working. I checked similar issues with the other models which were solved by reinstalling Memopad and Tasks. They are still found on my phone. 
    What am I to do now?

  • Backup Exec for NetWare - Replacement?

    Since Symantec has discontinued support for Backup Exec for NetWare and we have dozens of tapes we will need access to for years and we do NOT want to buy a Windows Server just to read those tapes, is there any vendor selling backup software that can read those Backup Exec for NetWare tapes?
    We don't care if the extended attributes can't be restored as long as we can get the data files.

    dsqrd wrote:
    > Since Symantec has discontinued support for Backup Exec for NetWare and
    > we have dozens of tapes we will need access to for years and we do NOT
    > want to buy a Windows Server just to read those tapes, is there any
    > vendor selling backup software that can read those Backup Exec for
    > NetWare tapes?
    >
    > We don't care if the extended attributes can't be restored as long as
    > we can get the data files.
    >
    >
    http://laytongraphics.com/mtf/MTF_100a.PDF
    implies that since the BENW stored stuff in Microsoft Tape Format,
    anyone supporting this MIGHT be able to access it.
    I doubt it's that easy though. Software compression, proprietary blocks.
    Meanwhile SBACKUP, Syncsort and other seem to have chosend SIDF, wwhich
    was Novell's solution.
    I suspect you have to call everyone, ask, and test. And I'd still guess
    you have a 90% chance of being screwed. Backup software has never played
    nice.

Maybe you are looking for