Error while running executable file through java in WinNT

I would like to run an executable file with Java.
- If I try with notepad or paint, i.e. Windows Applications,
  I have no problem.
- I also can run Non-Windows-Own Applications, except one.
  I get an error message, if I want to run this program through Java.
I have tried following commands to run an executable file.
Runtime.getRuntime().exec("cmd.exe /c "+command);
Runtime.getRuntime().exec("cmd.exe /c start "+command);
Runtime.getRuntime().exec("cmd.exe /c start /wait "+command);
Runtime.getRuntime().exec("cmd.exe /k start "+command);
command : the path to the executable file
I can run the application directly, if I click the icon on desktop,
but not through Java.
here is the error message I get
screenshot : http://www.aykut.de/error_message.jpg
Text : "Security Check failure"
        The Logon System has been tampered with.
        The Administrator will need to re-install.
my Idea :
The application is "old".
I think it was written for Win 3.1.
Therefore I don't know if there is any other
possibilty to run a "DOS Exe File" through Java.

I have just figured out how it works,
if somebody else here in forum have this problem,
here is the solution :
String path = "F:\...\...\Application.exe";
String envDir = path.substring(0, path.lastIndexOf("\\"));
String[] command = {"cmd.exe", "/c", "start", "/wait", "/D"+envDir, path};
Process process = Runtime.getRuntime().exec(command);
"start /Dpath" => path: environment directory F:\...\...\
"start /wait" => wait until Application.exe terminates
if you use Win95 or Win98 use command.com instead of cmd.exe
Aykut

Similar Messages

  • Error while running web application through JDEV (10.1.3.0.3) in OC4J

    Error while running web application through JDEV (10.1.3.0.3) in OC4J.
    Here is the error message.
    07/10/02 14:45:28 Exception in thread "OC4J Launcher" oracle.classloader.util.AnnotatedNoClassDefFoundError:
         Missing class: javax.xml.bind.JAXBContext
         Dependent class: com.oracle.corba.ee.impl.orb.config.InternalSettingsORBConfigImpl
         Loader: oc4j:10.1.3
         Code-Source: /C:/jdev/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar
    The missing class is not available from any code-source or loader in the server.
    07/10/02 14:45:28      at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2073) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
         at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1681) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1633) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1618) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
         at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre bootstrap, by jre.bootstrap]
         at com.oracle.corba.ee.impl.orb.config.InternalSettingsORBConfigImpl.init (InternalSettingsORBConfigImpl.java:46) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.oracle.corba.ee.impl.orb.config.SunRIORBConfigImpl.init (SunRIORBConfigImpl.java:97) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.oracle.iiop.server.IIOPServerExtensionProvider.configureOrb (IIOPServerExtensionProvider.java:26) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.oracle.corba.ee.impl.orb.ORBServerExtensionProviderImpl.preInitApplicationServer (ORBServerExtensionProviderImpl.java:45) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ApplicationServer.serverExtensionPreInit (ApplicationServer.java:1031) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ApplicationServer.setConfig (ApplicationServer.java:861) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ApplicationServerLauncher.run (ApplicationServerLauncher.java:98) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at java.lang.Thread.run (Thread.java:595) [jre bootstrap, by jre.bootstrap]

    Hi,
    The guide you were refering was pointing to 10.1.2 wizards.
    For the latest 10.1.3 tutorial, please follow the below tutorial link :
    http://www.oracle.com/technology/products/jdev/101/tutorials/WS/WSandAScontrol.htm
    Hope this helps,
    Sunil..

  • I get a ssl  Provider error while running a file..

    WHen I try to run a file <filename>.java (the file has no problem in compilation), I get an error that says - "Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/net/ssl/internal/ssl/Provider".
    What does this mean and how can I rectify it? I've already edited the java.security file and added the provider -
    security.provider.1=com.sun.net.ssl.internal.ssl.Provider
    but still the problem occurs.

    I can not even compile the file since there is no .Provider() method!
    java.security.Security.setProperty("security.provider.1","com.sun.net.ssl.internal.ssl.Provider");
    java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());None of these works! I can get the JSSE work while setting provider in java.security file as:
    security.provider.3=com.sun.net.ssl.internal.ssl.Provider
    but I can not set it dynamically! Any help?

  • Getting error while running jar file

    Hi,
    I am getting below error while running the jar file
    "Exception in thread "main" java.lang.NoClassDefFoundError: oracle/jdeveloper/layout/XYLayout:"
    I have created a simple ADF desktop app in which i am displaying the frame.I created the jar from Jdeveloper.
    Please help..

    How do you run the jar file? Take a look at this thread for a possible a solution: Re: deploying a jdeveloper adf application to a desktop
    Is the class XYLayout packaged or referenced? Take a look at this thread: XYlayout  classes - can I distribute with my code?

  • Error while deploying EAR file through SDM

    Hi All,
    I am deploying EAR file through SDM. Its taking too much time to deploy in the 3rd stage (its just a simple hello file for testing purpose and its still in that stage for 2 hours).
    When I see the log, I can see some fata error. Please suggest me what should I do. 
    ==
    Oct 15, 2008 4:31:44 PM  Info: SDM started successfully.
    Oct 15, 2008 4:33:21 PM  Info: Opened client connection to sapretail (IP address
    sapretail/172.20.177.203, remote port 58645)
    Oct 15, 2008 4:33:23 PM  Info: Request for Logon as admin accepted
    Oct 15, 2008 4:39:07 PM  Info: Loading archive '/usr/sap/trans/EPS/sap.comwdtu
    torial~ex1.ear'
    Oct 15, 2008 4:40:50 PM  Info: Actions per selected component:
    Oct 15, 2008 4:40:50 PM  Info: Initial deployment: Selected development componen
    t 'wd/tutorial/ex1'/'sap.com'/'LOKAL'/'0.2008.10.14.12.51.57' will be deployed.
    Oct 15, 2008 4:44:41 PM  Info: Saved current Engine state.
    Oct 15, 2008 4:44:48 PM  Fatal: State BeforeNextDeployment can't process event I
    nitiateDeployment
    The reason I am doing through SDM because while deploying through NWDS its throwing an error
    Oct 13, 2008 12:44:41 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [001]Deployment aborted
    Settings
    SDM host : sapretail
    SDM port : 50118
    URL to deploy : file:/C:/DOCUME1/231477/LOCALS1/Temp/temp41002sap.comwdtutorial~ex1.ear
    Deployment exception : Server sapretail did not accept login request as admin on port 50118. Details: ERROR: Could not establish connection to server sapretail at port 50118: sapretail
    Inner exception was :
    Server sapretail did not accept login request as admin on port 50118. Details: ERROR: Could not establish connection to server sapretail at port 50118: sapretail
    Please suggest a solution.
    Regards,
    Jitender

    Now, when I deploy through NWDS, I get the following error.
    Result
    => deployment aborted : file:/C:/DOCUME1/231477/LOCALS1/Temp/temp51346sap.comwdtutorial~ex1.ear
    Aborted: development component 'wd/tutorial/ex1'/'sap.com'/'LOKAL'/'0.2008.10.15.21.04.16':Caught exception while checking the login credentials for SAP J2EE Engine. Check whether the SAP J2EE Engine is up and running.com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [sapretail] with user name: [J2EE_ADMIN]                     Check your login information.                     Exception is: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: Cannot authenticate the user.] (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMEXC)
    Deployment exception : The deployment of at least one item aborted

  • Run batch files through java code

    Hi All
    I need to run a batch file using java code . I am not getting any error, but also no output. Can someone let me know the problem with my code.The code i am using is
    import java.io.*;
    public class batchtest {
         public static void main(String[] args) {
              Runtime r = Runtime.getRuntime();
         Process p= null;
         String line;
              try{
              p = r.exec("cmd /c testBatch.bat");
              BufferedReader input = new BufferedReader
              (new InputStreamReader(p.getInputStream()));
         while ((line = input.readLine()) != null) {
         System.out.println(line);
         input.close();
              System.out.println("running...");
              }catch(Exception e)
                   e.printStackTrace();
    }

    Maybe this helps:
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

  • Error while running Birt Report through eclipse

    I have created 1 report using mysql jdbc connector , report is created successfully but while running report in web viewer is througing exception. Can anyone please help me
    Following is exception :
    org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report.
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report.
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/}stackTrace:org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report.
    at org.eclipse.birt.report.service.ReportEngineService.throwDummyException(ReportEngineService.java:1115)
    at org.eclipse.birt.report.service.ReportEngineService.runAndRenderReport(ReportEngineService.java:943)
    at org.eclipse.birt.report.service.BirtViewerReportService.runAndRenderReport(BirtViewerReportService.java:973)
    at org.eclipse.birt.report.service.actionhandler.BirtRunAndRenderActionHandler.__execute(BirtRunAndRenderActionHandler.java:76)
    at org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(AbstractBaseActionHandler.java:90)
    at org.eclipse.birt.report.presentation.aggregation.layout.EngineFragment.doService(EngineFragment.java:318)
    at org.eclipse.birt.report.presentation.aggregation.AbstractBaseFragment.service(AbstractBaseFragment.java:76)
    at org.eclipse.birt.report.servlet.BirtEngineServlet.__doGet(BirtEngineServlet.java:116)
    at org.eclipse.birt.report.servlet.BaseReportEngineServlet.doGet(BaseReportEngineServlet.java:185)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
    at org.eclipse.birt.report.servlet.BaseReportEngineServlet.service(BaseReportEngineServlet.java:116)
    at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
    at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
    at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
    at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
    at org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:384)
    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:598)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:486)
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1065)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:413)
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:999)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)
    at org.eclipse.jetty.server.Server.handle(Server.java:350)
    at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:454)
    at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:890)
    at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:944)
    at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:630)
    at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:230)
    at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77)
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:606)
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:46)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:603)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:538)
    at java.lang.Thread.run(Unknown Source)
    Caused by: org.eclipse.birt.report.engine.api.EngineException: Error happened while running the report.
    at org.eclipse.birt.report.engine.api.impl.EngineTask.handleFatalExceptions(EngineTask.java:2380)
    at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:191)
    at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77)
    at org.eclipse.birt.report.service.ReportEngineService.runAndRenderReport(ReportEngineService.java:937)
    ... 38 more
    Caused by: java.lang.NoSuchMethodError: org.eclipse.datatools.connectivity.oda.spec.QuerySpecification.getBaseQuery()Lorg/eclipse/datatools/connectivity/oda/spec/BaseQuery;
    at org.eclipse.birt.data.engine.executor.DataSourceQuery.prepare(DataSourceQuery.java:286)
    at org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery$OdaDSQueryExecutor.prepareOdiQuery(PreparedOdaDSQuery.java:517)
    at org.eclipse.birt.data.engine.impl.QueryExecutor.prepareExecution(QueryExecutor.java:346)
    at org.eclipse.birt.data.engine.impl.PreparedQuery.doPrepare(PreparedQuery.java:463)
    at org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.produceQueryResults(PreparedDataSourceQuery.java:190)
    at org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.execute(PreparedDataSourceQuery.java:178)
    at org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery.execute(PreparedOdaDSQuery.java:178)
    at org.eclipse.birt.report.data.adapter.impl.DataRequestSessionImpl.execute(DataRequestSessionImpl.java:637)
    at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExecuteQuery(DteDataEngine.java:152)
    at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:275)
    at org.eclipse.birt.report.engine.executor.ExecutionContext.executeQuery(ExecutionContext.java:1947)
    at org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:80)
    at org.eclipse.birt.report.engine.executor.DataItemExecutor.execute(DataItemExecutor.java:75)
    at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43)
    at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
    at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:34)
    at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:65)
    at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:92)
    at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100)
    at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:181)
    ... 40 more

    Are you using a connection profile? And when you say web viewer, are you talking about the sample viewer deployed to an app server or the web viewer from within the designer?

  • Getting error while running jnlp file

    Hello, I have generated jnlp file succesffully, but when I run the jnlp file I got this error:
    WARNING: com.sun.javafx.css.StyleHelper lookup caught:
    java.lang.IllegalArgumentException: No enum constant javafx.geometry.Pos.center_right
                    at java.lang.Enum.valueOf(Unknown Source)
                    at com.sun.javafx.css.converters.EnumConverter.convert(Unknown Source)
                    at com.sun.javafx.css.converters.EnumConverter.convert(Unknown Source)
                    at com.sun.javafx.css.StyleHelper.lookup(Unknown Source)
                    at com.sun.javafx.css.StyleHelper.transitionToState(Unknown Source)
                    at javafx.scene.Node.impl_processCSS(Unknown Source)
                    at javafx.scene.Parent.impl_processCSS(Unknown Source)
                    at javafx.scene.Parent.impl_processCSS(Unknown Source)
                    at javafx.scene.Parent.impl_processCSS(Unknown Source)
                    at javafx.scene.Node.processCSS(Unknown Source)
                    at javafx.scene.Scene.doCSSPass(Unknown Source)
                    at javafx.scene.Scene.preferredSize(Unknown Source)
                    at javafx.scene.Scene.impl_initPeer(Unknown Source)
                    at javafx.stage.Window$13.invalidated(Unknown Source)
                    at javafx.beans.property.BooleanPropertyBase.markInvalid(Unknown Source)
                    at javafx.beans.property.BooleanPropertyBase.set(Unknown Source)
                    at javafx.stage.Window.setShowing(Unknown Source)
                    at javafx.stage.Window.show(Unknown Source)
                    at javafx.stage.Stage.show(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.FXConsole.setVisibleImpl(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.FXConsole.access$2700(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.FXConsole$5.run(Unknown Source)
                    at com.sun.javafx.application.PlatformImpl$3.run(Unknown Source)
                    at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
                    at com.sun.glass.ui.win.WinApplication.access$100(Unknown Source)
                    at com.sun.glass.ui.win.WinApplication$2$1.run(Unknown Source)
                    at java.lang.Thread.run(Unknown Source)
    WARNING: com.sun.javafx.css.StyleHelper lookup caught:
    java.lang.IllegalArgumentException: No enum constant javafx.geometry.Pos.center_right
                    at java.lang.Enum.valueOf(Unknown Source)
                    at com.sun.javafx.css.converters.EnumConverter.convert(Unknown Source)
                    at com.sun.javafx.css.converters.EnumConverter.convert(Unknown Source)
                    at com.sun.javafx.css.StyleHelper.lookup(Unknown Source)
                    at com.sun.javafx.css.StyleHelper.transitionToState(Unknown Source)
                    at javafx.scene.Node.impl_processCSS(Unknown Source)
                    at javafx.scene.Parent.impl_processCSS(Unknown Source)
                    at javafx.scene.Parent.impl_processCSS(Unknown Source)
                    at javafx.scene.Parent.impl_processCSS(Unknown Source)
                    at javafx.scene.Parent.impl_processCSS(Unknown Source)
                    at javafx.scene.Parent.impl_processCSS(Unknown Source)
                    at javafx.scene.Node.processCSS(Unknown Source)
                    at javafx.scene.Scene.doCSSPass(Unknown Source)
                    at javafx.scene.Scene.preferredSize(Unknown Source)
                    at javafx.scene.Scene.impl_initPeer(Unknown Source)
                    at javafx.stage.Window$13.invalidated(Unknown Source)
                    at javafx.beans.property.BooleanPropertyBase.markInvalid(Unknown Source)
                    at javafx.beans.property.BooleanPropertyBase.set(Unknown Source)
                    at javafx.stage.Window.setShowing(Unknown Source)
                    at javafx.stage.Window.show(Unknown Source)
                    at javafx.stage.Stage.show(Unknown Source)
                    at javafx.stage.Stage.impl_showAndWait(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.DialogTemplate$8.run(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.DialogTemplate.setVisible(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.FXUIFactory$3.call(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.FXUIFactory$3.call(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.FXPluginToolkit$Caller.run(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.FXPluginToolkit.callAndWait(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.FXUIFactory.showErrorDialog(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.FXUIFactory.showMessageDialog(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.ErrorPane$1.handle(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.ErrorPane$1.handle(Unknown Source)
                    at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
                    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
                    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
                    at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
                    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
                    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
                    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
                    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
                    at com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
                    at com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
                    at javafx.event.Event.fireEvent(Unknown Source)
                    at javafx.scene.Scene$ClickGenerator.postProcess(Unknown Source)
                    at javafx.scene.Scene$ClickGenerator.access$6100(Unknown Source)
                    at javafx.scene.Scene$MouseHandler.process(Unknown Source)
                    at javafx.scene.Scene$MouseHandler.process(Unknown Source)
                    at javafx.scene.Scene$MouseHandler.access$1300(Unknown Source)
                    at javafx.scene.Scene.impl_processMouseEvent(Unknown Source)
                    at javafx.scene.Scene$ScenePeerListener.mouseEvent(Unknown Source)
                    at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(Unknown Source)
                    at com.sun.glass.ui.View.handleMouseEvent(Unknown Source)
                    at com.sun.glass.ui.View.notifyMouse(Unknown Source)
                    at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
                    at com.sun.glass.ui.win.WinApplication.access$100(Unknown Source)
                    at com.sun.glass.ui.win.WinApplication$2$1.run(Unknown Source)
                    at java.lang.Thread.run(Unknown Source)
    WARNING: com.sun.javafx.css.StyleHelper lookup caught:
    java.lang.IllegalArgumentException: Invalid cursor specification
                    at javafx.scene.Cursor.cursor(Unknown Source)
                    at com.sun.javafx.css.converters.CursorConverter.convert(Unknown Source)
                    at com.sun.javafx.css.converters.CursorConverter.convert(Unknown Source)
                    at com.sun.javafx.css.StyleHelper.lookup(Unknown Source)
                    at com.sun.javafx.css.StyleHelper.transitionToState(Unknown Source)
                    at javafx.scene.Node.impl_processCSS(Unknown Source)
                    at javafx.scene.Parent.impl_processCSS(Unknown Source)
                    at javafx.scene.Node.processCSS(Unknown Source)
                    at javafx.scene.Scene.doCSSPass(Unknown Source)
                    at javafx.scene.Scene.preferredSize(Unknown Source)
                    at javafx.scene.Scene.impl_initPeer(Unknown Source)
                    at javafx.stage.Window$13.invalidated(Unknown Source)
                    at javafx.beans.property.BooleanPropertyBase.markInvalid(Unknown Source)
                    at javafx.beans.property.BooleanPropertyBase.set(Unknown Source)
                    at javafx.stage.Window.setShowing(Unknown Source)
                    at javafx.stage.Window.show(Unknown Source)
                    at javafx.stage.Stage.show(Unknown Source)
                    at javafx.stage.Stage.impl_showAndWait(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.DialogTemplate$8.run(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.DialogTemplate.setVisible(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.FXUIFactory$3.call(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.FXUIFactory$3.call(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.FXPluginToolkit$Caller.run(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.FXPluginToolkit.callAndWait(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.FXUIFactory.showErrorDialog(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.FXUIFactory.showMessageDialog(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.ErrorPane$1.handle(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.ErrorPane$1.handle(Unknown Source)
                    at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
                    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
                    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
                    at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
                    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
                    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
                    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
                    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
                    at com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
                    at com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
                    at javafx.event.Event.fireEvent(Unknown Source)
                    at javafx.scene.Scene$ClickGenerator.postProcess(Unknown Source)
                    at javafx.scene.Scene$ClickGenerator.access$6100(Unknown Source)
                    at javafx.scene.Scene$MouseHandler.process(Unknown Source)
                    at javafx.scene.Scene$MouseHandler.process(Unknown Source)
                    at javafx.scene.Scene$MouseHandler.access$1300(Unknown Source)
                    at javafx.scene.Scene.impl_processMouseEvent(Unknown Source)
                    at javafx.scene.Scene$ScenePeerListener.mouseEvent(Unknown Source)
                    at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(Unknown Source)
                    at com.sun.glass.ui.View.handleMouseEvent(Unknown Source)
                    at com.sun.glass.ui.View.notifyMouse(Unknown Source)
                    at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
                    at com.sun.glass.ui.win.WinApplication.access$100(Unknown Source)
                    at com.sun.glass.ui.win.WinApplication$2$1.run(Unknown Source)
                    at java.lang.Thread.run(Unknown Source)
    WARNING: com.sun.javafx.css.StyleHelper lookup caught:
    java.lang.IllegalArgumentException: No enum constant javafx.geometry.Pos.center_right
                    at java.lang.Enum.valueOf(Unknown Source)
                    at com.sun.javafx.css.converters.EnumConverter.convert(Unknown Source)
                    at com.sun.javafx.css.converters.EnumConverter.convert(Unknown Source)
                    at com.sun.javafx.css.StyleHelper.lookup(Unknown Source)
                    at com.sun.javafx.css.StyleHelper.transitionToState(Unknown Source)
                    at javafx.scene.Node.impl_processCSS(Unknown Source)
                    at javafx.scene.Parent.impl_processCSS(Unknown Source)
                    at javafx.scene.Parent.impl_processCSS(Unknown Source)
                    at javafx.scene.Parent.impl_processCSS(Unknown Source)
                    at javafx.scene.Parent.impl_processCSS(Unknown Source)
                    at javafx.scene.Parent.impl_processCSS(Unknown Source)
                    at javafx.scene.Node.processCSS(Unknown Source)
                    at javafx.scene.Scene.doCSSPass(Unknown Source)
                    at javafx.scene.Scene.access$2900(Unknown Source)
                    at javafx.scene.Scene$ScenePulseListener.pulse(Unknown Source)
                    at com.sun.javafx.tk.Toolkit.firePulse(Unknown Source)
                    at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(Unknown Source)
                    at com.sun.javafx.tk.quantum.QuantumToolkit$8.run(Unknown Source)
                    at com.sun.glass.ui.win.WinApplication._enterNestedEventLoop(Native Method)
                    at com.sun.glass.ui.Application.enterNestedEventLoop(Unknown Source)
                    at com.sun.javafx.tk.quantum.QuantumToolkit.enterNestedEventLoop(Unknown Source)
                    at javafx.stage.Stage.impl_showAndWait(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.DialogTemplate$8.run(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.DialogTemplate.setVisible(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.FXUIFactory$3.call(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.FXUIFactory$3.call(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.FXPluginToolkit$Caller.run(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.FXPluginToolkit.callAndWait(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.FXUIFactory.showErrorDialog(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.FXUIFactory.showMessageDialog(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.ErrorPane$1.handle(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.ErrorPane$1.handle(Unknown Source)
                    at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
                    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
                    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
                    at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
                    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
                    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
                    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
                    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
                    at com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
                    at com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
                    at javafx.event.Event.fireEvent(Unknown Source)
                    at javafx.scene.Scene$ClickGenerator.postProcess(Unknown Source)
                    at javafx.scene.Scene$ClickGenerator.access$6100(Unknown Source)
                    at javafx.scene.Scene$MouseHandler.process(Unknown Source)
                    at javafx.scene.Scene$MouseHandler.process(Unknown Source)
                    at javafx.scene.Scene$MouseHandler.access$1300(Unknown Source)
                    at javafx.scene.Scene.impl_processMouseEvent(Unknown Source)
                    at javafx.scene.Scene$ScenePeerListener.mouseEvent(Unknown Source)
                    at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(Unknown Source)
                    at com.sun.glass.ui.View.handleMouseEvent(Unknown Source)
                    at com.sun.glass.ui.View.notifyMouse(Unknown Source)
                    at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
                    at com.sun.glass.ui.win.WinApplication.access$100(Unknown Source)
                    at com.sun.glass.ui.win.WinApplication$2$1.run(Unknown Source)
                    at java.lang.Thread.run(Unknown Source)
    WARNING: com.sun.javafx.css.StyleHelper lookup caught:
    java.lang.IllegalArgumentException: Invalid cursor specification
                    at javafx.scene.Cursor.cursor(Unknown Source)
                    at com.sun.javafx.css.converters.CursorConverter.convert(Unknown Source)
                    at com.sun.javafx.css.converters.CursorConverter.convert(Unknown Source)
                    at com.sun.javafx.css.StyleHelper.lookup(Unknown Source)
                    at com.sun.javafx.css.StyleHelper.transitionToState(Unknown Source)
                    at javafx.scene.Node.impl_processCSS(Unknown Source)
                    at javafx.scene.Parent.impl_processCSS(Unknown Source)
                    at javafx.scene.Node.processCSS(Unknown Source)
                    at javafx.scene.Scene.doCSSPass(Unknown Source)
                    at javafx.scene.Scene.access$2900(Unknown Source)
                    at javafx.scene.Scene$ScenePulseListener.pulse(Unknown Source)
                    at com.sun.javafx.tk.Toolkit.firePulse(Unknown Source)
                    at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(Unknown Source)
                    at com.sun.javafx.tk.quantum.QuantumToolkit$8.run(Unknown Source)
                    at com.sun.glass.ui.win.WinApplication._enterNestedEventLoop(Native Method)
                    at com.sun.glass.ui.Application.enterNestedEventLoop(Unknown Source)
                    at com.sun.javafx.tk.quantum.QuantumToolkit.enterNestedEventLoop(Unknown Source)
                    at javafx.stage.Stage.impl_showAndWait(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.DialogTemplate$8.run(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.DialogTemplate.setVisible(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.FXUIFactory$3.call(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.FXUIFactory$3.call(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.FXPluginToolkit$Caller.run(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.FXPluginToolkit.callAndWait(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.FXUIFactory.showErrorDialog(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.FXUIFactory.showMessageDialog(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.ErrorPane$1.handle(Unknown Source)
                    at com.sun.deploy.uitoolkit.impl.fx.ui.ErrorPane$1.handle(Unknown Source)
                    at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
                    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
                    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
                    at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
                    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
                    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
                    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
                    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
                    at com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
                    at com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
                    at javafx.event.Event.fireEvent(Unknown Source)
                    at javafx.scene.Scene$ClickGenerator.postProcess(Unknown Source)
                    at javafx.scene.Scene$ClickGenerator.access$6100(Unknown Source)
                    at javafx.scene.Scene$MouseHandler.process(Unknown Source)
                    at javafx.scene.Scene$MouseHandler.process(Unknown Source)
                    at javafx.scene.Scene$MouseHandler.access$1300(Unknown Source)
                    at javafx.scene.Scene.impl_processMouseEvent(Unknown Source)
                    at javafx.scene.Scene$ScenePeerListener.mouseEvent(Unknown Source)
                    at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(Unknown Source)
                    at com.sun.glass.ui.View.handleMouseEvent(Unknown Source)
                    at com.sun.glass.ui.View.notifyMouse(Unknown Source)
                    at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
                    at com.sun.glass.ui.win.WinApplication.access$100(Unknown Source)
                    at com.sun.glass.ui.win.WinApplication$2$1.run(Unknown Source)
                    at java.lang.Thread.run(Unknown Source)thanks in advance.

    First of all thank you for helping me to find out the problem. I did not expect you to solve my problem. I just would like to post a thread to finding out the solution or defining whether it is a bug. Anyway when I create jnlp file with Netbeans using the wizard that problem was solved. Then it gave me another problem:
    Problem
    java.lang.RuntimeException: Application launch error
                    at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:104)
                    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.ExceptionInInitializerError
                    at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:140)
                    at com.sun.javafx.application.LauncherImpl.access$000(LauncherImpl.java:27)
                    at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:97)
                    ... 1 more
    Caused by: java.security.AccessControlException: access denied ("java.util.PropertyPermission" "javafx.debug" "read")
                    at java.security.AccessControlContext.checkPermission(Unknown Source)
                    at java.security.AccessController.checkPermission(Unknown Source)
                    at java.lang.SecurityManager.checkPermission(Unknown Source)
                    at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
                    at java.lang.System.getProperty(Unknown Source)
                    at com.sun.javafx.runtime.SystemProperties.getProperty(SystemProperties.java:178)
                    at com.sun.javafx.runtime.SystemProperties$1.run(SystemProperties.java:67)
                    at java.security.AccessController.doPrivileged(Native Method)
                    at com.sun.javafx.runtime.SystemProperties.<clinit>(SystemProperties.java:62)
                    ... 4 moreAnd unfortunately it was a bug : FXML form can't be loaded in applet mode (JavaFX 2.1 b13)

  • Error while running executable on Monta Vista

    While running cross compiled executable on Monta Vista Linux (cross compiled on Red Hat Linux). received following error message.
    unable to initialize mutex: Function not implemented
    PANIC: Function not implemented
    unable to join the environment
    Error opening database environment: ./data
    DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery
    Could some explain why this is happening.
    Thanks,
    Hemanth

    Hi Hemanth,
    Generally, this happens because the Berkeley DB library build was specifically configured to use POSIX mutexes, and POSIX mutexes aren't available on this system, or the library was configured on a different system where POSIX mutexes were available, and then the library was physically moved to a system where POSIX mutexes were not available.
    For more info: http://www.oracle.com/technology/products/berkeley-db/faq/db_faq.html#12
    Bogdan Coman

  • Error while deploying .par file through system admin

    I have tried to modify logon.par file but when I was try deploy that file again through system admin then I got this error...................
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    com.sapportals.portal.ume.component.logon.SAPMLogonComponent.
    Exception id: 10:19_11/05/07_0006_13454550
    See the details for the exception ID in the log file
    Please help me out I am using sneak preview 7.0
    Detailed Error Log & Trace
    =========================================================
    Exception ID:08:55_11/05/07_0002_13454550
    [EXCEPTION]
    com.sapportals.portal.prt.component.PortalComponentException: Error in init method
    Component : com.sap.portal.support.browse.default
         at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:251)
         at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:267)
         at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:312)
         at com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:385)
         at com.sapportals.portal.prt.connection.PortalRequest.getRootContext(PortalRequest.java:435)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:607)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         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:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sapportals.portal.prt.core.broker.PortalComponentInstantiationException: Could not instantiate implementation class com.sapportals.portal.ume.component.logon.SAPMLogonComponent of Portal Component com.sap.portal.support.browse.default because: Could not find implementation class
         at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:242)
         at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getComponentInstance(PortalComponentItemFacade.java:160)
         at com.sapportals.portal.prt.core.broker.PortalComponentItem.getComponentInstance(PortalComponentItem.java:732)
         at com.sapportals.portal.prt.component.PortalComponentContext.getComponent(PortalComponentContext.java:103)
         at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:242)
         ... 26 more
    Caused by: java.lang.ClassNotFoundException: com.sapportals.portal.ume.component.logon.SAPMLogonComponent
    Found in negative cache
    Loader Info -
    ClassLoader name: [com.sapportals.portal.prt.util.ApplicationClassLoader@3389d1]
    Parent loader name: [com.sapportals.portal.prt.util.ApplicationClassLoader@1b7a6fa]
    References:
       not registered!
    No resources !
         at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:360)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:219)
         at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:228)
         ... 30 more

    Hi,
          Open ur PAR file then double click on PORTAL-INF -> lib->Select 2 jar files
             1.com.sap.portal.runtime.logon_api.jar
             2.umelogonbase.jar
    Copy those jar file & paste in to lib in ur application.
    Regards,
    Senthil kumar K.

  • Error while compiling EAR file through APPC

    weblogic.utils.compiler.ToolFailureException: weblogic.appc failed
    Warning: Reference wlappc.classpath has not been set at runtime, but was found during
    build file parsing, attempting to resolve. Future versions of Ant may support
    referencing ids defined in non-executed targets.
    [wlappc] java.lang.NullPointerException
    [wlappc]      at weblogic.application.descriptor.ReaderEvent2$1.getPropertyIndex(ReaderEvent2.java:52)
    [wlappc]      at weblogic.application.descriptor.BasicMunger2._onStartElement(BasicMunger2.java:516)
    [wlappc]      at weblogic.application.descriptor.BasicMunger2.next(BasicMunger2.java:456)
    [wlappc]      at weblogic.application.descriptor.VersionMunger._next(VersionMunger.java:333)
    [wlappc]      at weblogic.application.descriptor.VersionMunger.next(VersionMunger.java:221)
    [wlappc]      at weblogic.application.descriptor.VersionMunger.consumeInputStream(VersionMunger.java:499)
    [wlappc]      at weblogic.application.descriptor.VersionMunger.init(VersionMunger.java:425)
    [wlappc]      at weblogic.application.descriptor.VersionMunger.<init>(VersionMunger.java:85)
    [wlappc]      at weblogic.application.descriptor.VersionMunger.<init>(VersionMunger.java:61)
    [wlappc]      at weblogic.application.descriptor.VersionMunger.<init>(VersionMunger.java:43)
    [wlappc]      at weblogic.application.internal.ApplicationReader.<init>(ApplicationReader.java:21)
    [wlappc]      at weblogic.application.ApplicationDescriptor$MyApplicationDescriptor.createXMLStreamReader(ApplicationDescriptor.java:487)
    [wlappc]      at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:402)
    [wlappc]      at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)
    [wlappc]      at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)
    [wlappc]      at weblogic.application.ApplicationDescriptor.getApplicationDescriptor(ApplicationDescriptor.java:301)
    [wlappc]      at weblogic.application.compiler.CompilerCtx.setApplicationDescriptor(CompilerCtx.java:139)
    [wlappc]      at weblogic.application.compiler.AppcUtils.setDDs(AppcUtils.java:141)
    [wlappc]      at weblogic.application.compiler.flow.DescriptorParsingFlow.compile(DescriptorParsingFlow.java:57)
    [wlappc]      at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
    [wlappc]      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    [wlappc]      at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
    [wlappc]      at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
    [wlappc]      at weblogic.application.compiler.EARCompiler.compile(EARCompiler.java:49)
    [wlappc]      at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:112)
    [wlappc]      at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:37)
    [wlappc]      at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
    [wlappc]      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    [wlappc]      at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
    [wlappc]      at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
    [wlappc]      at weblogic.application.compiler.Appc.runBody(Appc.java:198)
    [wlappc]      at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [wlappc]      at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [wlappc]      at weblogic.application.compiler.Appc.main(Appc.java:257)
    [wlappc]      at weblogic.appc.main(appc.java:14)
    [wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [wlappc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [wlappc]      at java.lang.reflect.Method.invoke(Method.java:597)
    [wlappc]      at weblogic.ant.taskdefs.j2ee.CompilerTask.invokeMain(CompilerTask.java:301)
    [wlappc]      at weblogic.ant.taskdefs.j2ee.Appc.privateExecute(Appc.java:261)
    [wlappc]      at weblogic.ant.taskdefs.j2ee.Appc.execute(Appc.java:164)
    [wlappc]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [wlappc]      at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    [wlappc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [wlappc]      at java.lang.reflect.Method.invoke(Method.java:597)
    [wlappc]      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [wlappc]      at org.apache.tools.ant.Task.perform(Task.java:348)
    [wlappc]      at org.apache.tools.ant.Target.execute(Target.java:357)
    [wlappc]      at org.apache.tools.ant.Target.performTasks(Target.java:385)
    [wlappc]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    [wlappc]      at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    [wlappc]      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [wlappc]      at org.eclipse.ant.internal.launching.remote.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
    [wlappc]      at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    [wlappc]      at org.eclipse.ant.internal.launching.remote.InternalAntRunner.run(InternalAntRunner.java:423)
    [wlappc]      at org.eclipse.ant.internal.launching.remote.InternalAntRunner.main(InternalAntRunner.java:137)

    Now, when I deploy through NWDS, I get the following error.
    Result
    => deployment aborted : file:/C:/DOCUME1/231477/LOCALS1/Temp/temp51346sap.comwdtutorial~ex1.ear
    Aborted: development component 'wd/tutorial/ex1'/'sap.com'/'LOKAL'/'0.2008.10.15.21.04.16':Caught exception while checking the login credentials for SAP J2EE Engine. Check whether the SAP J2EE Engine is up and running.com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [sapretail] with user name: [J2EE_ADMIN]                     Check your login information.                     Exception is: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: Cannot authenticate the user.] (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMEXC)
    Deployment exception : The deployment of at least one item aborted

  • Internal Server Error while running JSP file (Oracle AS - HP Unix)

    Hello Friends,
    I have created a JSP file in which I am trying to connect the database using oracle.jdbc.pool directory. But it shows an error message as:
    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.
    the path for pool package is:
    /appltest/apps/prodora/iAS/oem_webstage/oracle/jdbc/pool
    the location of JSP file is:
    /appltest/apps/prodcomn/portal/TEST_test/test
    What I think is I have to play with the CLASSPATh entries, but dont know how. Please help me in solving this issue...
    For your reference the JSP code is:
    <%@ page import="java.sql.*, javax.sql.*, oracle.jdbc.pool.*" %>
    <jsp:useBean id="ods" class="oracle.jdbc.pool.OracleConnectionCacheImpl" scope="session" />
    <%
    try
    ods.setURL("jdbc:oracle:thin:@test:1546:test");
    ods.setUser("kpm_hr");
    ods.setPassword("kpm_hr");
    Connection conn = ods.getConnection();
    Statement stmt = conn.createStatement();
    Resultset rset = stmt.executeQuery("select first_name,last_name from kpm_hr.kpm_hr_emp_mst where empcode='P0580'");
    rset.next();
    out.println(rset.getString(1)+" "+rset.getString(2);
    catch(SQLException e)
    out.println(e);
    Thanks in adavnce,
    Ankur
    Regards,
    Ankur Bhatia

    Just to verify, which relevant log files have you found?
    catch(SQLException e) {
    out.println(e);
    } Have you search the console log file?
    A quick observation reveals that your jsp is just a standalone java program executed inside jsp. Suppose you just run it as a standalone program. Any error then?
    Another way going forward is to install oc4j standalone of the same version. It is very easy to install: just download the oc4j-extended.zip and unzip it and run "java -jar oc4j.jar". Put you jsp inside j2ee/home/default-web-app and run. You should see relevant log messages in j2ee/home/log/server.log and j2ee/home/application-deployments/yourApp/application.log.
    You should have Jdeveloper of some appropriate version installed. If you have not, install one. It might be not a little bit high learning curve at first, but the rewards are quick and amazing, especially since jdev 10.1.3. (I am speaking from my experience.) Try it with Jdeveloper.

  • Error while generating XML file through RDF

    Hi,
    I wanted to generate a Report on some business case. For that I need to generate XML file first.
    For generating XML file
    1. I have built an RDF through Reports builder.
    2. Saved the report to local machine with extension .rdf
    3. Moved it to appltop/app/reports/US directory
    4. Registered tha Report with Executable of type Oracle Reports
    5. Defined Concurrent Program with OUTPUT as XML.
    When I submmitted the program, it was giving an error as follows.
    The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    A semi colon character was expected. Error processing resource 'https://oaphrd.humana.com/OA_CGI/FNDWRR.exe?temp_id=2088989...
    +<?xml version="1.0" encoding="&Encoding"?>+
    But, when I tried to sane the report directly to a file (file - > generate file -> XML) the XML was generated successfully.
    How to get rid of this. Some one please help me out.
    Thanks !
    Edited by: Rajasekhar Reddy on May 4, 2012 1:23 AM

    Hi,
    I found the issue and corrected it. :)
    This was happened only because of the Version problem of Report Builder with Oracle Applications.
    Reports Builder 10g is not compatiblie with Oracle Applications 11.5.10.
    Oracle 11.5+ will always expect the RDF from Reports 6i version. Because of this, the endocing was damaged.
    You can observe in the earlier post as encoding="&Endoding". Here +&Encoding should be replaced by some encoding mechanism like "UTF-8".+
    Finally corrected the version and got the Output as expected.
    Thanks !

  • Error while running the SAP JCO java program running via command line

    Hi,
        We are facing an issue while using SAP JCO. When i try to run the sample program using RAD 8.0 ( IBM IDE tool For Java Development) its working fine.
    The same sample program if i try to run using command line, Then its giving below exception message.
    Exception in thread "main" java.lang.NoClassDefFoundError: Integration
    NOTE: I have configured proper sapjco jar & Dll files path in class path settings in my batch file.

    Hi,
    class loader can't find class definition during runtime but it could find it during compilation. So the problem is with your classpath. Does your classpath point to file with class Integration? Check this [blog|http://javarevisited.blogspot.com.au/2011/06/noclassdeffounderror-exception-in.html].
    Cheers
    Added reference to blog.

  • Error while running DOS command in Java

    Hi all,
    I use "runtime" class to execute a DOS command "copy C:\\pathname\\*.* C:\\backupPathname\\". But I saw an error msg "CreateProcess: copy C:\pathname\*.* C:\backupPathname\ error=2".
    I did create a folder C:\backupPathname\ before running the DOS command.
    Pls help me all Java genius.

    I ended up writing a small 'c' program and pasing the command in to it from java. The problem seems to be that in dos, unlike unix, the copy command is not a program, rather the command is interpreted by the command.com program.

Maybe you are looking for