Java only runs as root under redhat 9

Further to my thread here:- http://forum.java.sun.com/thread.jsp?forum=37&thread=473177&tstart=0&trange=15
One key thing I forgot to post was that java WILL run when run as root.
It also 'half' runs as a non root user if you specify a max memory setting with -Xmx (it gets further before it dies).
Any clues anyone.
Please refer to the previous thread for more details.
Thanks

Further to my thread here:-
http://forum.java.sun.com/thread.jsp?forum=37&thread=47
177&tstart=0&trange=15
One key thing I forgot to post was that java WILL run
when run as root.Yes, but when you run as root the environment that you run in is different than that of a user.
It could of course be a permissions problem. For example it is skipping a directory because the user doesn't have permission to access it. But the exception exit still suggests that it is finding something that it shouldn't. And that probably isn't a good idea even if it is a permission problem on a directory.

Similar Messages

  • Firmware update on my Nokia E52 only run java game...

    Hi, I made that day Firmware update on my Nokia E52 and then update-s all right, only run java games and their sound is gone whether he shall be ON. Anybody have a similar problem and a solution for it?? Firmware-v 052.003 but the date is Cot. 29, 2010) will be happy if you give me an idea how to fix it! I tried quite moratoria preinstall, reset backup I have not done, unfortunately the old Firmware.

    Okay, you are using a MacBook so I am not sure how much help I can give since I use a PC with Vista. In the latest version of Ovi Suite, once the update file has been downloaded and the installation starts, the computer will give your prompts that the phone is disconnected via USB, the phone restarts, the screen flashes, etc. I just leave it alone and after the progress bar on the Ovi Suite ends my phone is updated. I currently have v40. The free maps is available only to v31 and above for 5800 if I remember correctly.
    If possible please use the Ovi Suite instead of PC suite (at least in my experience it works better), and do not in any way touch your phone during updates, even if it "disconnects" from the computer.
    However regarding to your query as to why it is not available via the *#0000# method (or FOTA), updates are generally released through NSU before FOTA, sometimes with as much as a month in difference because the files in FOTA are not the entire update file but rather extractions from it. For example, the v40 FOTA is 17mb (according to someone who said he had it already), while the v40 I downloaded through Ovi Suite was 128mb. 
    If you find my post helpful please click the green star on the left under the avatar. Thanks.

  • Java install problem under redhat 9

    I download rpm and install it under redhat 9. I can compile program (the class file is generated) but can not run it.
    I checked the path and see /usr/java/j2sdk1.4.2_04. WHen I check the version, it tell me version "1.3.1". It soulds like I have 2 different version of java installed. How can I solve this problem?
    Thanks

    Probably not a mix up. Try to update your path wirh the path to the bin directory of the java version you want to use. Something like :
    export PATH=/usr/java/j2sdk1.4.2_04/bin:$PATH

  • Running SLD on Java-only system

    Can I use a Java-only system for my SLD server when I have ABAP-only servers in my environment. The ABAP-only servers would be sending their information to this Java-only SLD

    To setup a gateway service on a Java-only machine do the following:
    1.  
    Edit the profile START_SCS00_##### adding the following two lines
    _GW = /usr/sap/<SID>/SYS/exe/run/gwrd $(FT_EXE)
    Start_Program_05 = local $(_GW) pf=/sapmnt/profile/<SID>_JC00_#####
    2.    Edit the file DEFAULT.PFL adding this line
    a.    rdisp/sna_gw_service = sapgw00
    1.    Edit the file /usr/sap/<SID>/exe/scs.lst adding two lines
    i.    gwmon
      ii.    gwrd
    3.    Restart JAVA on the server
    4.    You can check the status of the gateway using the command:
    a.    gwmon   pf=/sapmnt/profile/<SID>_JC00_#####

  • I can not get any updates and therefor not use Java as it only run updates for Mac 10.7. and later? How do i get the updates to install and use Java?

    I can not get ny updates and therefore not use Java, as it only run updates for MAC 10.7. and later. How do i get the updates to install and use JAVA ?

    In Snow Leopard you update Java from Software Update (in the Apple menu). You can check your version by opening Terminal and typing
    java -version
    (don't get creative and type anything else)
    The latest version is 1.6.0_65.

  • I have 4 computers running Adobe CC under two different accounts (as 1 account can only be installed on two computers) i need it on a 5th computer now, do i need another account or can i set up something so all 5 run from the same account making it easier

    I have 4 computers running Adobe CC under two different accounts (as 1 account can only be installed on two computers) i need it on a 5th computer now, do i need another account or can i set up something so all 5 run from the same account making it easier?

    Check into a Team account
    -http://www.adobe.com/products/creativecloud/teams/benefits.html
    -assign a new team member http://forums.adobe.com/thread/1460939?tstart=0 may help
    -Team Installer http://forums.adobe.com/thread/1363686?tstart=0

  • Installation oracle 9i under Redhat 4

    hi everybody,
    I'm trying to install oracle 9i under Redhat ES4, and I have this error message,
    thanks for your help,
    regards
    [root@localhost ~]# more /home/oracle/oraInventory/logs/oraInstall2008-12-23_07-
    19-22PM.err
    java.lang.UnsatisfiedLinkError: /tmp/OraInstall2008-12-23_07-19-22PM/libactionUn
    ix22.so: /tmp/OraInstall2008-12-23_07-19-22PM/libactionUnix22.so: symbol errno,
    version GLIBC_2.0 not defined in file libc.so.6 with link time reference
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1419)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1314)
    at java.lang.Runtime.load0(Runtime.java:698)
    at java.lang.System.load(System.java:797)
    at ssOiGenClassux22.<clinit>(ssOiGenClassux22.java:25)
    at sscreateLinkux.createLink(sscreateLinkux.java:255)
    at sscreateLinkux.installAction(sscreateLinkux.java:83)
    at oracle.sysman.oii.oiis.OiisCompActions.doActionWithException(OiisComp
    Actions.java:1357)
    at oracle.sysman.oii.oiis.OiisCompActions.doActionImpl(OiisCompActions.j
    ava:1157)
    at oracle.sysman.oii.oiis.OiisCompActions.doAction(OiisCompActions.java:
    604)
    at CompActions.doActionP1createLink3(CompActions.java:310)
    at CompActions.stateChangeActions(CompActions.java:106)
    at oracle.sysman.oii.oiic.OiicInstallActionsPhase$OiilActionThr.run(Oiic
    InstallActionsPhase.java:604)
    at oracle.sysman.oii.oiic.OiicInstallActionsPhase.executeProductPhases(O
    iicInstallActionsPhase.java:2199)
    at oracle.sysman.oii.oiic.OiicInstallActionsPhase.doInstalls(OiicInstall
    ActionsPhase.java:2052)
    at oracle.sysman.oii.oiic.OiicInstallActionsPhase$OiInstRun.run(OiicInst
    allActionsPhase.java:2945)
    at java.lang.Thread.run(Thread.java:484)

    I'm more than a bit confused why anyone would be installing, 10 years after its release, a now desupported version of the product. It seems from what you posted that you are installing on an operating system version that did not exist when 9i (whatever that means - 9.0.3 or 9.2.0.5 are version numbers) was released.
    I would suggest installing 10.2.0.1 on Redhat 4, 11.1.0.6 on version 5, finding an ancient version of the O/S if you want 9.x or playing games with the install to see if you can trick it into thinking you have compatibility which is generally speaking a bad idea.

  • Pacman -Syu and now keyboard only works as root kde

    I did a pacman -Syu and now keyboard only works as root kde
    Users can use keyboard in the basic console and this is a failure within KDE or the X-server.
    On this upgrade I needed to add the portmap daemon to rc.conf.
    I am running kerrnel 2.6.5-2. The upgrade lifted KDE to KDE 3.2.2. Xfree86 was upgraded previously and did not present this problem so the KDE upgrade is under suspicion.
    My rc.conf daemons list is DAEMONS=(portmap syslogd klogd !pcmcia network netfs crond fam cups kdm)
    Is there something extra I need to add?

    Hi colnago,
    I tidied up my daemons, after considering how you've set yours. I agree portmap and fam are not useful. I now understand that the upgrade was leaning on fam so that it noticed portmap was missing... a red herring issue, perhaps?
    I had no means of getting a dmesg log readout, because of the keyboard crashing. So I have patiently reinstalled kde 3.2.1, by way of adding the components one by one from /var/cache/pacman/pkg/. That works, so I can now pause and investigate if there are any any known issues with the 3.2.2 upgrade that shed light.
    I did get an indicator that the DCOP server did not function properly. This happened as warnings and errors, when I installed an additional user.
    Thanks
    gs

  • Need to run swing GUIs under different JRE versions

    I need to run swing GUIs under different JRE versions. Where can I find information about how to use only classes which exist from version 1.1.7 and above?

    Under 1.1.7, Swing (then version 1.0) was under com.sun.java.swing. The package name changed in Swing 1.1 b3/JDK 1.2 to javax.swing. You can see what classes were available under Swing 1.0 at http://java.sun.com/products/jfc/swingdoc-api-1.0.3/frame.html

  • Executing scripts as root under Linux

    I have an application that is running as a normal Linux user. A small portion of the application needs to execute various linux commands that require root access. Currently, I am using sudo to call a script from java that executes these functions.
    To improve error handling and error feedback, it is desired to move functionality out of the scripts and into Java. Is there a way in Java to grant specific sections of code root access?

    I could be wrong with this, but I think you're trying to do something outside of the JVM that you're running, which in this case won't work. The only real way that I can think of is if you made a very specific program with arguments pertaining exactly to what your program needs, and use Runtime.exec() on another Java program run with the sudo command from within your current project. There might be another way, but this is the only feasable way that I could think of to do this.
    In terms of error handling and feedback, how would forcing the program to use multiple users create better error handling and feedback?
    edit - I think I dodged your original question without meaning to. The short answer is if you're trying to run portions of your code as one user and portions of the same program as another user, it won't work, period.

  • Running .jar file under 1.5 & 1.6

    I've created an application under netbeans 6.1 using jdk 1.6.0_06. The application runs on any PC that contains version 1.6, but will not execute for 1.5. I did not know at the time all other workstations contain jdk 1.5. An error for NoClassDefFoundError GroupLayout$Group appears running under 1.5. I realize building this app under 1.6 causes this error, as it uses some of the functionality of 1.6. Is there anyway to run this app under 1.5 without reinventing the wheel, since my Lan administrators will not approve the upgrade to 1.6 ? I've read the site http://forum.java.sun.com/thread.jspa?forumID=31&threadID=5259325, about changing and adding the Java Platform to a different version, but unable to add JDK 1.5

    ChuckBing wrote:
    abillconsl wrote:
    I'd be interested to know why it's a Netbeans thing - isn't vers 1.6x, well, 1.6x - no matter what the build forum?This missing lib
    NoClassDefFoundError GroupLayout$Group is because the lib isn't included in 1.5 (it was added to 1.6) and the FAQs at the NB site explain what to do.Um ... didn't I mention that myself in my first post? I still don't get what NetBeans has to do with it.

  • Error in bootstrap within patching of NW PI 7.40 AEX (Java Only)

    Hi all,
    we are suffering an error witin patching a NW PI 7.40 AEX (Java Only)
    In SUM we get the following error when SUM wants to stop / start system in execution phase
    FATAL: Critical shutdown with exit code [2150] was requested due to [AS
    Java
    cannot be started; core service [tc~lm~nzdm~crrsrv] failed to
    start]
    We already checked note http://service.sap.com/sap/support/notes/1713021 for this with no luck.
    We are getting the following output in bootstrap
    Starting to initialize database connection
    Exception occurred for component [internal/unkown] of type [unkown]
    com.sap.engine.bootstrap.SynchronizationException: Storage access initialization failed due to OpenSQL error.Check if your db driver file is avail
    able on the file system or if the user has correct permissions for that file
            at com.sap.engine.bootstrap.StorageAccess.<init>(StorageAccess.java:146)
            at com.sap.engine.bootstrap.Bootstrap.initializeSynchronizer(Bootstrap.java:79)
            at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:273)
            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:597)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:162)
    ----------==[ Caused by: ]==----------
    com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB.
            at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPoolImpl.<init>(DBConnectionPoolImpl.java:171)
            at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandlerImpl.<init>(PersistenceHandlerImpl.java:50)
            at com.sap.engine.core.configuration.impl.cache.ConfigurationController.<init>(ConfigurationController.java:139)
            at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:309)
            at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:59)
            at com.sap.engine.bootstrap.StorageAccess.<init>(StorageAccess.java:138)
            at com.sap.engine.bootstrap.Bootstrap.initializeSynchronizer(Bootstrap.java:79)
            at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:273)
            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:597)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:162)
    Caused by: com.sap.sql.log.OpenSQLException: Error while accessing secure store: The check record (key "$internal/check") was not found in the sto
    re although this store is encrypted..
            at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:104)
            at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:143)
            at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:143)
            at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:115)
            at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPoolImpl.<init>(DBConnectionPoolImpl.java:164)
            ... 12 more
    Caused by: com.sap.security.core.server.secstorefs.FileInvalidException: The check record (key "$internal/check") was not found in the store altho
    ugh this store is encrypted.
            at com.sap.security.core.server.secstorefs.SecStoreFS.openExistingStore(SecStoreFS.java:2048)
            at com.sap.sql.connect.OpenSQLConnectInfo.getStore(OpenSQLConnectInfo.java:793)
            at com.sap.sql.connect.OpenSQLConnectInfo.lookup(OpenSQLConnectInfo.java:784)
            at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:128)
            ... 14 more
    [Bootstrap]> Error during synchronization. More details: the previous log entries
    Do you guys have any clue on this?
    Any help would be greatly appreciated.
    Many thanks
    Jens

    I'd like to share some updates on this:
    We discovered, that the line having "$internal/check" within SecStore.properties was indeed commented out. However we did not do that manually. We removed the comment from that file manually (which might be a mistake) but in doing so we at least got some progress but having some other errors:
    We find now following Messages in the dev-jstart-logfile:
    * WARNING => SfCEventDispatcher::processQueue: rc 3 (invalid function argument) from SfCJavaProcHandler(server0)([mType=PROC_CMD, mRepl y=TRUE, pca=[cmd=GET_CALLSTACK, procId=2, arg=65], mpEvent= [mType=NODE_CMD, mReply=TRUE, nca=[cmd=GET_CALLSTACK, nodeId=2]]])
    [sfxxevt.hpp 3152] F [Thr 01] *** WARNING => SfCNodeManager(server0)::onReply: command 2010 GET_CALLSTACK returned 3 invalid function argument.
    Executing sapcontrol -GetProcessList you can see that all precesses are running but jstart is yellow (some processes are running). Checking the message Server logfile you can find:
    [Thr 01] Wed Feb 26 14:32:03 2014 [Thr 01] LOGOUT: J2EE106864420 [10.6.1.174] (ENQ) [Thr 01] *** ERROR => MsSSend: NiBufSend (rc=NIECONN_BROKEN) to C1
    (JC_rs174QSF_QSF_10) [msxxserv.c 13557] [Thr 01] *** ERROR => MsSSndInfo: cant send info request to C1
    (JC_rs174QSF_QSF_10) [msxxserv.c 13778] [Thr 01] LOGOUT: JC_rs174QSF_QSF_10 [10.6.1.174] (DIA )
    Any help would really be great.
    Thanks and kind regards
    Jens

  • Deploy MS SQL Driver in PI 7.4 Java Only

    Hi Experts,
    We have a requirement to use JDBC adapter to connect to MS SQL Server. For that jdbc driver should be deployed on PI.
    For that i have downloaded .jar  from MSDN - sqljdbc_4.1.5605.100_enu.exe
    I have gone through several threads & SAP note 1138877 - How to Deploy External Drivers JDBC/JMS Adapters on SCN but not completely understood.
    Please help me with this, how can i deploy it on PI 7.4 Java only?
    It would be a great help and highly appreciated.
    Thanks in advance.
    Regards,
    Dipen.

    Hi Hareesh,
    Thanks for a quick reply.
    I have gone through those several blogs & threads but still i am running out of clue.
    Should i do it with SUM or directly it is possible from NWA as per below link?
    Configuring JDBC for SAP Enterprise Portal - Configuring the Portal for Initial Use - SAP Library
    Please advice.

  • Table in PI JAVA only system & Report development in JAVA only system

    Dear Experts ,
    We are migrating from Dual to Single stack JAVA only PI system.
    In Dual stack system all the message data are stored in ABAP table from which MONI pulls data .
    But in JAVA only system how data is stored ..? and how to access those table ..?
    we need a report to develop which will have these data .
    Interface name
    Date & time of run
    Key Data (if possible would like to see key data from the run, for example po number, material number, part number, idoc number would all be considered key data)
    Pass/Fail flag
    Error Message (only required if the run failed)
    How & where to write code to develop this report ...?
    thanks
    Shakif

    Hi Shakif,
    Look at this link:
    Message details and AuditLog from Java Stack using Custom WebService
    and this link about the Java Data Browser:
    Open SQL Data Browser - Process Integration - SCN Wiki
    Best Regards
    Harald

  • What is the highest Java version running with SOA Suite v10.1.3.3 ?

    What is the highest Java version running with SOA Suite v10.1.3.3 ?
    From my point of view at least v1.4.1
    Maybe v1.5
    but not v1.6
    Is this true?
    Peter

    I guess only 1.5.
    1.6 is officially not supported and 1.4 does break stuff, I tried running it with it, and didn't even come up.
    Regards,
    Chintan

Maybe you are looking for