Headless support

So I developed an image resizing class and successfully tested it on local Windows environment. However, as soon as I tested this code on our Linux webserver, I started receiving x server connect errors. I did some research and discovered this was because the linux webserver is headless.
After doing more research, I found that in headless mode support has been available since the J2SE 1.4 platform. So, I set the headless mode system property to be true and my code still won't run. Now, instead of Tomcat shutting down with the x server connect error, I simply get Headless exceptions thrown.
I read stuff like, " Instead of setting up a dummy X server like Xvfb, just put the parameter "-Djava.awt.headless=true" in your Java invocation line, and that's it! Life is good." I'm confused, all this parameter seems to do is cause my code to throw an exception instead of completely bombing out. Methods such as:
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment()
still don't seem like they can run in headless mode. So what purpose does it actually serve? Please help!

Thank you for getting back to me. Alright, here are the details. First my code:
public class ImageScale {
     public static void scale(File inFile, String photoDir) {
     try {
               FileInputStream fs = new FileInputStream(inFile);
               JPEGImageDecoder decoder = JPEGCodec.createJPEGDecoder(fs);
               BufferedImage srcImg = decoder.decodeAsBufferedImage();
               fs.close();
               JPEGDecodeParam param = decoder.getJPEGDecodeParam();
               int width = param.getWidth();
               scaleHelper(width, 150, photoDir, srcImg, inFile);
          catch (Exception e) {
          System.out.println (e);
     public static void scaleHelper(int width, int size, String photoDir, BufferedImage srcImg, File inFile) {
     try {
          double scale = calculateScale(width, size);
          FileOutputStream out = new FileOutputStream (new File (photoDir + "/" + PicUploader.getPictureFileName(inFile.getName(),Integer.toString(size))));
          Image img = getScaledInstance(srcImg, scale, getDefaultConfiguration());
     BufferedImage biImg = toBufferedImage(img, BufferedImage.TYPE_INT_RGB);
     JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out,JPEGCodec.getDefaultJPEGEncodeParam(biImg));          
          encoder.encode(biImg);
          out.close();
          catch (Exception e) {
          System.out.println (e);
     public static double calculateScale(int length, int limit) {
          double scale;
          if (length < limit) {
          scale = 1d;
          } else {
          scale = (double)limit/(double)length ;
          return scale;
public static GraphicsConfiguration getDefaultConfiguration() {
     GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
     GraphicsDevice gd = ge.getDefaultScreenDevice();
     return gd.getDefaultConfiguration();
public static BufferedImage copy(BufferedImage source, BufferedImage target, Object interpolationHint) {
Graphics2D g = target.createGraphics();
g.setRenderingHint(RenderingHints.KEY_INTERPOLATION, interpolationHint);
double scalex = (double) target.getWidth() / source.getWidth();
double scaley = (double) target.getHeight() / source.getHeight();
AffineTransform at = AffineTransform.getScaleInstance(scalex, scaley);
g.drawRenderedImage(source, at);
g.dispose();
return target;
public static BufferedImage getScaledInstance2D(BufferedImage source, double factor, Object interpolationHint, GraphicsConfiguration gc) {
if (gc == null)
gc = getDefaultConfiguration();
int w = (int) (source.getWidth() * factor);
int h = (int) (source.getHeight() * factor);
int transparency = source.getColorModel().getTransparency();
return copy(source, gc.createCompatibleImage(w, h, transparency), interpolationHint);
public static Image getScaledInstanceAWT(BufferedImage source, double factor, int hint) {
int w = (int) (source.getWidth() * factor);
int h = (int) (source.getHeight() * factor);
return source.getScaledInstance(w, h, hint);
public static Image getScaledInstance(BufferedImage source, double factor, GraphicsConfiguration gc) {
if (factor >= 1.0)
return getScaledInstance2D(source, factor, RenderingHints.VALUE_INTERPOLATION_BICUBIC, gc);
else
return getScaledInstanceAWT(source, factor, Image.SCALE_AREA_AVERAGING);
public static BufferedImage toBufferedImage(Image image, int type) {
int w = image.getWidth(null);
int h = image.getHeight(null);
BufferedImage result = new BufferedImage(w, h, type);
Graphics2D g = result.createGraphics();
g.drawImage(image, 0, 0, null);
g.dispose();
return result;
Really, right now, I'm only trying to create thumbnails on the server so only the getScaledInstance2D method is being invoked. Like I said, originally, I was getting the x server connection error. But, I added the headless attribute to my startup scripts and now I receive the following exception:
java.awt.HeadlessException
I don't understand what the headless attribute does then? Does anyone see a way I could change my code so that this problem doesn't happen on the server.
On a related note, I've tried using Xvfd without success also. I have a process running in the bg:
root 25078 24923 0 21:48 pts/2 00:00:00 /usr/X11R6/bin/Xvfb :10 -screen 0 1152x900x8
And the DISPLAY var set to the correct server slot:
# echo $DISPLAY
localhost:10.0
And this doesn't seem to work either. Please help!

Similar Messages

  • BIG Problem with java 1.4 headless mode!!!!

    Hello,
    I try to build in a get method of a servlet an image to send to the client http.
    On my server obviously I havent a display thus I looked for some packages that cuold solve the problem of "CANT COONECT TO X11 ecc.".
    I found three solution:
    1 A virtual frame buffer but It isnt a good solution for me because if 500 users try to connect to my servlet at the same time only one frame buffer could be a problem and It isn't an elegant solution.
    2 A Use pja on my server it dont work I dont know why.
    I have set the System.setProperty("awt.toolkit","com.eteks...PjaToolkit) but it dont work when I try to instaziate a Panel (of Pja types) It give me an exception.
    3 The choose I prefer but It still dont work. Use Java 1.4 beta 3. I try to use this version because it has headles support but it dont work and I see in the bugs database that I'm not the only one that keep this problem in Servlet environment. In the doGet method of my Servlet I use the System.SetProperty("java.awt.headless","true") command to turn on headless support but when I try to instanziate a Panel or a Frame I get the exception HeadlessException.
    Have someone use this property of the jdk 1.4 and could give me some hints.
    I try to change my Xbootclasspath in the zone.properties of my Apache Server through wrapper.bi9n.parameter but I didnt have better result.
    Cuold someone help or I'll cry for all the xmas holiday :-)
    Thank you very much Ponzetti76

    what a pity! I still haven't found a solution for the problem rajsaini mentioned one year ago! I also wrote a class for resizing an image after uploading a file. When I call the mehtod the first time from a jsp a get the error "can't connect to X server .." and when a try it second time I receive NoClassDefFoundError.
    Here is the code of the class I try to call from a jsp
    import java.io.*;
    import java.awt.image.*;
    import java.awt.*;
    import javax.imageio.ImageIO;
    public class imgUp {
    public imgUp() {
    public void generateThumbnail(String fileName, int maxSize) {
    System.setProperty ("java.awt.headless", "true");
    System.out.println("Headless is " +
    System.getProperty"java.awt.headless"));
    try {
    String orgFileName = fileName;
    File orgImgFile = new File(orgFileName);
    String newFileName = orgImgFile.getParent() + "/th_" +
    orgImgFile.getName();
    // read image
    BufferedImage orgImage = ImageIO.read(orgImgFile);
    BufferedImage resizedImage = null;
    // resizing ;))
    int orgImageWidth = orgImage.getWidth(null);
    int orgImageHeight = orgImage.getHeight(null);
    int resizeImageWidth = 0;
    int resizeImageHeight = 0;
    if (orgImageWidth > orgImageHeight) {
    resizeImageWidth = maxSize;
    resizeImageHeight = (maxSize * orgImageHeight) / orgImageWidth;
    } else {
    resizeImageWidth = (maxSize * orgImageWidth) / orgImageHeight;
    resizeImageHeight = maxSize;
    resizedImage = new BufferedImage(resizeImageWidth,resizeImageHeight, Image.SCALE_SMOOTH);
    // Copy image to buffered image.
    Graphics g = resizedImage.createGraphics();
    g.drawImage(orgImage, 0, 0,resizeImageWidth, resizeImageHeight,null);
    /* write the jpeg to a file */
    File file = new File(newFileName);
    ImageIO.write(resizedImage, "jpg", file);
    catch (Exception e){
    System.out.println("exception");
    The strange thing this Exception is never triggerd
    and heres the code of the calling jsp :
    if(request.getParameter("upnow") != null && request.getParameter("upnow").equals("now")){
    imgUp.generateThumbnail("/www/demo/imageupload/i.jpg", 100);
    I set a System.out.println ... after each command of the class and I found out it crashes while this : Graphics g = resizedImage.createGraphics();
    The last thing I want to add is, that the commandline version of class works perfectly.
    Systemenv:tomcat 4.1.18, jdk 1.4
    Thanks for any ideas in advance

  • Workaround to run GUI apps on only text env.?

    Hi gurus,
    I have a GUI application and recently, I tried to add a shell mode support to it but, unfortunately, I found out that this apps is strongly GUI dependent. For now, I kinda cheated hiding any GUI display when run in shell mode.
    In fact, running from shell mode will still use awt, javax libraries but will not display any GUI. Therefore, when running this application in an only text environment will throw the exception "Can't connect to X11 window server".
    Is there any possible solution to workaround this issue? I'd like to try every possible solution before trying to remove completely the GUI dependence because this will be a major change for me.
    Any help will be greatly appreciated.
    Ward

    Have you tried catching the exception and ignoring it?yes but it dies anyway throwing the exception.
    Also, I'm trying using the Headless support but I'm getting a HeadlessException:
    bash-2.05b$ java -Djava.awt.headless=true -cp testTool.jar test.JTestoraptor.Main
    Exception in thread "main" java.awt.HeadlessException
    at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:121)
    at java.awt.Window.<init>(Window.java:274)
    at java.awt.Frame.<init>(Frame.java:401)
    at java.awt.Frame.<init>(Frame.java:366)
    at javax.swing.SwingUtilities$1.<init>(SwingUtilities.java:1641)
    at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1637)
    at javax.swing.JDialog.<init>(JDialog.java:211)
    at test.JTestoraptor.UI.MessageBox.<init>(MessageBox.java:69)
    at test.JTestoraptor.UI.ExceptionMessageBox.<init>(ExceptionMessageBox.java:
    64)
    at test.JTestoraptor.UI.ExceptionMessageBox.doExceptionMessageBox(ExceptionM
    essageBox.java:152)
    at test.JTestoraptor.Main.main(Main.java:121)
    The classes MessageBox and ExceptionMessageBox extend the class JDialog. Does the headless support work also with swing classes? or this headless support works only for awt classes?
    My main class extends JFrame so if the headless support doesn't work with swing classes, I was expecting to fail at the main class.
    Again, any help will be very much appreciated,
    Ward

  • Error in JSPM Support Pack update

    Hi,
    i am in the process of doing java support packs form level 9 to 14.
    I am doing 3 at a time
    After the sap-jee support pack got deployed the server0 for j2ee is not starting.
    Pls hlep
    The following is the log of disp_server0
    trc file: "F:\usr\sap\BWD\DVEBMGS01\work\dev_server0", trc level: 1, release: "700"
    node name   : ID13786450
    pid         : 7296
    system name : BWD
    system nr.  : 01
    started at  : Tue Jun 17 16:30:40 2008
    arguments       :
    *       arg[00] : F:\usr\sap\BWD\DVEBMGS01\exe\jlaunch.exe*
    *       arg[01] : pf=F:\usr\sap\BWD\SYS\profile\BWD_DVEBMGS01_WDBSSAPBWD01*
    *       arg[02] : -DSAPINFO=BWD_01_server*
    *       arg[03] : pf=F:\usr\sap\BWD\SYS\profile\BWD_DVEBMGS01_WDBSSAPBWD01*
    *       arg[04] : -DSAPSTART=1*
    *       arg[05] : -DCONNECT_PORT=3227*
    *       arg[06] : -DSAPSYSTEM=01*
    *       arg[07] : -DSAPSYSTEMNAME=BWD*
    *       arg[08] : -DSAPMYNAME=WDBSSAPBWD01_BWD_01*
    *       arg[09] : -DSAPPROFILE=F:\usr\sap\BWD\SYS\profile\BWD_DVEBMGS01_WDBSSAPBWD01*
    *       arg[10] : -DFRFC_FALLBACK=ON*
    *       arg[11] : -DFRFC_FALLBACK_HOST=localhost*
    [Thr 4660] Tue Jun 17 16:30:40 2008
    *[Thr 4660] *** WARNING => INFO: Unknown property [instance.box.number=BWDDVEBMGS01wdbssapbwd01] [jstartxx.c   841]*
    *[Thr 4660] *** WARNING => INFO: Unknown property [instance.en.host=WDBSSAPBWD01] [jstartxx.c   841]*
    *[Thr 4660] *** WARNING => INFO: Unknown property [instance.en.port=3200] [jstartxx.c   841]*
    *[Thr 4660] *** WARNING => INFO: Unknown property [instance.system.id=1] [jstartxx.c   841]*
    JStartupReadInstanceProperties: read instance properties [F:\usr\sap\BWD\DVEBMGS01\j2ee\cluster\instance.properties]
    -> ms host    : WDBSSAPBWD01
    -> ms port    : 3900
    -> OS libs    : F:\usr\sap\BWD\DVEBMGS01\j2ee\os_libs
    -> Admin URL  :
    -> run mode   : safe
    -> run action : UPGRADE
    -> enabled    : yes
    Used property files
    -> files [00] : F:\usr\sap\BWD\DVEBMGS01\j2ee\cluster\instance.properties
    Instance properties
    -> ms host    : WDBSSAPBWD01
    -> ms port    : 3900
    -> os libs    : F:\usr\sap\BWD\DVEBMGS01\j2ee\os_libs
    -> admin URL  :
    -> run mode   : safe
    -> run action : UPGRADE
    -> enabled    : yes
    Bootstrap nodes
    -> [00] bootstrap            : F:\usr\sap\BWD\DVEBMGS01\j2ee\cluster\instance.properties
    -> [01] bootstrap_ID13786400 : F:\usr\sap\BWD\DVEBMGS01\j2ee\cluster\instance.properties
    -> [02] bootstrap_ID13786450 : F:\usr\sap\BWD\DVEBMGS01\j2ee\cluster\instance.properties
    Worker nodes
    -> [00] ID13786400           : F:\usr\sap\BWD\DVEBMGS01\j2ee\cluster\instance.properties
    -> [01] ID13786450           : F:\usr\sap\BWD\DVEBMGS01\j2ee\cluster\instance.properties
    [Thr 4660] JLaunchRequestQueueInit: create named pipe for ipc
    [Thr 4660] JLaunchRequestQueueInit: create pipe listener thread
    [Thr 6916] JLaunchRequestFunc: Thread 6916 started as listener thread for np messages.
    [Thr 4836] WaitSyncSemThread: Thread 4836 started as semaphore monitor thread.
    [Thr 4660] NiInit3: NI already initialized; param 'maxHandles' ignored (1;202)
    [Thr 4660] CPIC (version=700.2006.09.13)
    [Thr 4660] [Node: server0] java home is set by profile parameter
    *     Java Home: F:\java*
    [Thr 4660] JStartupICheckFrameworkPackage: can't find framework package F:\usr\sap\BWD\DVEBMGS01\exe\jvmx.jar
    JStartupIReadSection: read node properties [ID13786450]
    -> node name          : server0
    -> node type          : server
    -> node execute       : yes
    -> jlaunch parameters :
    -> java path          : F:\java
    -> java parameters    : -Djco.jarm=1 -XX:MaxPermSize=256M -XX:PermSize=256M -XX:NewSize=171M -XX:MaxNewSize=171M -XX:DisableExplicitGC -verbose:gc -Xloggc:GC.log -XX:PrintGCDetails -XX:+PrintGCTimeStamps -Djava.awt.headless=true -Dsun.io.useCanonCaches=false -XX:SoftRefLRUPolicyMSPerMB=1 -XX:SurvivorRatio=2 -XX:TargetSurvivorRatio=90 -Djava.security.policy=./java.policy -Djava.security.egd=file:/dev/urandom -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy -Dstartup.mode=SAFE -Dstartup.action=UPGRADE
    -> java vm version    : 1.4.2_16-b05
    -> java vm vendor     : Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.)
    -> java vm type       : server
    -> java vm cpu        : amd64
    -> heap size          : 1024M
    -> init heap size     : 1024M
    -> root path          : F:\usr\sap\BWD\DVEBMGS01\j2ee\cluster\server0
    -> class path         : .\bin\boot\boot.jar;.\bin\boot\jaas.jar;.\bin\system\bytecode.jar;.
    -> OS libs path       : F:\usr\sap\BWD\DVEBMGS01\j2ee\os_libs
    -> main class         : com.sap.engine.boot.Start
    -> framework class    : com.sap.bc.proj.jstartup.JStartupFramework
    -> registr. class     : com.sap.bc.proj.jstartup.JStartupNatives
    -> framework path     : F:\usr\sap\BWD\DVEBMGS01\exe\jstartup.jar;F:\usr\sap\BWD\DVEBMGS01\exe\jvmx.jar
    -> shutdown class     : com.sap.engine.boot.Start
    -> parameters         :
    -> debuggable         : no
    -> debug mode         : no
    -> debug port         : 50121
    -> shutdown timeout   : 120000
    [Thr 4660] JLaunchISetDebugMode: set debug mode [no]
    [Thr 6772] JLaunchIStartFunc: Thread 6772 started as Java VM thread.
    [Thr 6772] [JHVM_PrepareVMOptions] use java parameters set by profile parameter
    *     Java Parameters: -Xss2m*
    JHVM_LoadJavaVM: VM Arguments of node [server0]
    -> stack   : 1048576 Bytes
    -> arg[  0]: exit
    -> arg[  1]: abort
    -> arg[  2]: vfprintf
    -> arg[  3]: -Djco.jarm=1
    -> arg[  4]: -XX:MaxPermSize=256M
    -> arg[  5]: -XX:PermSize=256M
    -> arg[  6]: -XX:NewSize=171M
    -> arg[  7]: -XX:MaxNewSize=171M
    -> arg[  8]: -XX:+DisableExplicitGC
    -> arg[  9]: -verbose:gc
    -> arg[ 10]: -Xloggc:GC.log
    -> arg[ 11]: -XX:+PrintGCDetails
    -> arg[ 12]: -XX:+PrintGCTimeStamps
    -> arg[ 13]: -Djava.awt.headless=true
    -> arg[ 14]: -Dsun.io.useCanonCaches=false
    -> arg[ 15]: -XX:SoftRefLRUPolicyMSPerMB=1
    -> arg[ 16]: -XX:SurvivorRatio=2
    -> arg[ 17]: -XX:TargetSurvivorRatio=90
    -> arg[ 18]: -Djava.security.policy=./java.policy
    -> arg[ 19]: -Djava.security.egd=file:/dev/urandom
    -> arg[ 20]: -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy
    -> arg[ 21]: -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy
    -> arg[ 22]: -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy
    -> arg[ 23]: -Dstartup.mode=SAFE
    -> arg[ 24]: -Dstartup.action=UPGRADE
    -> arg[ 25]: -Dsys.global.dir=F:\usr\sap\BWD\SYS\global
    -> arg[ 26]: -Dapplication.home=F:\usr\sap\BWD\DVEBMGS01\exe
    -> arg[ 27]: -Djava.class.path=F:\usr\sap\BWD\DVEBMGS01\exe\jstartup.jar;F:\usr\sap\BWD\DVEBMGS01\exe\jvmx.jar;.\bin\boot\boot.jar;.\bin\boot\jaas.jar;.\bin\system\bytecode.jar;.
    -> arg[ 28]: -Djava.library.path=F:\java\jre\bin\server;F:\java\jre\bin;F:\java\bin;F:\usr\sap\BWD\DVEBMGS01\j2ee\os_libs;C:\Perl\site\bin;C:\Perl\bin;C:\Program Files\HP\NCU;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;F:\java\bin;F:\usr\sap\BWD\SYS\exe\uc\NTAMD64
    -> arg[ 29]: -Dmemory.manager=1024M
    -> arg[ 30]: -Xmx1024M
    -> arg[ 31]: -Xms1024M
    -> arg[ 32]: -DLoadBalanceRestricted=no
    -> arg[ 33]: -Djstartup.mode=JCONTROL
    -> arg[ 34]: -Djstartup.ownProcessId=7296
    -> arg[ 35]: -Djstartup.ownHardwareId=T1648851106
    -> arg[ 36]: -Djstartup.whoami=server
    -> arg[ 37]: -Djstartup.debuggable=no
    -> arg[ 38]: -Xss2m
    -> arg[ 39]: -DSAPINFO=BWD_01_server
    -> arg[ 40]: -DSAPSTART=1
    -> arg[ 41]: -DCONNECT_PORT=3227
    -> arg[ 42]: -DSAPSYSTEM=01
    -> arg[ 43]: -DSAPSYSTEMNAME=BWD
    -> arg[ 44]: -DSAPMYNAME=WDBSSAPBWD01_BWD_01
    -> arg[ 45]: -DSAPPROFILE=F:\usr\sap\BWD\SYS\profile\BWD_DVEBMGS01_WDBSSAPBWD01
    -> arg[ 46]: -DFRFC_FALLBACK=ON
    -> arg[ 47]: -DFRFC_FALLBACK_HOST=localhost
    -> arg[ 48]: -DSAPSTARTUP=1
    -> arg[ 49]: -DSAPSYSTEM=01
    -> arg[ 50]: -DSAPSYSTEMNAME=BWD
    -> arg[ 51]: -DSAPMYNAME=WDBSSAPBWD01_BWD_01
    -> arg[ 52]: -DSAPDBHOST=WDBSSDBBWD01
    -> arg[ 53]: -Dj2ee.dbhost=WDBSSDBBWD01
    CompilerOracle: exclude com/sapportals/portal/pb/layout/taglib/ContainerTag addIviewResources
    CompilerOracle: exclude com/sap/engine/services/keystore/impl/security/CodeBasedSecurityConnector getApplicationDomain
    CompilerOracle: exclude com/sap/engine/services/rmi_p4/P4StubSkeletonGenerator generateStub
    CompilerOracle: exclude com/sapportals/portal/prt/util/StringUtils escapeToJS
    CompilerOracle: exclude com/sapportals/portal/prt/core/broker/PortalServiceItem startServices
    CompilerOracle: exclude com/sap/engine/services/webservices/server/deploy/WSConfigurationHandler downloadFile
    CompilerOracle: exclude com/sapportals/portal/prt/jndisupport/util/AbstractHierarchicalContext lookup
    CompilerOracle: exclude com/sapportals/portal/navigation/cache/CacheNavigationNode getAttributeValue
    CompilerOracle: exclude com/sapportals/portal/navigation/TopLevelNavigationiView PrintNode
    CompilerOracle: exclude com/sapportals/wcm/service/ice/wcm/ICEPropertiesCoder encode
    CompilerOracle: exclude com/sap/lcr/pers/delta/importing/ObjectLoader loadObjects
    CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readElement
    CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readSequence
    CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/TypeMappingImpl initializeRelations
    CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/GeneratedComplexType _loadInto
    [Thr 6772] JHVM_LoadJavaVM: Java VM created OK.
    JHVM_BuildArgumentList: main method arguments of node [server0]
    [Thr 4752] Tue Jun 17 16:30:41 2008
    [Thr 4752] JHVM_RegisterNatives: registering methods in com.sap.bc.krn.perf.PerfTimes
    [Thr 4752] JHVM_RegisterNatives: registering methods in com.sap.bc.proj.jstartup.JStartupFramework
    [Thr 4752] JLaunchISetClusterId: set cluster id 13786450
    [Thr 4752] JLaunchISetState: change state from [Initial (0)] to [Waiting for start (1)]
    [Thr 4752] JLaunchISetState: change state from [Waiting for start (1)] to [Starting (2)]
    [Thr 7688] Tue Jun 17 16:30:52 2008
    [Thr 7688] JLaunchIExitJava: exit hook is called (rc = -11113)
    *[Thr 7688] ***********************************************************************
    ERROR => The Java VM terminated with a non-zero exit code.*
    Please see SAP Note 943602 , section 'J2EE Engine exit codes'*
    for additional information and trouble shooting.*
    [Thr 7688] JLaunchCloseProgram: good bye (exitcode = -11113)
    trc file: "F:\usr\sap\BWD\DVEBMGS01\work\dev_server0", trc level: 1, release: "700"
    node name   : ID13786450
    pid         : 4560
    system name : BWD
    system nr.  : 01
    started at  : Tue Jun 17 16:30:55 2008
    arguments       :
    *       arg[00] : F:\usr\sap\BWD\DVEBMGS01\exe\jlaunch.exe*
    *       arg[01] : pf=F:\usr\sap\BWD\SYS\profile\BWD_DVEBMGS01_WDBSSAPBWD01*
    *       arg[02] : -DSAPINFO=BWD_01_server*
    *       arg[03] : pf=F:\usr\sap\BWD\SYS\profile\BWD_DVEBMGS01_WDBSSAPBWD01*
    *       arg[04] : -DSAPSTART=1*
    *       arg[05] : -DCONNECT_PORT=3227*
    *       arg[06] : -DSAPSYSTEM=01*
    *       arg[07] : -DSAPSYSTEMNAME=BWD*
    *       arg[08] : -DSAPMYNAME=WDBSSAPBWD01_BWD_01*
    *       arg[09] : -DSAPPROFILE=F:\usr\sap\BWD\SYS\profile\BWD_DVEBMGS01_WDBSSAPBWD01*
    *       arg[10] : -DFRFC_FALLBACK=ON*
    *       arg[11] : -DFRFC_FALLBACK_HOST=localhost*
    [Thr 5300] Tue Jun 17 16:30:55 2008
    *[Thr 5300] *** WARNING => INFO: Unknown property [instance.box.number=BWDDVEBMGS01wdbssapbwd01] [jstartxx.c   841]*
    *[Thr 5300] *** WARNING => INFO: Unknown property [instance.en.host=WDBSSAPBWD01] [jstartxx.c   841]*
    *[Thr 5300] *** WARNING => INFO: Unknown property [instance.en.port=3200] [jstartxx.c   841]*
    *[Thr 5300] *** WARNING => INFO: Unknown property [instance.system.id=1] [jstartxx.c   841]*
    JStartupReadInstanceProperties: read instance properties [F:\usr\sap\BWD\DVEBMGS01\j2ee\cluster\instance.properties]
    -> ms host    : WDBSSAPBWD01
    -> ms port    : 3900
    -> OS libs    : F:\usr\sap\BWD\DVEBMGS01\j2ee\os_libs
    -> Admin URL  :
    -> run mode   : safe
    -> run action : UPGRADE
    -> enabled    : yes
    Used property files
    -> files [00] : F:\usr\sap\BWD\DVEBMGS01\j2ee\cluster\instance.properties
    Instance properties
    -> ms host    : WDBSSAPBWD01
    -> ms port    : 3900
    -> os libs    : F:\usr\sap\BWD\DVEBMGS01\j2ee\os_libs
    -> admin URL  :
    -> run mode   : safe
    -> run action : UPGRADE
    -> enabled    : yes
    Bootstrap nodes
    -> [00] bootstrap            : F:\usr\sap\BWD\DVEBMGS01\j2ee\cluster\instance.properties
    -> [01] bootstrap_ID13786400 : F:\usr\sap\BWD\DVEBMGS01\j2ee\cluster\instance.properties
    -> [02] bootstrap_ID13786450 : F:\usr\sap\BWD\DVEBMGS01\j2ee\cluster\instance.properties
    Worker nodes
    -> [00] ID13786400           : F:\usr\sap\BWD\DVEBMGS01\j2ee\cluster\instance.properties
    -> [01] ID13786450           : F:\usr\sap\BWD\DVEBMGS01\j2ee\cluster\instance.properties
    [Thr 5300] JLaunchRequestQueueInit: create named pipe for ipc
    [Thr 5300] JLaunchRequestQueueInit: create pipe listener thread
    [Thr 7140] JLaunchRequestFunc: Thread 7140 started as listener thread for np messages.
    [Thr 6892] WaitSyncSemThread: Thread 6892 started as semaphore monitor thread.
    [Thr 5300] NiInit3: NI already initialized; param 'maxHandles' ignored (1;202)
    [Thr 5300] CPIC (version=700.2006.09.13)
    [Thr 5300] [Node: server0] java home is set by profile parameter
    *     Java Home: F:\java*
    [Thr 5300] JStartupICheckFrameworkPackage: can't find framework package F:\usr\sap\BWD\DVEBMGS01\exe\jvmx.jar
    JStartupIReadSection: read node properties [ID13786450]
    -> node name          : server0
    -> node type          : server
    -> node execute       : yes
    -> jlaunch parameters :
    -> java path          : F:\java
    -> java parameters    : -Djco.jarm=1 -XX:MaxPermSize=256M -XX:PermSize=256M -XX:NewSize=171M -XX:MaxNewSize=171M -XX:DisableExplicitGC -verbose:gc -Xloggc:GC.log -XX:PrintGCDetails -XX:+PrintGCTimeStamps -Djava.awt.headless=true -Dsun.io.useCanonCaches=false -XX:SoftRefLRUPolicyMSPerMB=1 -XX:SurvivorRatio=2 -XX:TargetSurvivorRatio=90 -Djava.security.policy=./java.policy -Djava.security.egd=file:/dev/urandom -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy -Dstartup.mode=SAFE -Dstartup.action=UPGRADE
    -> java vm version    : 1.4.2_16-b05
    -> java vm vendor     : Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.)
    -> java vm type       : server
    -> java vm cpu        : amd64
    -> heap size          : 1024M
    -> init heap size     : 1024M
    -> root path          : F:\usr\sap\BWD\DVEBMGS01\j2ee\cluster\server0
    -> class path         : .\bin\boot\boot.jar;.\bin\boot\jaas.jar;.\bin\system\bytecode.jar;.
    -> OS libs path       : F:\usr\sap\BWD\DVEBMGS01\j2ee\os_libs
    -> main class         : com.sap.engine.boot.Start
    -> framework class    : com.sap.bc.proj.jstartup.JStartupFramework
    -> registr. class     : com.sap.bc.proj.jstartup.JStartupNatives
    -> framework path     : F:\usr\sap\BWD\DVEBMGS01\exe\jstartup.jar;F:\usr\sap\BWD\DVEBMGS01\exe\jvmx.jar
    -> shutdown class     : com.sap.engine.boot.Start
    -> parameters         :
    -> debuggable         : no
    -> debug mode         : no
    -> debug port         : 50121
    -> shutdown timeout   : 120000
    [Thr 5300] JLaunchISetDebugMode: set debug mode [no]
    [Thr 6352] JLaunchIStartFunc: Thread 6352 started as Java VM thread.
    [Thr 6352] [JHVM_PrepareVMOptions] use java parameters set by profile parameter
    *     Java Parameters: -Xss2m*
    JHVM_LoadJavaVM: VM Arguments of node [server0]
    -> stack   : 1048576 Bytes
    -> arg[  0]: exit
    -> arg[  1]: abort
    -> arg[  2]: vfprintf
    -> arg[  3]: -Djco.jarm=1
    -> arg[  4]: -XX:MaxPermSize=256M
    -> arg[  5]: -XX:PermSize=256M
    -> arg[  6]: -XX:NewSize=171M
    -> arg[  7]: -XX:MaxNewSize=171M
    -> arg[  8]: -XX:+DisableExplicitGC
    -> arg[  9]: -verbose:gc
    -> arg[ 10]: -Xloggc:GC.log
    -> arg[ 11]: -XX:+PrintGCDetails
    -> arg[ 12]: -XX:+PrintGCTimeStamps
    -> arg[ 13]: -Djava.awt.headless=true
    -> arg[ 14]: -Dsun.io.useCanonCaches=false
    -> arg[ 15]: -XX:SoftRefLRUPolicyMSPerMB=1
    -> arg[ 16]: -XX:SurvivorRatio=2
    -> arg[ 17]: -XX:TargetSurvivorRatio=90
    -> arg[ 18]: -Djava.security.policy=./java.policy
    -> arg[ 19]: -Djava.security.egd=file:/dev/urandom
    -> arg[ 20]: -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy
    -> arg[ 21]: -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy
    -> arg[ 22]: -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy
    -> arg[ 23]: -Dstartup.mode=SAFE
    -> arg[ 24]: -Dstartup.action=UPGRADE
    -> arg[ 25]: -Dsys.global.dir=F:\usr\sap\BWD\SYS\global
    -> arg[ 26]: -Dapplication.home=F:\usr\sap\BWD\DVEBMGS01\exe
    -> arg[ 27]: -Djava.class.path=F:\usr\sap\BWD\DVEBMGS01\exe\jstartup.jar;F:\usr\sap\BWD\DVEBMGS01\exe\jvmx.jar;.\bin\boot\boot.jar;.\bin\boot\jaas.jar;.\bin\system\bytecode.jar;.
    -> arg[ 28]: -Djava.library.path=F:\java\jre\bin\server;F:\java\jre\bin;F:\java\bin;F:\usr\sap\BWD\DVEBMGS01\j2ee\os_libs;C:\Perl\site\bin;C:\Perl\bin;C:\Program Files\HP\NCU;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;F:\java\bin;F:\usr\sap\BWD\SYS\exe\uc\NTAMD64
    -> arg[ 29]: -Dmemory.manager=1024M
    -> arg[ 30]: -Xmx1024M
    -> arg[ 31]: -Xms1024M
    -> arg[ 32]: -DLoadBalanceRestricted=no
    -> arg[ 33]: -Djstartup.mode=JCONTROL
    -> arg[ 34]: -Djstartup.ownProcessId=4560
    -> arg[ 35]: -Djstartup.ownHardwareId=T1648851106
    -> arg[ 36]: -Djstartup.whoami=server
    -> arg[ 37]: -Djstartup.debuggable=no
    -> arg[ 38]: -Xss2m
    -> arg[ 39]: -DSAPINFO=BWD_01_server
    -> arg[ 40]: -DSAPSTART=1
    -> arg[ 41]: -DCONNECT_PORT=3227
    -> arg[ 42]: -DSAPSYSTEM=01
    -> arg[ 43]: -DSAPSYSTEMNAME=BWD
    -> arg[ 44]: -DSAPMYNAME=WDBSSAPBWD01_BWD_01
    -> arg[ 45]: -DSAPPROFILE=F:\usr\sap\BWD\SYS\profile\BWD_DVEBMGS01_WDBSSAPBWD01
    -> arg[ 46]: -DFRFC_FALLBACK=ON
    -> arg[ 47]: -DFRFC_FALLBACK_HOST=localhost
    -> arg[ 48]: -DSAPSTARTUP=1
    -> arg[ 49]: -DSAPSYSTEM=01
    -> arg[ 50]: -DSAPSYSTEMNAME=BWD
    -> arg[ 51]: -DSAPMYNAME=WDBSSAPBWD01_BWD_01
    -> arg[ 52]: -DSAPDBHOST=WDBSSDBBWD01
    -> arg[ 53]: -Dj2ee.dbhost=WDBSSDBBWD01
    CompilerOracle: exclude com/sapportals/portal/pb/layout/taglib/ContainerTag addIviewResources
    CompilerOracle: exclude com/sap/engine/services/keystore/impl/security/CodeBasedSecurityConnector getApplicationDomain
    CompilerOracle: exclude com/sap/engine/services/rmi_p4/P4StubSkeletonGenerator generateStub
    CompilerOracle: exclude com/sapportals/portal/prt/util/StringUtils escapeToJS
    CompilerOracle: exclude com/sapportals/portal/prt/core/broker/PortalServiceItem startServices
    CompilerOracle: exclude com/sap/engine/services/webservices/server/deploy/WSConfigurationHandler downloadFile
    CompilerOracle: exclude com/sapportals/portal/prt/jndisupport/util/AbstractHierarchicalContext lookup
    CompilerOracle: exclude com/sapportals/portal/navigation/cache/CacheNavigationNode getAttributeValue
    CompilerOracle: exclude com/sapportals/portal/navigation/TopLevelNavigationiView PrintNode
    CompilerOracle: exclude com/sapportals/wcm/service/ice/wcm/ICEPropertiesCoder encode
    CompilerOracle: exclude com/sap/lcr/pers/delta/importing/ObjectLoader loadObjects
    CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readElement
    CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readSequence
    CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/TypeMappingImpl initializeRelations
    CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/GeneratedComplexType _loadInto
    [Thr 6352] JHVM_LoadJavaVM: Java VM created OK.
    JHVM_BuildArgumentList: main method arguments of node [server0]
    [Thr 5836] Tue Jun 17 16:30:56 2008
    [Thr 5836] JHVM_RegisterNatives: registering methods in com.sap.bc.krn.perf.PerfTimes
    [Thr 5836] JHVM_RegisterNatives: registering methods in com.sap.bc.proj.jstartup.JStartupFramework
    [Thr 5836] JLaunchISetClusterId: set cluster id 13786450
    [Thr 5836] JLaunchISetState: change state from [Initial (0)] to [Waiting for start (1)]
    [Thr 5836] JLaunchISetState: change state from [Waiting for start (1)] to [Starting (2)]
    [Thr 6128] Tue Jun 17 16:31:06 2008
    [Thr 6128] JLaunchIExitJava: exit hook is called (rc = -11113)
    *[Thr 6128] ***********************************************************************
    ERROR => The Java VM terminated with a non-zero exit code.*
    Please see SAP Note 943602 , section 'J2EE Engine exit codes'*
    for additional information and trouble shooting.*
    [Thr 6128] JLaunchCloseProgram: good bye (exitcode = -11113)
    trc file: "F:\usr\sap\BWD\DVEBMGS01\work\dev_server0", trc level: 1, release: "700"
    node name   : ID13786450
    pid         : 8152
    system name : BWD
    system nr.  : 01
    started at  : Tue Jun 17 16:31:10 2008
    arguments       :
    *       arg[00] : F:\usr\sap\BWD\DVEBMGS01\exe\jlaunch.exe*
    *       arg[01] : pf=F:\usr\sap\BWD\SYS\profile\BWD_DVEBMGS01_WDBSSAPBWD01*
    *       arg[02] : -DSAPINFO=BWD_01_server*
    *       arg[03] : pf=F:\usr\sap\BWD\SYS\profile\BWD_DVEBMGS01_WDBSSAPBWD01*
    *       arg[04] : -DSAPSTART=1*
    *       arg[05] : -DCONNECT_PORT=3227*
    *       arg[06] : -DSAPSYSTEM=01*
    *       arg[07] : -DSAPSYSTEMNAME=BWD*
    *       arg[08] : -DSAPMYNAME=WDBSSAPBWD01_BWD_01*
    *       arg[09] : -DSAPPROFILE=F:\usr\sap\BWD\SYS\profile\BWD_DVEBMGS01_WDBSSAPBWD01*
    *       arg[10] : -DFRFC_FALLBACK=ON*
    *       arg[11] : -DFRFC_FALLBACK_HOST=localhost*
    [Thr 6468] Tue Jun 17 16:31:10 2008
    *[Thr 6468] *** WARNING => INFO: Unknown property [instance.box.number=BWDDVEBMGS01wdbssapbwd01] [jstartxx.c   841]*
    *[Thr 6468] *** WARNING => INFO: Unknown property [instance.en.host=WDBSSAPBWD01] [jstartxx.c   841]*
    *[Thr 6468] *** WARNING => INFO: Unknown property [instance.en.port=3200] [jstartxx.c   841]*
    *[Thr 6468] *** WARNING => INFO: Unknown property [instance.system.id=1] [jstartxx.c   841]*
    JStartupReadInstanceProperties: read instance properties [F:\usr\sap\BWD\DVEBMGS01\j2ee\cluster\instance.properties]
    -> ms host    : WDBSSAPBWD01
    -> ms port    : 3900
    -> OS libs    : F:\usr\sap\BWD\DVEBMGS01\j2ee\os_libs
    -> Admin URL  :
    -> run mode   : safe
    -> run action : UPGRADE
    -> enabled    : yes
    Used property files
    -> files [00] : F:\usr\sap\BWD\DVEBMGS01\j2ee\cluster\instance.properties
    Instance properties
    -> ms host    : WDBSSAPBWD01
    -> ms port    : 3900
    -> os libs    : F:\usr\sap\BWD\DVEBMGS01\j2ee\os_libs
    -> admin URL  :
    -> run mode   : safe
    -> run action : UPGRADE
    -> enabled    : yes
    Bootstrap nodes
    -> [00] bootstrap            : F:\usr\sap\BWD\DVEBMGS01\j2ee\cluster\instance.properties
    -> [01] bootstrap_ID13786400 : F:\usr\sap\BWD\DVEBMGS01\j2ee\cluster\instance.properties
    -> [02] bootstrap_ID13786450 : F:\usr\sap\BWD\DVEBMGS01\j2ee\cluster\instance.properties
    Worker nodes
    -> [00] ID13786400           : F:\usr\sap\BWD\DVEBMGS01\j2ee\cluster\instance.properties
    -> [01] ID13786450           : F:\usr\sap\BWD\DVEBMGS01\j2ee\cluster\instance.properties
    [Thr 6468] JLaunchRequestQueueInit: create named pipe for ipc
    [Thr 6468] JLaunchRequestQueueInit: create pipe listener thread
    [Thr 7576] JLaunchRequestFunc: Thread 7576 started as listener thread for np messages.
    [Thr 7312] WaitSyncSemThread: Thread 7312 started as semaphore monitor thread.
    [Thr 6468] NiInit3: NI already initialized; param 'maxHandles' ignored (1;202)
    [Thr 6468] CPIC (version=700.2006.09.13)
    [Thr 6468] [Node: server0] java home is set by profile parameter
    *     Java Home: F:\java*
    [Thr 6468] JStartupICheckFrameworkPackage: can't find framework package F:\usr\sap\BWD\DVEBMGS01\exe\jvmx.jar
    JStartupIReadSection: read node properties [ID13786450]
    -> node name          : server0
    -> node type          : server
    -> node execute       : yes
    -> jlaunch parameters :
    -> java path          : F:\java
    -> java parameters    : -Djco.jarm=1 -XX:MaxPermSize=256M -XX:PermSize=256M -XX:NewSize=171M -XX:MaxNewSize=171M -XX:DisableExplicitGC -verbose:gc -Xloggc:GC.log -XX:PrintGCDetails -XX:+PrintGCTimeStamps -Djava.awt.headless=true -Dsun.io.useCanonCaches=false -XX:SoftRefLRUPolicyMSPerMB=1 -XX:SurvivorRatio=2 -XX:TargetSurvivorRatio=90 -Djava.security.policy=./java.policy -Djava.security.egd=file:/dev/urandom -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy -Dstartup.mode=SAFE -Dstartup.action=UPGRADE
    -> java vm version    : 1.4.2_16-b05
    -> java vm vendor     : Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.)
    -> java vm type       : server
    -> java vm cpu        : amd64
    -> heap size          : 1024M
    -> init heap size     : 1024M
    -> root path          : F:\usr\sap\BWD\DVEBMGS01\j2ee\cluster\server0
    -> class path         : .\bin\boot\boot.jar;.\bin\boot\jaas.jar;.\bin\system\bytecode.jar;.
    -> OS libs path       : F:\usr\sap\BWD\DVEBMGS01\j2ee\os_libs
    -> main class         : com.sap.engine.boot.Start
    -> framework class    : com.sap.bc.proj.jstartup.JStartupFramework
    -> registr. class     : com.sap.bc.proj.jstartup.JStartupNatives
    -> framework path     : F:\usr\sap\BWD\DVEBMGS01\exe\jstartup.jar;F:\usr\sap\BWD\DVEBMGS01\exe\jvmx.jar
    -> shutdown class     : com.sap.engine.boot.Start
    -> parameters         :
    -> debuggable         : no
    -> debug mode         : no
    -> debug port         : 50121
    -> shutdown timeout   : 120000
    [Thr 6468] JLaunchISetDebugMode: set debug mode [no]
    [Thr 7456] JLaunchIStartFunc: Thread 7456 started as Java VM thread.
    [Thr 7456] [JHVM_PrepareVMOptions] use java parameters set by profile parameter
    *     Java Parameters: -Xss2m*
    JHVM_LoadJavaVM: VM Arguments of node [server0]
    -> stack   : 1048576 Bytes
    -> arg[  0]: exit
    -> arg[  1]: abort
    -> arg[  2]: vfprintf
    -> arg[  3]: -Djco.jarm=1
    -> arg[  4]: -XX:MaxPermSize=256M
    -> arg[  5]: -XX:PermSize=256M
    -> arg[  6]: -XX:NewSize=171M
    -> arg[  7]: -XX:MaxNewSize=171M
    -> arg[  8]: -XX:+DisableExplicitGC
    -> arg[  9]: -verbose:gc
    -> arg[ 10]: -Xloggc:GC.log
    -> arg[ 11]: -XX:+PrintGCDetails
    -> arg[ 12]: -XX:+PrintGCTimeStamps
    -> arg[ 13]: -Djava.awt.headless=true
    -> arg[ 14]: -Dsun.io.useCanonCaches=false
    -> arg[ 15]: -XX:SoftRefLRUPolicyMSPerMB=1
    -> arg[ 16]: -XX:SurvivorRatio=2
    -> arg[ 17]: -XX:TargetSurvivorRatio=90
    -> arg[ 18]: -Djava.security.policy=./java.policy
    -> arg[ 19]: -Djava.security.egd=file:/dev/urandom
    -> arg[ 20]: -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy
    -> arg[ 21]: -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy
    -> arg[ 22]: -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy
    -> arg[ 23]: -Dstartup.mode=SAFE
    -> arg[ 24]: -Dstartup.action=UPGRADE
    -> arg[ 25]: -Dsys.global.dir=F:\usr\sap\BWD\SYS\global
    -> arg[ 26]: -Dapplication.home=F:\usr\sap\BWD\DVEBMGS01\exe
    -> arg[ 27]: -Djava.class.path=F:\usr\sap\BWD\DVEBMGS01\exe\jstartup.jar;F:\usr\sap\BWD\DVEBMGS01\exe\jvmx.jar;.\bin\boot\boot.jar;.\bin\boot\jaas.jar;.\bin\system\bytecode.jar;.
    -> arg[ 28]: -Djava.library.path=F:\java\jre\bin\server;F:\java\jre\bin;F:\java\bin;F:\usr\sap\BWD\DVEBMGS01\j2ee\os_libs;C:\Perl\site\bin;C:\Perl\bin;C:\Program Files\HP\NCU;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;F:\java\bin;F:\usr\sap\BWD\SYS\exe\uc\NTAMD64
    -> arg[ 29]: -Dmemory.manager=1024M
    -> arg[ 30]: -Xmx1024M
    -> arg[ 31]: -Xms1024M
    -> arg[ 32]: -DLoadBalanceRestricted=no
    -> arg[ 33]: -Djstartup.mode=JCONTROL
    -> arg[ 34]: -Djstartup.ownProcessId=8152
    -> arg[ 35]: -Djstartup.ownHardwareId=T1648851106
    -> arg[ 36]: -Djstartup.whoami=server
    -> arg[ 37]: -Djstartup.debuggable=no
    -> arg[ 38]: -Xss2m
    -> arg[ 39]: -DSAPINFO=BWD_01_server
    -> arg[ 40]: -DSAPSTART=1
    -> arg[ 41]: -DCONNECT_PORT=3227
    -> arg[ 42]: -DSAPSYSTEM=01
    -> arg[ 43]: -DSAPSYSTEMNAME=BWD
    -> arg[ 44]: -DSAPMYNAME=WDBSSAPBWD01_BWD_01
    -> arg[ 45]: -DSAPPROFILE=F:\usr\sap\BWD\SYS\profile\BWD_DVEBMGS01_WDBSSAPBWD01
    -> arg[ 46]: -DFRFC_FALLBACK=ON
    -> arg[ 47]: -DFRFC_FALLBACK_HOST=localhost
    -> arg[ 48]: -DSAPSTARTUP=1
    -> arg[ 49]: -DSAPSYSTEM=01
    -> arg[ 50]: -DSAPSYSTEMNAME=BWD
    -> arg[ 51]: -DSAPMYNAME=WDBSSAPBWD01_BWD_01
    -> arg[ 52]: -DSAPDBHOST=WDBSSDBBWD01
    -> arg[ 53]: -Dj2ee.dbhost=WDBSSDBBWD01
    CompilerOracle: exclude com/sapportals/portal/pb/layout/taglib/ContainerTag addIviewResources
    CompilerOracle: exclude com/sap/engine/services/keystore/impl/security/CodeBasedSecurityConnector getApplicationDomain
    CompilerOracle: exclude com/sap/engine/services/rmi_p4/P4StubSkeletonGenerator generateStub
    CompilerOracle: exclude com/sapportals/portal/prt/util/StringUtils escapeToJS
    CompilerOracle: exclude com/sapportals/portal/prt/core/broker/PortalServiceItem startServices
    CompilerOracle: exclude com/sap/engine/services/webservices/server/deploy/WSConfigurationHandler downloadFile
    CompilerOracle: exclude com/sapportals/portal/prt/jndisupport/util/AbstractHierarchicalContext lookup
    CompilerOracle: exclude com/sapportals/portal/navigation/cache/CacheNavigationNode getAttributeValue
    CompilerOracle: exclude com/sapportals/portal/navigation/TopLevelNavigationiView PrintNode
    CompilerOracle: exclude com/sapportals/wcm/service/ice/wcm/ICEPropertiesCoder encode
    CompilerOracle: exclude com/sap/lcr/pers/delta/importing/ObjectLoader loadObjects
    CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readElement
    CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readSequence
    CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/TypeMappingImpl initializeRelations
    CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/GeneratedComplexType _loadInto
    [Thr 7456] JHVM_LoadJavaVM: Java VM created OK.
    JHVM_BuildArgumentList: main method arguments of node [server0]
    [Thr 7648] Tue Jun 17 16:31:11 2008
    [Thr 7648] JHVM_RegisterNatives: registering methods in com.sap.bc.krn.perf.PerfTimes
    [Thr 7648] JHVM_RegisterNatives: registering methods in com.sap.bc.proj.jstartup.JStartupFramework
    [Thr 7648] JLaunchISetClusterId: set cluster id 13786450
    [Thr 7648] JLaunchISetState: change state from [Initial (0)] to [Waiting for start (1)]
    [Thr 7648] JLaunchISetState: change state from [Waiting for start (1)] to [Starting (2)]
    [Thr 7432] Tue Jun 17 16:31:21 2008
    [Thr 7432] JLaunchIExitJava: exit hook is called (rc = -11113)
    *[Thr 7432] ***********************************************************************
    ERROR => The Java VM terminated with a non-zero exit code.*
    Please see SAP Note 943602 , section 'J2EE Engine exit codes'*
    for additional information and trouble shooting.*
    [Thr 7432] JLaunchCloseProgram: good bye (exitcode = -11113)
    trc file: "F:\usr\sap\BWD\DVEBMGS01\work\dev_server0", trc level: 1, release: "700"
    node name   : ID13786450
    pid         : 7280
    system name : BWD
    system nr.  : 01
    started at  : Tue Jun 17 16:31:25 2008
    arguments       :
    *       arg[00] : F:\usr\sap\BWD\DVEBMGS01\exe\jlaunch.exe*
    *       arg[01] : pf=F:\usr\sap\BWD\SYS\profile\BWD_DVEBMGS01_WDBSSAPBWD01*
    *       arg[02] : -DSAPINFO=BWD_01_server*
    *       arg[03] : pf=F:\usr\sap\BWD\SYS\profile\BWD_DVEBMGS01_WDBSSAPBWD01*
    *       arg[04] : -DSAPSTART=1*
    *       arg[05] : -DCONNECT_PORT=3227*
    *       arg[06] : -DSAPSYSTEM=01*
    *       arg[07] : -DSAPSYSTEMNAME=BWD*
    *       arg[08] : -DSAPMYNAME=WDBSSAPBWD01_BWD_01*
    *       arg[09] : -DSAPPROFILE=F:\usr\sap\BWD\SYS\profile\BWD_DVEBMGS01_WDBSSAPBWD01*
    *       arg[10] : -DFRFC_FALLBACK=ON*
    *       arg[11] : -DFRFC_FALLBACK_HOST=localhost*
    [Thr 5400] Tue Jun 17 16:31:25 2008
    *[Thr 5400] *** WARNING => INFO: Unknown property [instance.box.number=BWDDVEBMGS01wdbssapbwd01] [jstartxx.c   841]*
    *[Thr 5400] *** WARNING => INFO: Unknown property [instance.en.host=WDBSSAPBWD01] [jstartxx.c   841]*
    *[Thr 5400] *** WARNING => INFO: Unknown property [instance.en.port=3200] [jstartxx.c   841]*
    *[Thr 5400] *** WARNING => INFO: Unknown property [instance.system.id=1] [jstartxx.c   841]*
    JStartupReadInstanceProperties: read instance properties [F:\usr\sap\BWD\DVEBMGS01\j2ee\cluster\instance.properties]
    -> ms host    : WDBSSAPBWD01
    -> ms port    : 3900
    -> OS libs    : F:\usr\sap\BWD\DVEBMGS01\j2ee\os_libs
    -> Admin URL  :
    -> run mode   : safe
    -> run action : UPGRADE
    -> enabled    : yes
    Used property files
    -> files [00] : F:\usr\sap\BWD\DVEBMGS01\j2ee\cluster\instance.properties
    Instance properties
    -> ms host    : WDBSSAPBWD01
    -> ms port    : 3900
    -> os libs    : F:\usr\sap\BWD\DVEBMGS01\j2ee\os_libs
    -> admin URL  :
    -> run mode   : safe
    -> run action : UPGRADE
    -> enabled    : yes
    Bootstrap nodes
    -> [00] bootstrap            : F:\usr\sap\BWD\DVEBMGS01\j2ee\cluster\instance.properties
    -> [01] bootstrap_ID13786400 : F:\usr\sap\BWD\DVEBMGS01\j2ee\cluster\instance.properties
    -> [02] bootstrap_ID13786450 : F:\usr\sap\BWD\DVEBMGS01\j2ee\cluster\instance.properties
    Worker nodes
    -> [00] ID13786400           : F:\usr\sap\BWD\DVEBMGS01\j2ee\cluster\instance.properties
    -> [01] ID13786450           : F:\usr\sap\BWD\DVEBMGS01\j2ee\cluster\instance.properties
    [Thr 5400] JLaunchRequestQueueInit: create named pipe for ipc
    [Thr 5400] JLaunchRequestQueueInit: create pipe listener thread
    [Thr 4264] WaitSyncSemThread: Thread 4264 started as semaphore monitor thread.
    [Thr 4488] JLaunchRequestFunc: Thread 4488 started as listener thread for np messages.
    [Thr 5400] NiInit3: NI already initialized; param 'maxHandles' ignored (1;202)
    [Thr 5400] CPIC (version=700.2006.09.13)
    [Thr 5400] [Node: server0] java home is set by profile parameter
    *     Java Home: F:\java*
    [Thr 5400] JStartupICheckFrameworkPackage: can't find framework package F:\usr\sap\BWD\DVEBMGS01\exe\jvmx.jar
    JStartupIReadSection: read node properties [ID13786450]
    -> node name          : server0
    -> node type          : server
    -> node execute       : yes
    -> jlaunch parameters :
    -> java path          : F:\java
    -> java parameters    : -Djco.jarm=1 -XX:MaxPermSize=256M -XX:PermSize=256M -XX:NewSize=171M -XX:MaxNewSize=171M -XX:DisableExplicitGC -verbose:gc -Xloggc:GC.log -XX:PrintGCDetails -XX:+PrintGCTimeStamps -Djava.awt.headless=true -Dsun.io.useCanonCaches=false -XX:SoftRefLRUPolicyMSPerMB=1 -XX:SurvivorRatio=2 -XX:TargetSurvivorRatio=90 -Djava.security.policy=./java.policy -Djava.security.egd=file:/dev/urandom -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy -Dstartup.mode=SAFE -Dstartup.action=UPGRADE
    -> java vm version    : 1.4.2_16-b05
    -> java vm vendor     : Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.)
    -> java vm type       : server
    -> java vm cpu        : amd64
    -> heap size          : 1024M
    -> init heap size     : 1024M
    -> root path          : F:\usr\sap\BWD\DVEBMGS01\j2ee\cluster\server0
    -> class path         : .\bin\boot\boot.jar;.\bin\boot\jaas.jar;.\bin\system\bytecode.jar;.
    -> OS libs path       : F:\usr\sap\BWD\DVEBMGS01\j2ee\os_libs
    -> main class         : com.sap.engine.boot.Start
    -> framework class    : com.sap.bc.proj.jstartup.JStartupFramework
    -> registr. class     : com.sap.bc.proj.jstartup.JStartupNatives
    -> framework path     : F:\usr\sap\BWD\DVEBMGS01\exe\jstartup.jar;F:\usr\sap\BWD\DVEBMGS01\exe\jvmx.jar
    -> shutdown class     : com.sap.engine.boot.Start
    -> parameters         :
    -> debuggable         : no
    -> debug mode         : no
    -> debug port         : 50121
    -> shutdown timeout   : 120000
    [Thr 5400] JLaunchISetDebugMode: set debug mode [no]
    [Thr 4872] JLaunchIStartFunc: Thread 4872 started as Java VM thread.
    [Thr 4872] [JHVM_PrepareVMOptions] use java parameters set by profile parameter
    *     Java Parameters: -Xss2m*
    JHVM_LoadJavaVM: VM Arguments of node [server0]
    -> stack   : 1048576 Bytes
    -> arg[  0]: exit
    -> arg[  1]: abort
    -> arg[  2]: vfprintf
    -> arg[  3]: -Djco.jarm=1
    -> arg[  4]: -XX:MaxPermSize=256M
    -> arg[  5]: -XX:PermSize=256M
    -> arg[  6]: -XX:NewSize=171M
    -> arg[  7]: -XX:MaxNewSize=171M
    -> arg[  8]: -XX:+DisableExplicitGC
    -> arg[  9]: -verbose:gc
    -> arg[ 10]: -Xloggc:GC.log
    -> arg[ 11]: -XX:+PrintGCDetails
    -> arg[ 12]: -XX:+PrintGCTimeStamps
    -> arg[ 13]: -Djava.awt.headless=true
    -> arg[ 14]: -Dsun.io.useCanonCaches=false
    -> arg[ 15]: -XX:SoftRefLRUPolicyMSPerMB=1
    -> arg[ 16]: -XX:SurvivorRatio=2
    -> arg[ 17]: -XX:TargetSurvivorRatio=90
    -> arg[ 18]: -Djava.security.policy=./java.policy
    -> arg[ 19]: -Djava.security.egd=file:/dev/urandom
    -> arg[ 20]: -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy
    -> arg[ 21]: -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy
    -> arg[ 22]: -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy
    -> arg[ 23]: -Dstartup.mode=SAFE
    -> arg[ 24]: -Dstartup.action=UPGRADE
    -> arg[ 25]: -Dsys.global.dir=F:\usr\sap\BWD\SYS\global
    -> arg[ 26]: -Dapplication.home=F:\usr\sap\BWD\DVEBMGS01\exe
    -> arg[ 27]: -Djava.class.path=F:\usr\sap\BWD\DVEBMGS01\exe\jstartup.jar;F:\usr\sap\BWD\DVEBMGS01\exe\jvmx.jar;.\bin\boot\boot.jar;.\bin\boot\jaas.jar;.\bin\system\bytecode.jar;.
    -> arg[ 28]: -Djava.library.path=F:\java\jre\bin\server;F:\java\jre\bin;F:\java\bin;F:\usr\sap\BWD\DVEBMGS01\j2ee\os_libs;C:\Perl\site\bin;C:\Perl\bin;C:\Program Files\HP\NCU;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;F:\java\bin;F:\usr\sap\BWD\SYS\exe\uc\NTAMD64
    -> arg[ 29]: -Dmemory.manager=1024M
    -> arg[ 30]: -Xmx1024M
    -> arg[ 31]: -Xms1024M
    -> arg[ 32]: -DLoadBalanceRestricted=no
    -> arg[ 33]: -Djstartup.mode=JCONTROL
    -> arg[ 34]: -Djstartup.ownProcessId=7280

    We installed teh objects through SDM .
    this solved the issue

  • Can I display EyeTV's live TV over HDMI-out and be able to see my desktop using screen-sharing on a headless mac-mini used as a media-box?

    Hi,
    I'm thinking of buying a new mac-mini to replace my current one which acts as an iTunes server and records TV programs using eyeTV. I connect using screen-sharing/VNC to be able to do stuff on it (like handbrake etc.)
    I have eyeTV with a satelite receiver and I want to change the setup so that:
    - the new mac-mini continues to work as an iTunes server (and handbrake workhorse)
    - I can use the HDMI output (inc. audio) to show eyeTV's live TV full-screen app
    - I can connect using screen-sharing/VNC to the mac-mini and see my normal desktop to be able to maintain it etc. but this is a headless display (no screen is connected to the display-port).
    - recorded media I'd play through the appleTV2 still + rentals etc. unless anyone knows if eyeTV software can offer up iTunes content? I don't like the eyeTV recordings in general as it seems very slow to me for access when there are lots of recordings and wouldn't be available in other apleTVs in the house AFAIK.
    The main benefit that this gives me is that I'd no longer need a seperate satelite box to watch live TV and can add more eyeTV hardware to get additional TV channels all through the same HUD on the TV for ease of access.
    Does this seem possible in theory & practice (ie are there any gotcha's to consider?)
    - can I force the HDMI output resolution to 1080i as I go via an amp to the TV and the appleTV2 drops to low-res in this configuration so I have had to find a workaround for that.
    - does the mac-mini have IR input that can be programmed?
    - Does eyeTV software remain stable for long periods?
    - Does the HDMI out have any handshake issues that would need a reset of the display (somehow)?
    thanks in advance for any thoughts/contributions
    Lee

    I think the easiest way to do this is to have the EyeTV app running in one user account and sent via HDMI to the TV, and use a separate user account for Screen Sharing. Both logins can be active at the same time and with Lion you can connect via screen sharing to which ever login you need.
    With regards to the Mac video resolution changing, when it is not the current input on your AV receiver. This is 'normal', if the Mac sees no signal it drops down the a lower level. What you need is to buy a HDMI Detective Plus which tricks the Mac in to always seeing a signal and hence it will not drop down the resolution. See http://www.gefen.com/kvm/dproduct.jsp?prod_id=8005
    The Mac mini does have an IR receiver. This can be used with the EyeTV app, iTunes, and similar. Yes I believe EyeTV would run for prolonged periods quite happily, it is has been around for a long time and had most of the rough edges polished off. However one issue you will have to deal with is that it does not automatically update its program guide data. For this you might have to write or modify an AppleScript. Elgato support or their user forums will be a lot of help.
    You can set EyeTV to convert recordings to an iTunes (Apple TV) compatible format and then delete them from EyeTV.
    The HDMI Detective should solve your handshaking problems.

  • Agfa SnapScan Touch no longer supported by MacOS thanks to Snow Leopard

    Since Snow Leopard my Agfa ScanScan Touch scanner is useless. ThanX to Snow Leopard... Even application VueScan cannot get the SnapScan to work. Thanx to this great new OS...

    1. I have a long Apple history and know who is responsible for drivers. I just want to remind you to the situations where Apple came with new OS's or ports and lots of stuff did not work. I will not spend time here to write a history lesson on this.
    But your example was of a currently shipping product (Time Capsule) that is supported by SL. I would have known that you understood the problem if you had chosen a product that had actually been abandoned. I'm guessing that some products that are currently shipping, will not run with 10.7 or 10.8, but almost all of the products I have now will be in the trash or scheduled for replacement due to repair costs which are often higher than replacement. This has happened to us as drive belts fail in printers and scanners. Luckily the $1200 scanners of the '90s have improved to the point where we get better quality/speed in a $100 model shipping today.
    The obsolete 32 bit drivers problem is going to continue and could actually get worse. It's been projected that each new version of OS X from here on out will probably have tighter requirements for drivers to be 64 bit. SL is a transition OS, with very few visible changes for the user. Security updates are still coming out for Leopard, and I think I saw one recently for Tiger but I don't look there very often.
    There is no business reason to upgrade from Leopard for at least another year or until high end applications actually need or take advantage of a 64 bit OS. The additional ram handling is to solve a problem that doesn't exist yet and the programs don't know how to use multiple CPU cores very well, yet.
    They could save MORE environment if they supported larges installed base peripherals. I know the industry needs to keep me selling new stuff which I love to buy, but it hurts my eco feeling to now through something away which is 6 or 8 years old and still technically is perfect....
    More responsible packaging, recycled materials in the actual product, ongoing support for older OS's - that's what I see from companies like Apple. We will see more, as energy efficiency requirements change in the next decade.
    We are also doing something to help. Our older devices are not going into a landfill. There is a local recycling center that is accepting our outdated or defective hardware. The replacement products use less energy and are more productive. We don't feel that the older devices are technically perfect if they consume too much electricity, run slower than our work flow, or require us to keep older inefficient computers on-line. The older machines are wearing out and need new power supplies and hard drives.
    In order to keep using the old SCSI scanner we did keep a Dual G4 that came with Jaguar running in Tiger for a couple of years (Adaptec SCSI drivers disappeared with Leopard). We finally got rid of all SCSI devices and re-purposed one old machine to be a headless Leopard server but the maintenance bills are starting to pile up, it runs hot, it's very noisy (Windtunnel fans), it's not very energy efficient, it's not upgradable to SL server and the new ReadyNAS arrives on next Tuesday. We look forward to shutting of the old power hogs. The server room will be quite a bit cooler and will require less air conditioning. We might even be able to turn the room back into a workspace. The noise and heat made the room uncomfortable to work in.

  • I have just bought a new Imac and it will not load my copy of FCE 3.5 as it says "PowerPC applications are no longer supported". So how do I get to use the version of FCE I am used to and have paid for ?

    I have just bought a new Imac and it will not load my copy of FCE 3.5 as it says "PowerPC applications are no longer supported". So how do I get to use the version of FCE I am used to and have paid for ?

    I do not have any experience with Final Cut, but if you have existing projects that you MUST access; then you are in need of a solution on your new iMac in Mountain Lion!
    Unfortunately you got caught up in the minor miracle of Rosetta.  Originally licensed by Apple when it migrated from the PowerPC CPU platform that it had used from the mid-1990's until the Intel CPU platform in 2006, Rosetta allowed Mac users to continue to use their library of PPC software transparently in emulation.
    However, Apple's license to continue to use this technology expired with new releases of OS X commencing with Lion (and now Mountain Lion).  While educational efforts have been made over the last 6 years, the fact is that Rosetta was SO successful that many users were caught unaware UNTIL they upgraded to Lion or Mountain Lion.
    Workarounds:
    1.  Purchase a used Mac that will run Snow Leopard (with the optional Rosetta installed) and continue to run FCE on that Mac (you can actually use Screen Sharing with a "headless" used Snow Leopard Mac Mini and use the 27" screen from your iMac to view and work FCE in the Mac Mini environment);
    2.  Upgrade to an Intel compatible version of FCE and hope it converts your existing projects to its newer format correctly.  There is much debate that the newer version of Final Cut are eliminating many needed features; for example Final Cut Pro X vs. Final Cut Pro 6 -- many users are staying with version 6;
    3.  Install Snow Leopard (with Rosetta) into Parallels and then install FCE in the Snow Leopard environment:
                                  [click on image to enlarge]
    Full Snow Leopard installation instructions here:
    http://forums.macrumors.com/showthread.php?t=1365439
    NOTE: STEP ONE of the instructions must currently be completed on a Snow Leopard or Lion Mac and the resulting modified Snow Leopard.cdr install file can then be moved over to your Mountain Lion Mac for completion of the remaining steps.
    NOTE 2:  Computer games with complex, 3D or fast motion graphics make not work well or at all in virtualization.

  • Mac Mini Server Doesn't Support Duel Thunderbolt Displays!

    I purchased a mac mini server with the intent of ultimately running two thunderbolt displays off of it. I pre-ordered in August, waited six weeks for it to arrive and realized that the mac mini server that I had been sent was a lemon. I applied for a replacement, which was built in China and it arrived two weeks later. Everything was going great - I had my mac mini server running a thunderbolt and I was thrilled! Yesterday however, I purchased my second thunderbolt display, connected it and nothing happened. Trouble shooting didn't help. Finally, I called apple and was told that the server version doesn't support duel thunderbolt displays! I had read all of the technical specifications and there was no mention (at that time) that the server couldn't support duel displays. I am now in the process of returning my mac mini server in exchange for a custom build mac mini with upgraded 2.7 GHz i7 processors and 8GB RAM. I'm really disappointed to have to be going through all of these extra steps just to realize the system that I imagined early on. I checked the Apple Thunderbolt display options page at apple and they have now posted that the server doesn't support duel displays (but that informaiton definitely was not there when I first read it!). Why would the server version not support duel displays? To me, it doesn't make any sense. What are your thoughts?

    It doesn't support dual TB displays because it uses the integrated
    Intel graphics HD 3000.  Only discrete graphics cards can handle
    dual TB displays.  The integrated graphics chip just cant handle
    the load.
    As for the logic of it, as servers, they are usually single display
    and even more often are run headless and managed remotely.
    It is marketed as a server and thus the logic.

  • I want to use a mac mini as a server supporting storage. Can I pair my macair to it for when I need to perform updates and maintenance ?

    I want to use a mac mini as a server supporting storage. I have other devices such as an iMac and iPad that will access information from the server. I do not want to purchase a monitor and keyboard as the unit will sit in a cupboard out of sight. Can I pair my macair to it for when I need to perform updates and maintenance ?

    I have a 2010 Mac Mini running Yosemite and Server which I use
    as a headless home server.
    I have is set up to allow screen sharing and can connect to it and
    control it with my iMac, Macbook Pro, iPhone, and a 2011 Mini Server
    that I use as an HTPC.
    You can check this out for all the Yosemite Server capabilities:
    https://help.apple.com/advancedserveradmin/mac/4.0/
    I have iTunes Home Sharing set up on it and have my entire iTunes
    library on it.  I can then use any of my Macs to play Movies or Songs
    from it and only keep locally a select subset of that on my individual
    devices.
    Rather than and update server, I utilize Server's Caching Service.  The caching
    server will duplicate any update download (system or MacApp Store purchases)
    any time a device that is connected to my network down loads one.  The update will
    then be stored locally and all other devices will download the update from it which
    can be faster than from Apple directly.  This has the advantage of only having to download
    once with limited bandwidth internet connections.  There is also an Update Server service
    available, but it is some what more involved in setting up.  However, it will download
    and store all available updates.
    There is another thing as well if you do not care for syncing things like Contacts, Calendar, etc.
    to iCloud, you can set Server up to sync these items across devices locally.

  • Problems to connect with VNC to headless mac mini after sleep mode

    Hallo,
    I've a Mac Mini (late 2009) setup with Lion Server. I want to use it without mouse/keyboard/monitor attached. Since I want to safe power ( green IT ;-) ), I would like to use sleep mode.
    First thing I've learned is, that Lion Server prevents the mini to go to sleep after an idel time as set in power saving.
    The only thing that works, is setting up a shedule with sleep / wakeup times.
    When I start the mini, everything works great. I can connect via VNC. The Mini goes to sleep at the scheduled time and wakes up again as expected.
    From this time on, things begin to get strange:
    I can connect using VNC, but all i get is a grey screen with a moving cursor. So VNC is working, but there is no screen available on the Mini. Same if I use thightVNC from a Windwos PC. Get a grey screen.
    Further the system does NOT go to sleep at scheduled times any longer.
    I was able to track down the problem to the missing monitor: If the Mini wakes up without a monitor connected, I seems to wait to get the right resolution or what ever. All servives are working, SSH is fine even VNC works, but shows only a grey screen.
    I've been playing with attaching / detaching a monitor. Sometimes I got:
    - Boot with monitor
    - connect with VNC, see login screen
    - send Mini to sleep
    - disconnect monitor
    - wakeup Mini
    - VNC reconnects, showing grey screen
    - plug in monitor and wait until login screen appears on the monitor
    - VNC switches from grey to login screen
    The only way I can save some energy is a sheduled shutdown / restart. So headless works, but not after waking up from sleep.
    Any hint or solutions for this ?
    Thanks
    Marc

    Look in the security feature.  This is a link to the FAQ (step 6):  http://support.apple.com/kb/PH4014?viewlocale=en_US
    I had the same issue when I connected my Mac Mini to be a Media Server.
    /r
    C.

  • Nomachine NX/FreeNX, can't get 3D accelearation support for Virtualbox

    Greetings to everyone!
    I have a problem, which hopefuly someone knows how to solve?
    I've installed everything I needed for one small headless testing server based on Arch linux (x64, kernel 2.6.32 and X.Org X Server 1.7.3.902 (1.7.4 RC 2)), and have setup only basic stuff and services (I've attached rc.conf file)
    In addition I've setup also a desktop enviroment based on LXDE (in case of problems but it's stared manualy only when need and by NXclient or ssh -X), NVIDIA drivers (v. 190.53), VirtualBox 3.1.2 and VMWare Server 2.0.2 (x64).
    When I'm working directly on computer everything is working just fine and I have support for hardware acceleration in Virtualbox, but when I try to use it from remote location (eg. using NX client, or using X forwarding over SSH), I can't get access to 3D features of VirtualBox (3D acceleration and 2D acceleration buttons are greyed out!), also when I try to access NVIDIA settings panel it says "You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server." Well I'm pretty sure I have drivers installed, but is there any chance they are badly configured?
    I really Arch linux and would like use it as my main distro and really would like if someone can help me find a solution for this problem, (especially knowing that the same things IS working on my second and much older computer based on Intel Pentium 4 (2.0 Ghz), ASUS P4B533 Asus GF4 MX440 graphic card Ubuntu 8.04.3 LTS), and that it's a bit frustrating
    The newer computer is based on AMD Athlon II X2 240, Gigabyte MA770-UD3, and Gigabyte 7300GS graphic card.
    I've tried so many tutorials, many found on this forum, tried with different GUI (KDE, GNOME, LXDE) in case i "skipped" something and nothing helped me..
    Checked everything (I know) twice and even more, but no success.
    Is there some way to use hardware acceleration over remote sessions , am I missing something or is "the resistance futile" ?
    I'm sending my rc.conf, xorg.conf file, so if someone has more expirience with it?
    Thank you.
    rc.conf:
    # /etc/rc.conf - Main Configuration for Arch Linux
    # LOCALIZATION
    # LOCALE: available languages can be listed with the 'locale -a' command
    # HARDWARECLOCK: set to "UTC" or "localtime"
    # USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
    # TIMEZONE: timezones are found in /usr/share/zoneinfo
    # KEYMAP: keymaps are found in /usr/share/kbd/keymaps
    # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
    # CONSOLEMAP: found in /usr/share/kbd/consoletrans
    # USECOLOR: use ANSI color sequences in startup messages
    LOCALE="hr_HR.utf8"
    HARDWARECLOCK="localtime"
    USEDIRECTISA="no"
    TIMEZONE="Europe/Zagreb"
    KEYMAP="croat"
    CONSOLEFONT="lat2-16"
    CONSOLEMAP=
    USECOLOR="yes"
    # HARDWARE
    # MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
    # MOD_BLACKLIST: Prevent udev from loading these modules
    # MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
    # NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
    MOD_AUTOLOAD="yes"
    #MOD_BLACKLIST=() #deprecated
    MODULES=(powernow-k8 cpufreq_ondemand cpufreq_powersave vboxdrv vboxnetflt vboxnetadp fuse)
    # Scan for LVM volume groups at startup, required if you use LVM
    USELVM="yes"
    # NETWORKING
    # HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
    HOSTNAME="kiklop"
    # Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
    # Interfaces to start at boot-up (in this order)
    # Declare each interface then list in INTERFACES
    # - prefix an entry in INTERFACES with a ! to disable it
    # - no hyphens in your interface names - Bash doesn't like it
    # DHCP: Set your interface to "dhcp" (eth0="dhcp")
    # Wireless: See network profiles below
    #Static IP example
    eth0="eth0 192.168.1.2 netmask 255.255.255.0 broadcast 192.168.1.255"
    #eth0="dhcp"
    INTERFACES=(eth0)
    # Routes to start at boot-up (in this order)
    # Declare each route then list in ROUTES
    # - prefix an entry in ROUTES with a ! to disable it
    gateway="default gw 192.168.1.1"
    ROUTES=(gateway)
    # Enable these network profiles at boot-up. These are only useful
    # if you happen to need multiple network configurations (ie, laptop users)
    # - set to 'menu' to present a menu during boot-up (dialog package required)
    # - prefix an entry with a ! to disable it
    # Network profiles are found in /etc/network.d
    # This now requires the netcfg package
    #NETWORKS=(main)
    # DAEMONS
    # Daemons to start at boot-up (in this order)
    # - prefix a daemon with a ! to disable it
    # - prefix a daemon with a @ to start it up in the background
    DAEMONS=(syslog-ng hal network netfs crond @openntpd sshd cpufreq sensors @samba @smbnetfs @proftpd @vmware @ddclient @webmin)
    xorg.conf
    Section "ServerLayout"
    Identifier "X.org Configured"
    Screen 0 "Screen0" 0 0
    InputDevice "Mouse0" "CorePointer"
    InputDevice "Keyboard0" "CoreKeyboard"
    EndSection
    Section "Files"
    ModulePath "/usr/lib/xorg/modules"
    FontPath "/usr/share/fonts/misc"
    FontPath "/usr/share/fonts/100dpi:unscaled"
    FontPath "/usr/share/fonts/75dpi:unscaled"
    FontPath "/usr/share/fonts/TTF"
    # FontPath "/usr/share/fonts/Type1"
    EndSection
    Section "Module"
    Load "dbe"
    # Load "dri"
    # Load "dri2"
    Load "extmod"
    Load "glx"
    EndSection
    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection
    Section "InputDevice"
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/input/mice"
    Option "ZAxisMapping" "4 5 6 7"
    EndSection
    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Monitor Vendor"
    ModelName "Monitor Model"
    Option "DPMS" "True"
    EndSection
    Section "Device"
    Identifier "Card0"
    Driver "nvidia"
    VendorName "nVidia Corporation"
    BoardName "G71 [GeForce 7300 GS]"
    BusID "PCI:1:0:0"
    # Option "UseFBDev" "true"
    Option "AllowGLXWithComposite" "True"
    Option "RenderAccel" "True"
    Option "AddARGBVisuals" "True"
    Option "AddARGBGLXVisuals" "True"
    Option "BackingStore" "True"
    Option "DamageEvents" "True"
    Option "RegistryDwords" "PerfLevelSrc=0x3333"
    Option "RegistryDwords" "PowerMizerLevelAC=0x3"
    Option "OnDemandVBlankInterrupts" "True"
    Option "Coolbits" "1"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Card0"
    Monitor "Monitor0"
    SubSection "Display"
    Viewport 0 0
    Depth 1
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 4
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 8
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 15
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 16
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 24
    EndSubSection
    EndSection
    Section "Extensions"
    Option "DAMAGE" "Enable"
    Option "Composite" "Enable"
    Option "RENDER" "Enable"
    EndSection
    Greetings to you all from Zagreb (Croatia)

    The thing is I don't have any problem when I'm working in front of computer, only when using remote sessions (like NX, VNC, etc.).
    I can install additions, but I can't select 3D acceleration checkbox (it is disabled - grayed out) in Virtualbox, or use any graphic hardware advanced feature on computer when I'm using remote session, but it's enabled when using local session.
    Even when I try (when connected over NX) commands like glxinfo | grep render
    it says something like "not using direct rendering", looks like it's not even using nvidia driver, output show mesa driver is in use?
    Could it be something with remote access, remote access rights or something like that?
    During installations was following mostly tutorials from Arch Wiki.
    Maybe I missconfigured something, or didn't configured at all?

  • I am trying to install final cut pro 6 onto my mac but a message keeps coming up saying its doesnt support a powerpc, anyone have any tips please?

    I am trying to install final cut pro 6 onto my mac but a message keeps coming up saying its doesnt support a powerpc, anyone have any tips please?

    If you have an Intel Mac and have recently upgraded to Lion or Mountain Lion; here is a post I made in another similar thread:
    I do not have any experience with Final Cut, but if you have existing projects that you MUST access; then you are in need of a solution on your new iMac in Mountain Lion!
    Unfortunately you got caught up in the minor miracle of Rosetta.  Originally licensed by Apple when it migrated from the PowerPC CPU platform that it had used from the mid-1990's until the Intel CPU platform in 2006, Rosetta allowed Mac users to continue to use their library of PPC software transparently in emulation.
    However, Apple's license to continue to use this technology expired with new releases of OS X commencing with Lion (and now Mountain Lion).  While educational efforts have been made over the last 6 years, the fact is that Rosetta was SO successful that many users were caught unaware UNTIL they upgraded to Lion or Mountain Lion.
    Workarounds:
    1. If your Mac will support it, restore OS X Snow Leopard;
    2.  If your Mac will support it, partition your hard drive or add an external hard drive and install Snow Leopard into it and use the "dual-boot" method to choose between Final Cut Pro or Lion/Mt. Lion;
    3.  Purchase a used Mac that will run Snow Leopard (with the optional Rosetta installed) and continue to run FCE on that Mac (you can actually use Screen Sharing with a "headless" used Snow Leopard Mac Mini and use the screen from your other Mac to view and work FCP in the Mac Mini environment);
    2.  Upgrade to an Intel compatible version of FCP (such as FCP X) and hope it converts your existing projects to its newer format correctly.  There is much debate that the newer version of Final Cut are eliminating many needed features; for example Final Cut Pro X vs. Final Cut Pro 6 -- many users are staying with version 6;
    3.  Install Snow Leopard (with Rosetta) into Parallels and then install FCE in the Snow Leopard environment:
                                  [click on image to enlarge]
    Full Snow Leopard installation instructions here:
    http://forums.macrumors.com/showthread.php?t=1365439
    NOTE: STEP ONE of the instructions must currently be completed on a Snow Leopard or Lion Mac and the resulting modified Snow Leopard.cdr install file can then be moved over to your Mountain Lion Mac for completion of the remaining steps.
    NOTE 2:  Computer games with complex, 3D or fast motion graphics make not work well or at all in virtualization.

  • A short and fundamental question: Java3D in headless mode

    To begin I would like to introduce myself as a complete Java3D newbie.
    What I would like to accomplish is to produce an application which, in headless mode, will read in data and generate 3d images as files, without ever making any GUI components to appear on the screen.
    Is this possible?
    Thanks!

    When you say "unix doesn't have Arial" you obviously aren't using Solaris where Arial most certainly
    ships and is in fact the main font used to support dialog & sanserif.
    There are numerous APIs to calculate the width of a string in pixels, depending on whether
    you want the integer metrics, fp metrics , logical bounds, pixel bounds (which guarantees to enclose
    every pixel if you correctly specify the graphics/FRC)
    Every single one of these works in headless mode.
    Even the most simple-minded FontMetrics.stringWidth(String) call should be good enough
    for your requirements.
    The error you show looks like you have a misconfigured environment.. It can't find
    the correct implementation class of GraphicsEnvironment which is nothing to do with
    fonts. Moreover this DOES work for me :
    import java.awt.*;
    public class Arial {
    public static void main(String args[]) {
    Font arial = new Font("Arial", Font.PLAIN, 10);
    System.out.println(arial);
    % java -version
    java version "1.4.2_01"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_01-b06)
    Java HotSpot(TM) Client VM (build 1.4.2_01-b06, mixed mode)
    % java -Djava.awt.headless=true Arial
    java.awt.Font[family=Arial,name=Arial,style=plain,size=10]
    QED.
    -Phil.

  • Measuring string bounds in headless mode on a server?

    I have a problem with calculating screen string width for the browser client.
    I'm outputting a stream of content type application/vnd.ms-excel and sending back an XML spreadsheet. (No complaints about using Mc$oft products, it's what's needed!)
    Excel does not autosize columns which contain string data, so the text columns are the standard Excel width, and the text is wrapped onto about 7 lines. See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnexcl2k2/html/odc_xmlss.asp for details of the XML format.
    Excel does allow you to specify the with of a column in points, so I was using the awt Font classes to calculate the string bounds in pixels. I explicitly set the resolution to be used to 72dpi by creating a FontRenderContext with an AffineTransform with a scaling factor of (1.0, 1.0), so that asking the pixel width, gets the point width.
    This worked fine testing it on my windoze machine, but on the Unix server, it's obviously running in headless mode, and anyway, it doesn't have the Arial font which I'm specifying in my spreadsheet as the font to use.
    Is there any way of calculating the width of a string in points knowing its font and the point size of the font? You shouldn't need a graphcs environment, just the font information. I have all the .TTF files, I could copy them to the Unix machine if Java could use them and do the calculation.
    I hate leaving the user interface looking so shoddy with wrong sized columns!
    It SHOULD have worked in a headless environment according to http://java.sun.com/j2se/1.4.2/docs/guide/awt/AWTChanges.html#headless and we are on version 1.4.2_01. It actually blew up in awt code:
    java.lang.NoClassDefFoundError
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:141)
         at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
         at java.awt.Font.initializeFont(Font.java:308)
         at java.awt.Font.<init>(Font.java:344)That's when I'm trying to instantiate a new Font("Arial", Font.PLAIN, 10);I've looked at the FOP project wondering whether that has a solution but it's a huge, confusing thing. There must be a way. Can anyone help?

    When you say "unix doesn't have Arial" you obviously aren't using Solaris where Arial most certainly
    ships and is in fact the main font used to support dialog & sanserif.
    There are numerous APIs to calculate the width of a string in pixels, depending on whether
    you want the integer metrics, fp metrics , logical bounds, pixel bounds (which guarantees to enclose
    every pixel if you correctly specify the graphics/FRC)
    Every single one of these works in headless mode.
    Even the most simple-minded FontMetrics.stringWidth(String) call should be good enough
    for your requirements.
    The error you show looks like you have a misconfigured environment.. It can't find
    the correct implementation class of GraphicsEnvironment which is nothing to do with
    fonts. Moreover this DOES work for me :
    import java.awt.*;
    public class Arial {
    public static void main(String args[]) {
    Font arial = new Font("Arial", Font.PLAIN, 10);
    System.out.println(arial);
    % java -version
    java version "1.4.2_01"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_01-b06)
    Java HotSpot(TM) Client VM (build 1.4.2_01-b06, mixed mode)
    % java -Djava.awt.headless=true Arial
    java.awt.Font[family=Arial,name=Arial,style=plain,size=10]
    QED.
    -Phil.

  • Run iTunes on a headless server

    I am wanting to run iTunes as a Music server on a headless server without an audio card. I have installed it copied over my entire library and turned on Homesharing. It works awesome with my Apple TV and any other iTunes computer but there is one problem. Since this is a Homeserver box (HP EX495) there isn't an audio card so every time I launch iTunes it first says there isn't a audio device. I push OK and everything works. I want to enable autologin and put iTunes in the start menu so I never have to remote into the box to push ok. Is there a command line switch with iTunes to not check on Audio/Video hardware?

    I finally found help for setting up itunes on startup with no sound card. This worked for my HP Smartmedia server so it may work for you as well.
    Copied from another forum (Mediasmartserver)
    Step 1: Remove iTunes
    Remove any install of iTunes form the server by logging in using RDC (Remember: Administrator, servername /console or /admin), After iTunes uninstall, go to Add/Remove Programs from Control Panel and also uninstall the following:
    "Apple Application Support", "Bonjour", " Apple Software Update" and "QuickTime" (don't worry if some are not there to uninstall)
    Now restart the server.
    Step 2: iTunes Service Errors
    Dial back into the server using RDC, Download the latest version of iTunes installer (32bit) from Apple, Run the installer, when the installer gets to "running services" it will hang for a bit then a error message will pop up regarding "ipodservice failed to start", Click IGNORE and the iTunes install will complete.
    After install has completed you may get several windows error messages regarding "iPodservice 32bit" and, or "iTunesHelper" simply keep clicking "Don't Send" until the messages stop appearing.
    Now disable iTunesHelper and the iPodService. Do this by:
    iPodService:
    Start > Run > type msconfig > Services Tab > Uncheck iPodService.
    iTunesHelper:
    Startup Tab > Uncheck iTunesHelper (you should also uncheck "Logon Warning" also to stop the annoying popup warning every time you login using RDC)
    Apply Changes, Click Restart LATER.
    Step 3: Add iTunes to the DEP list
    Now you need to add iTunes components to the DEP exempt list. Do this by:
    While in your server desktop using RDC,
    Right click "My Computer" > Properties > Advanced Tab > Under Performance section click Settings > Data Execution Prevention tab >Ensure "Turn on DEP for all programs and services except those I select" is selected > Click ADD > Add "iTunes.exe", "iTunesHelper.exe", "iPodService.exe", "iTunesPhotoProcessor.exe"
    you will find iTunes.exe, iTunesHelper.exe and iTunesPhotoProcessor.exe at C:/Program Files/iTunes/ (default location)
    you will find iPodService.exe at C:/Program Files/iPod/bin/ (default location)
    Restart the Server.
    You may think why not just select "Turn on DEP for essential windows programs and services only" I thought the same but I can ensure you, you will run into issues if you do this!
    Step 4: Audio Configuration Error
    Login in using RDC, you should hopefully not see any iTunes/iPod related error messages when logging into Windows. If you do check your DEP list to ensure all of the above are on there, OR you could try disabling Windows Error Reporting:
    Right click "My Computer" > Properties > Advanced Tab > Error Reporting > Disable Error Reporting.
    Launch iTunes, You will notice you get a " iTunes had detected a Audio Configuration Error" Click OK, iTunes will launch. Close iTunes
    this happens because the server has no Audio Hardware, You need to install a "virtual audio cable" Download the following free program:
    http://www.softpile.com/Multimedia/Audio/Review13135index.html(this is the virtual audio cable)
    Now disconnect from the Server by closing RDC connection
    Now for this to work you must change a setting in the RDC program: Sound output MUST be selected to: "from the windows based computer only" (RDC for Mac) or "leave at remote computer" (Windows RDC) you need to do this for the Virtual Audio Cable to install correctly on the server. Log back in using RDC and run the Virtual Audio Cable setup file. Now start iTunes, you should not see any Audio configuration error messages.
    If you do,
    close iTunes, go to: Start > Control Panel > Quick Time > Audio Tab > Select "Direct Sound" > Apply settings and close > Try iTunes again.
    If you still have a issue make sure you changed the sound option in RDC correctly or try a restart of the server.
    This should now mean iTunes can start without any user input.
    You should also add your iOS remote device now if you are going to be using one.
    Step 5: iTunes auto launch on startup
    Now that iTunes is free of errors, we need to make it auto start up when your server starts without needing to login into your server via RDC every time to start iTunes.
    Simply add iTunes to the Start up folder, by either dragging the desktop shortcut to the start menu > all programs > and drop it into the startup folder OR place the iTunes shortcut into C:\Documents and Settings\Administrator\Start Menu\Programs\Startup\
    Now to make the Administrator console login automatically on Windows start up, To do this you need to edit the registry of windows, Don't be afraid its simple and easy!
    Start > Run > type regedit.exe > HKEYLOCALMACHINE > SOFTWARE > Microsoft > Windows NT >CurrentVersion > Winlogon
    Double-click the DefaultUserName entry, type Administrator, and then click OK.
    Double-click the DefaultPassword entry, type your password, and then click OK.
    NOTE: If the DefaultPassword value does not exist, it must be added. To add the value, follow these steps:
    On the Edit menu, click New, and then point to String Value.
    Type DefaultPassword, and then press ENTER.
    Double-click DefaultPassword.
    In the Edit String dialog, type your password and then click OK.
    Now Double-click AutoAdminLogon entry
    In the Edit String dialog box, type 1 and then click OK. (delete the zero (0) if there is one)
    Quit Registry Editor.
    As a nice touch (you don't have to do this)but if your like me, when logging in using RDC you see iTunes open, really you want it to startup minimized to the tray right? Yes! Do so by downloading and installing iTunes Control onto your server, its a free program.
    You can get iTunes Control form here:
    http://itunescontrol.com/download.php
    Once installed, open iTunesControl > Startup & Shutdown > Select Minimize iTunes on Startup > Apply setting and close.
    Also in iTunes go to: Edit > Preferences >Advanced > Select "Show iTunes icon in system tray" and also select "Minimize iTunes window to system tray"
    Your Done! if you restart the server it should automatically launch iTunes without ANY user input, easy way to check is by using a iOS device remote app to see if it connects after a server restart. or by using your apple tv to confirm iTunes is running. If you are streaming to a AirPort Express make sure it is selected as the speaker output from iTunes or via Remote App.

Maybe you are looking for