Application Server cannot render arrow line style?

I am using MapBuilder(10.1.3.1) to create a line style with arrow. It rended perfect in MapBuilder.
The xml style is below:
<?xml version="1.0" standalone="yes"?>
<svg width="1in" height="1in">
<desc/>
<g class="line" style="fill:#000000;stroke-width:2.0;marker-name:M.LEFTARROW;marker-position:0.0;marker-size:15">
<line class="base"/>
</g>
</svg>
Then I apply this style to my themeBasedFOI, add to MapView and then deploy to Application Server(10.1.3).
var mapView;
function showMap() {
mapView = new MVMapView(document.getElementById("map"), baseURL);
var basemap = new MVBaseMap("bbui.CENTRAL");
//Add a base map layer as background.
mapView.addBaseMapLayer(basemap);
//Set the initial map center and zoom level
mapView.setCenter(MVSdoGeometry.createPoint(mapCenterLon,mapCenterLat,8307));
mapView.setZoomLevel(mapZoomLevel);
//Add a scale bar
mapView.addScaleBar();
//Add a navigation panel on the top-left side of the map
mapView.addNavigationPanel('west',true,false,false);
//Add a copy right
mapView.addCopyRightNote("@2008 powered by Delcan");
//Add an overview map as a collapsible element inside the main map
ovcontainer = new MVMapDecoration(null,null,null,200,150) ;
ovcontainer.setCollapsible(true);
mapView.addMapDecoration(ovcontainer);
var over=new MVOverviewMap(ovcontainer.getContainerDiv(),3);
mapView.addOverviewMap(over);
//Add theme base FOIs
addThemeBasedFOIs();
//Display map
mapView.display();
//Add Map Viewer Event Listener
mapView.addEventListener("mouse_click", mouseClick);
mapView.addEventListener("nouse_right_click", rightClick);
function addThemeBasedFOIs(){
var travelTimeFOI = new MVThemeBasedFOI("travelTimeFOI","bbui.TRAVEL_TIME");
travelTimeFOI.enableInfoTip(true);
mapView.addThemeBasedFOI(travelTimeFOI);
when I browser my map, I got a popup error:
Cannot process the following responde from FOI server:
<?xml version="1.0" encoding="UTF-8"?><oms_error>[Foi Server]foi process error: null</oms_error>
Then I am going to Application Server Log, and find the following exception:
08/11/11 10:45:58 INFO [oracle.sdovis.CacheMgr2] Creating/replacing a geometry cache group: sdovis_subreg_spatial_jdbc:oracle:thin:@10.10.10.9:1521:bbui : TRAVEL_TIME_GEOMETRY_PDT_GEOM.
08/11/11 10:45:58 ERROR [oracle.lbs.foi.FOIServlet] java.lang.NegativeArraySizeException
     at oracle.lbs.foi.foiUtil.calculateHtmlLineArea(foiUtil.java:306)
     at oracle.lbs.foi.foiUtil.getLineStringAreaStr(foiUtil.java:1096)
     at oracle.lbs.foi.FOIServer.getHTMLMapString(FOIServer.java:855)
     at oracle.lbs.foi.FOIServer.renderFOILayer(FOIServer.java:555)
     at oracle.lbs.foi.FOIServlet.doPost(FOIServlet.java:178)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
     at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
     at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
     at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
     at java.lang.Thread.run(Thread.java:595)
08/11/11 10:45:58 ERROR [oracle.lbs.foi.FOIServlet] [Foi Server] foi process error.
I will appreciate if you figure out what's wrong?
Best Regards,
Joyce

I am using MapBuilder(10.1.3.1) to create a line style with arrow. It rended perfect in MapBuilder.
The xml style is below:
<?xml version="1.0" standalone="yes"?>
<svg width="1in" height="1in">
<desc/>
<g class="line" style="fill:#000000;stroke-width:2.0;marker-name:M.LEFTARROW;marker-position:0.0;marker-size:15">
<line class="base"/>
</g>
</svg>
Then I apply this style to my themeBasedFOI, add to MapView and then deploy to Application Server(10.1.3).
var mapView;
function showMap() {
mapView = new MVMapView(document.getElementById("map"), baseURL);
var basemap = new MVBaseMap("bbui.CENTRAL");
//Add a base map layer as background.
mapView.addBaseMapLayer(basemap);
//Set the initial map center and zoom level
mapView.setCenter(MVSdoGeometry.createPoint(mapCenterLon,mapCenterLat,8307));
mapView.setZoomLevel(mapZoomLevel);
//Add a scale bar
mapView.addScaleBar();
//Add a navigation panel on the top-left side of the map
mapView.addNavigationPanel('west',true,false,false);
//Add a copy right
mapView.addCopyRightNote("@2008 powered by Delcan");
//Add an overview map as a collapsible element inside the main map
ovcontainer = new MVMapDecoration(null,null,null,200,150) ;
ovcontainer.setCollapsible(true);
mapView.addMapDecoration(ovcontainer);
var over=new MVOverviewMap(ovcontainer.getContainerDiv(),3);
mapView.addOverviewMap(over);
//Add theme base FOIs
addThemeBasedFOIs();
//Display map
mapView.display();
//Add Map Viewer Event Listener
mapView.addEventListener("mouse_click", mouseClick);
mapView.addEventListener("nouse_right_click", rightClick);
function addThemeBasedFOIs(){
var travelTimeFOI = new MVThemeBasedFOI("travelTimeFOI","bbui.TRAVEL_TIME");
travelTimeFOI.enableInfoTip(true);
mapView.addThemeBasedFOI(travelTimeFOI);
when I browser my map, I got a popup error:
Cannot process the following responde from FOI server:
<?xml version="1.0" encoding="UTF-8"?><oms_error>[Foi Server]foi process error: null</oms_error>
Then I am going to Application Server Log, and find the following exception:
08/11/11 10:45:58 INFO [oracle.sdovis.CacheMgr2] Creating/replacing a geometry cache group: sdovis_subreg_spatial_jdbc:oracle:thin:@10.10.10.9:1521:bbui : TRAVEL_TIME_GEOMETRY_PDT_GEOM.
08/11/11 10:45:58 ERROR [oracle.lbs.foi.FOIServlet] java.lang.NegativeArraySizeException
     at oracle.lbs.foi.foiUtil.calculateHtmlLineArea(foiUtil.java:306)
     at oracle.lbs.foi.foiUtil.getLineStringAreaStr(foiUtil.java:1096)
     at oracle.lbs.foi.FOIServer.getHTMLMapString(FOIServer.java:855)
     at oracle.lbs.foi.FOIServer.renderFOILayer(FOIServer.java:555)
     at oracle.lbs.foi.FOIServlet.doPost(FOIServlet.java:178)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
     at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
     at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
     at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
     at java.lang.Thread.run(Thread.java:595)
08/11/11 10:45:58 ERROR [oracle.lbs.foi.FOIServlet] [Foi Server] foi process error.
I will appreciate if you figure out what's wrong?
Best Regards,
Joyce

Similar Messages

  • ColdFusion 11 Application Server 3284 | ColdFusion 11 Application Server cannot be found...

    Trying to roll this server into production but keep having errors popup on Event Viewer:
    After dealing with the issue of not being able to restart the CF service and applying the hf1100-3776060.jar hotfix - I continue to receive the following error
    ====================
    The description for Event ID 3 from source ColdFusion 11 Application Server cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    ColdFusion 11 Application Server
    3284
    the message resource is present but the message is not found in the string/message table
    =====================
    Any help will be greatly appreciated!
    Thank you!

    Hi Car, there were no errors registered by ColdFusion under the CF11\cfusion\logs coldfusion-error log but the error below continues to show during CF Application stop-start services.
    Anit Kumar Panda - followed the steps and was able to restart all services. during that time i received the following error on eventvwr.msc
    ======================
    The description for Event ID 3 from source ColdFusion 11 Application Server cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    ColdFusion 11 Application Server
    4140
    the message resource is present but the message is not found in the string/message table
    ======================
    Thank you, very much, for all your assistance!

  • SOA 10.1.3.3 Application server cannot use db 11.1.0.6.0 for orabpel user

    RDBMS Version: 11.1.0.6.0
    Operating System and Version: win 2000 sp4
    Error Number (if applicable):
    Product (i.e. SQL*Loader, Import, etc.): SOA Suite Application Server 10grel3
    Product Version: 10.1.3.3
    SOA 10.1.3.3 Application server cannot use db 11.1.0.6.0
    For testing purposes I would like to setup a new system with Oracle Aopplication Server 10g rel 3 (10.1.3.3) Soa suite on top of an already installed Oracle Database 11.g (11.1.0.6.0)
    Database 11g was installed on the server
    During installation of the Application server 10g3(Full install) a database is needed (for orabpel schema etc), but the installer checks if the version of the database is higher than 9i2 . This check fails and installation cannot continue. I think this is because the check is not really if it is higher than 9i but it is looking for a predefined range of versions from V$VERSION and 11 is not within that range
    Is there a possibility to overcome this? This is not a prerequisite check from OUI, but another check later on during install
    I know that 11g is not certified yet for AS1og3, but this is a development environment to practice with the new releases.

    I know that 11g is not certified yet for AS1og3, but
    this is a development environment to practice with
    the new releases.If the combination is not certified, it's not much of a development platform, right?

  • Why are we getting 'Coldfusion 10 application server cannot be found'?

    Our ColdFusion 10 Application Server would not start. It was running fine since server inception back in July until I got back to the office from vacation yesterday. Looking at the Event Viewer 'application' log, it's showing the following message:
    "The description for Event ID 259 from source ColdFusion 10 Application Server cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event: ColdFusion 10 Application Server."
    I thought that the issue was caused by Hotfix 14. So I manually removed the hotfix and rebooted the server couple of times. However, ColdFusion still wouldn't start. Has anyone came across this issue before? I look forward to your response. Thanks.
    Best regards,
    Chung Lee

    Hello Carl V.,
    Thank you for you reply. I digged through the coldfusion-error.log and the exception.log and came across errors that were last generated on 12/17/2014. On the exception.log, it's showing the following:
    "Error","Thread-17","12/17/14","15:15:54",,"Could not initialize class java.awt.Toolkit"
    java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit
        at java.awt.Component.<clinit>(Unknown Source)
        at coldfusion.document.JPedalFontRegistry.init(JPedalFontRegistry.java:40)
        at coldfusion.document.DocumentServiceImpl.initializeDocumentService(DocumentServiceImpl.jav a:211)
        at coldfusion.document.DocumentServiceImpl.access$000(DocumentServiceImpl.java:52)
        at coldfusion.document.DocumentServiceImpl$1.run(DocumentServiceImpl.java:180)
    "Error","localhost-startStop-1","12/17/14","15:15:55",,"Unable to initialise JAI service: java.lang.NoClassDefFoundError: java.awt.Toolkit"
    java.lang.NoClassDefFoundError: java.awt.Toolkit
        at sun.awt.AppContext$2.run(Unknown Source)
        at sun.awt.AppContext$2.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.awt.AppContext.initMainAppContext(Unknown Source)
        at sun.awt.AppContext.access$200(Unknown Source)
        at sun.awt.AppContext$3.run(Unknown Source)
        at sun.awt.AppContext$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.awt.AppContext.getAppContext(Unknown Source)
        at javax.imageio.spi.IIORegistry.getDefaultInstance(Unknown Source)
        at coldfusion.server.CFService.setupImageProviders(CFService.java:707)
        at coldfusion.server.CFService.start(CFService.java:690)
        at coldfusion.server.j2ee.CFStartUpServlet.startCFService(CFStartUpServlet.java:110)
        at coldfusion.server.j2ee.CFStartUpServlet.init(CFStartUpServlet.java:86)
        at javax.servlet.GenericServlet.init(GenericServlet.java:158)
        at coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:121)
        at coldfusion.bootstrap.BootstrapServlet.init(BootstrapServlet.java:59)
        at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5210)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5493)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
        at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

  • Application Server cannot start after restart

    Dear all,
    I have a database cluster with SAP CI running on 2 servers(on SAN), plus 4 applications.
    Today we have restarted all the servers, and found that only 1 server with database server and application server (w/CI) can start.  All other applications servers cannot start, and in SAP Management Console, it does not show the SAP Instance.
    Another problem is that the database cluster cannot move to another server, with error:
    "initerrlog: Could not open error log file 'M:\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG'. Operating system error = 3(The system cannot find the path specified.)."
    Can anyone provide any assistant?  Many thanks!
    Regards,
    Daniel

    Hi Yaroslav,
    In Application Server, Not started.
    Log(1):
    The description for Event ID ( 0 ) in Source ( SAP???_?? ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: SAP Service SAP???_?? has been stopped successfully..
    Log(2):
    The description for Event ID ( 0 ) in Source ( SAP???_?? ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Initialization failed. Service not started. [ntservmain.cpp 1269].
    Log(3):
    The description for Event ID ( 0 ) in Source ( SAP???_?? ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Cannot open Profile
    sapgrp\sapmnt\PRD\SYS\profile\START_D21_sapapp1. (Error 53 ERROR_BAD_NETPATH: The network path was not found. ) [ntservstart.cpp 902].
    For SQL Server(The one which Cluster cannot move group to):
    Log(1):
    The description for Event ID ( 35712 ) in Source ( SAPPRD_01 ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event:  ,  ,  ,  ,  ,  ,  ,  ,  ,  , r, e, c, v, 1, 0, 0, 5, 4,  ,  ,  ,  ,  ,  ,  ,  ,  ,  ,  ,  ,  ,  ,  ,  ,  ,  ,  , N, i, I, R, e, a, d, r, e, c, v,  ,  ,  , n, i, x, x, i, ., c, p, 4, 2, 4, 5, , , , , , , , , , , , , , , , , , , , , , , , , , ,           recv10054                   NiIReadrecv   nixxi.cp4245.
    Log(2):
    The description for Event ID ( 0 ) in Source ( SAP???_?? ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: SAP Service SAP???_?? has been stopped successfully..
    Log(3):
    The description for Event ID ( 0 ) in Source ( SAP???_?? ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Initialization failed. Service not started. [ntservmain.cpp 1269].
    Log(4):
    The description for Event ID ( 0 ) in Source ( SAP???_?? ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Cannot open Profile
    sapgrp\sapmnt\PRD\SYS\profile\START_D20_sapdb2. (Error 53 ERROR_BAD_NETPATH: The network path was not found. ) [ntservstart.cpp 902].
    Regards,
    Daniel

  • Application server cannot log onto the database with user PS.

    Hello,
    First of all, my setup is:
    Microsoft Windows Server 2003
    Oracle database 10g Rel. 2
    Peopletools 8.49
    HRMS 9.0
    I am trying to boot the application server, but the operation fails with the error message:
    PSAPPSRV.5796 (0) [08/27/09 10:29:41](1) GenMessageBox(0, 0, M): Database Signon: Invalid user ID or password for database signon. (id=PS)
    I am able to sign on to the database with sqlplus and user PS.
    Here is my config settings as shown on the psadmin screen:
    Features Settings
    ========== ==========
    1) Pub/Sub Servers : No 15) DBNAME :[hrdmo]
    2) Quick Server : No 16) DBTYPE :[ORACLE]
    3) Query Servers : No 17) UserId :[PS]
    4) Jolt : Yes 18) UserPswd :[PS]
    5) Jolt Relay : No 19) DomainID :[TESTSERV]
    6) WSL : Yes 20) AddToPATH :[C:\oracle\product\10.2.0\database\bin]
    7) PC Debugger : No 21) ConnectID :[people]
    8) Event Notification: Yes 22) ConnectPswd:[peop1e]
    9) MCF Servers : No 23) ServerName :[appserver]
    10) Perf Collator : No 24) WSL Port :[7000]
    11) Analytic Servers : Yes 25) JSL Port :[9000]
    12) Domains Gateway : No 26) JRAD Port :[9100]
    Here is the appsrv.log:
    PSADMIN.2336 (0) [08/27/09 10:29:29](0) Begin boot attempt on domain hrdmo
    PSWATCHSRV.5480 (0) [08/27/09 10:29:38] Checking process status every 120 seconds
    PSWATCHSRV.5480 (0) [08/27/09 10:29:38] Server started
    PSAPPSRV.5796 (0) [08/27/09 10:29:40](0) PeopleTools Release 8.49 (WinX86) starting
    PSAPPSRV.5796 (0) [08/27/09 10:29:40](0) Cache Directory being used: C:\oracle\product\PT8.49\appserv\hrdmo\CACHE\PSAPPS
    RV_2\
    PSAPPSRV.5796 (0) [08/27/09 10:29:41](1) GenMessageBox(0, 0, M): Database Signon: Invalid user ID or password for databa
    se signon. (id=PS)
    PSAPPSRV.5796 (0) [08/27/09 10:29:41](0) Server failed to start
    PSWATCHSRV.5480 (0) [08/27/09 10:29:42] Shutting down
    PSADMIN.2336 (0) [08/27/09 10:29:48](0) End boot attempt on domain hrdmo
    As I said, despite the error message, I am able to log on to the database with sqlplus with user PS password PS.
    Could someone please help me with this problem? Thanks.

    I installed the database with the setup program and come to think of it, I don't think you can specify whether to create a system or demo database. So I probably didn't install a demo, which is what I wanted. I also ran the SQRs and everything showed the database was correct, so I thought I did it right.
    If I could install a demo with the setup program, I would do that because I think I could run through it pretty quickly having done it once. I've read in this forum and other places that it's much better to install the db manually, so maybe I'll just do that.
    In any case, thanks for all you help Nicolas.

  • Oracle application server cannot open grid

    hi,
    i am using oracle application sever 10g , i am trying to open my grid control but not been able to open it.
    i am giving following url
    http://xxxxx:7777/em
    and getting this on browser
    GIOP[][]
    please tell me what am i doing wrong
    regards

    i am using
    http://xxxx:1810/
    but it shows page cannot display

  • Run procedure in Application Server from the command line

    Hi
    I created a procedure (VARKPI and placed in C:\Program Files\SAP BusinessObjects\Strategy Management\ApplicationServer\home) to call another procedure (VAR_CRE, this is created in the model). Nothing is happening and no error message also.
    This is the code of my VARKPI procedure which i placed in home directory.
    TRACE both 'batchload1.txt'
    SUP KILL CONN TO CPM
    USE CPM EXC
    job VAR_CRE
    trace both off
    exit clear
    My VAR_CRE in CPM model contain very simple queries to create measures.
    Then i went to Run->CMD and to the directory ApllicationServer.Used the below command to run the job
    PASAdmin.exe -j varkpi -u admin -p <pwd>
    I only see that wkadmin file is shown in the Home directory whenever i run the procedure but the measures are not created in the CPM model. What could have been wrong?
    Please suggest.
    Thanks
    Praveen

    Hi Praveen,
    The other thing that you will likely need to do is specify the model that you want the procedure to be executed from unless you want to run it from the default model specified for the user in question.  For example, if you run the job as ADMIN, then that will try and execute the procedure from JUICE by default.  If you want to change this, you need to do something like:
    PASAdmin.exe -u admin -j test;PROCLIB
    or
    PASAdmin.exe -u admin -j test;&USEDATABASE
    which will execute the procedure from your use database.
    However, unless you're making sure you use RETAIN keywords when switching between models, what usually makes much more sense as it avoids issues with model locking which can occur if you're executing the procudure from a model, is to make sure your job is run from an external file.  For example:
    PASAdmin.exe -u admin -j test;ext
    or
    PASAdmin.exe -u admin -j 'test.pro';ext
    Hope this helps,
    Robert

  • How to delete string or line from unix file(dataset) of application server

    Hi  All,
    After transfer workarea information or all records into dataset(unix file). When I see the file in application server automatically the last line is shown a blank line. I am not passing any blank line.
    I have tried for single record than also the file generates the last line(2nd line) also a blank line.
    When I m reading the dataset, it is not reading the last blank line but why it is showing the last blank line?
    How to delete string or line from unix file(dataset) of application server?
    Please give your comments to resolve this.
    Thanks
    Tirumula Rao Chinni

    Hi Rio,
    I faced similar kind of issue working with files on UNIX platform.
    The line is a line feed to remove it use
    DATA : lv_carr_linefd TYPE abap_cr_lf VALUE cl_abap_char_utilities=>cr_lf. 
      DATA : lv_carr_return TYPE char1,                                   
             lv_line_feed   TYPE char1.                                          
      lv_line_feed   = lv_carr_linefd(1).
      lv_carr_return = lv_carr_linefd+1(1).
    Note: IMP: The character in ' ' is not space but is a special
    character set by pressing ALT and +255 simultaneosly
      REPLACE ALL OCCURRENCES OF lv_line_feed IN l_string WITH ' '.
      REPLACE ALL OCCURRENCES OF lv_carr_return IN l_string WITH ' '.

  • New Line in application server  file

    Hi
    I am facing rather a unique problem. I have a report that generates a file and posts it on the application server. When i open the file at the application server it shows me line split ( I mean a new line is introduced in the middle of a row).
    On further investigation I observed that the field after which it split contains a # symbol. Now many files posted on the server contains # but this problem is not observed in any of those files.
    I tried replicating this on quality and dev by adding # at run time in debug mode but the file posted is perfectly fine. I figure it must be some other symbol entirely that we can view as #.
    Please share your thoughts on this.
    Preethi
    Edited by: Preethi B on Feb 8, 2010 2:02 PM

    Hi,
    Am facing similar issue in production environment.
    But in quality am not getting this issue.In debug mode I copied the same line as in the production and its printing as expected (data getting displayed on a single line).
    Can anyone please help me with this??
    Thanks in advance!
    Regards,
    Shaheen.

  • Application server will not start up

    Hello,
    I have read quite a few topics concerning this problem, and have tried many things but without success.
    I am running on Windows XP Pro. The installation goes fine, but when I run a project, the application server cannot start, and I get a message after quite a long time saying that it can't start and to check my port numbers,etc.
    I used to have Sun Java Creator, but I uninstalled it. I tried deleting the \Windows\System32\productregistry file. I tried uninstalling completely and reinstalling in C:\Sun\Creator2, but the problem is still the same. I tried deleting the domain with "asadmin" and recreating it, but I still get the problem.
    I am posting all the relevant information from the logs, hopin someone will be able to help me out....
    C:\Sun\Creator2ea2\install.log
    (Jan 14, 2006 3:34:36 PM), Setup.product.install, com.installshield.wizard.platform.win32.Win32ProductServiceImpl, msg1, installing Files (coreFiles)
    (Jan 14, 2006 3:35:42 PM), Setup.product.install, com.installshield.wizard.platform.win32.Win32ProductServiceImpl, msg1, installing Files (jdkFiles)
    (Jan 14, 2006 3:36:32 PM), Setup.product.install, com.installshield.wizard.platform.win32.Win32ProductServiceImpl, msg1, installing Files (appserverFiles)
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.installshield.wizard.platform.win32.Win32ProductServiceImpl, msg1, installing Install Application Server Action (bean4)
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, #
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, # Wizard Statefile generatd by make_statefile.sh
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, #
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, # Wizard Statefile section for Sun Java System Application Server
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, #
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, [STATE_BEGIN Sun Java System Application Server 42cc62066aa69c151b1093bfcb735f8e112358e8]
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, defaultInstallDirectory = C:\Sun\Creator2ea2\SunAppServer8
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, currentInstallDirectory = C:\Sun\Creator2ea2\SunAppServer8
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, JDK_LOCATION = C:\Sun\Creator2ea2\java
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, INST_ASADMIN_USERNAME = admin
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, INST_ASADMIN_PASSWORD = adminadmin
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, INST_ASADMIN_PORT = 24848
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, INST_ASWEB_PORT = 28080
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, INST_HTTPS_PORT = 21043
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, STORE_ADMIN_AUTH = FALSE
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, ADMIN_PASSWORD_ENCRYPTED = FALSE
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, CREATE_SAMPLES_DOMAIN = FALSE
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, CREATE_DESKTOP_SHORTCUT = FALSE
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, [STATE_DONE Sun Java System Application Server 42cc62066aa69c151b1093bfcb735f8e112358e8]
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, Installing Application Server...
    (Jan 14, 2006 3:37:58 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1,
    Checking available disk space...
    Checking Java(TM) 2 Runtime Environment...
    Extracting installation files...
    Launching Java(TM) 2 Runtime Environment...
    Deleting temporary files...
    "exitcode = 73"
    (Jan 14, 2006 3:37:58 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, Finished
    (Jan 14, 2006 3:37:58 PM), Setup.product.install, com.installshield.wizard.platform.win32.Win32ProductServiceImpl, msg1, installing Post Install Core Action (postInstallCoreAction)
    (Jan 14, 2006 3:40:32 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, The following script has unexpecTed output: "C:\Sun\Creator2ea2\bin\storagebuilder.bat"
    (Jan 14, 2006 3:40:32 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, preparsing C:\Sun\Creator2ea2\rave2.0\core\rowset.jar
    (Jan 14, 2006 3:40:32 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, C:\Temp\mdrstorage\storage
    (Jan 14, 2006 3:40:32 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, ... done
    (Jan 14, 2006 3:40:32 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, preparsing C:\Sun\Creator2ea2\rave2.0\core\sqlx.jar
    <SNIP>
    (Jan 14, 2006 3:41:53 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, The following script has unexpected output: "C:\Sun\Creator2ea2\bin\pe-init-tray.bat"
    (Jan 14, 2006 3:41:53 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, C:\Sun\CREATO~1\\rave2.0\startup\lib\Windows-i386\jdic_0_9.jar
    (Jan 14, 2006 3:41:53 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, C:\Sun\CREATO~1\\rave2.0\startup\lib\Windows-i386\LICENSE.jdic_0_9
    (Jan 14, 2006 3:41:53 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, C:\Sun\CREATO~1\\rave2.0\startup\lib\Windows-i386\tray.dll
    (Jan 14, 2006 3:41:53 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, 3 fichier(s) copi�(s).
    (Jan 14, 2006 3:41:53 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, 1 fichier(s) copi�(s).
    (Jan 14, 2006 3:41:53 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, Avertissements de compilation :
    (Jan 14, 2006 3:41:53 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, line 31: L'attribut 'classname' est � l'ext�rieur de l'�l�ment.
    (Jan 14, 2006 3:45:08 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, The following script has unexpected output: "C:\Sun\Creator2ea2\bin\pe-start.bat"
    (Jan 14, 2006 3:45:08 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, WARNING: The adminpassword option is insecure and should not be used since it can compromise your password.  Please use either the command prompt or the passwordfile option.
    (Jan 14, 2006 3:45:08 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, Domain creator created.
    (Jan 14, 2006 3:45:08 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, Starting Domain creator, please wait.
    (Jan 14, 2006 3:45:08 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, Log redirected to C:\Sun\Creator2ea2\SunAppServer8\domains\creator\logs\server.log.
    (Jan 14, 2006 3:45:08 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, Timeout waiting for domain creator to go to starting state.
    (Jan 14, 2006 3:45:08 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, Avertissements de compilation :
    (Jan 14, 2006 3:45:08 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, line 44: L'attribut 'debug-options' est � l'ext�rieur de l'�l�ment.
    (Jan 14, 2006 3:45:08 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, line 61: L'attribut 'port' est � l'ext�rieur de l'�l�ment.
    (Jan 14, 2006 3:45:08 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, line 72: L'attribut 'port' est � l'ext�rieur de l'�l�ment.
    (Jan 14, 2006 3:45:08 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, line 83: L'attribut 'port' est � l'ext�rieur de l'�l�ment.
    (Jan 14, 2006 3:45:08 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, line 104: L'attribut 'port' est � l'ext�rieur de l'�l�ment.
    (Jan 14, 2006 3:45:08 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, line 115: L'attribut 'port' est � l'ext�rieur de l'�l�ment.
    (Jan 14, 2006 3:45:08 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, line 126: L'attribut 'port' est � l'ext�rieur de l'�l�ment.
    (Jan 14, 2006 3:45:08 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, line 144: L'attribut 'port' est � l'ext�rieur de l'�l�ment.
    (Jan 14, 2006 3:45:08 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, line 155: L'attribut 'port' est � l'ext�rieur de l'�l�ment.
    (Jan 14, 2006 3:45:08 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, CLI156 Could not start the domain creator.
    (Jan 14, 2006 3:45:41 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, The following script has unexpected output: "C:\Sun\Creator2ea2\bin\deploy-ejbs.bat"
    (Jan 14, 2006 3:45:41 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, WARNING: The password option is insecure and should not be used since it can compromise your password.  Please use either the command prompt or the passwordfile option.
    (Jan 14, 2006 3:45:41 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.
    etc.
    etc.
    Hope I haven't drowned you with this log....
    Thanks,
    Raphael

    Here's a bit more information : the output of the C:\Sun\Creator2ea2\SunAppServer8\domains\creator\logs\server.log file :
    [#|2006-01-14T15:42:08.188+0100|WARNING|sun-appserver-pe8.1_02|javax.enterprise.tools.launcher|_ThreadID=10;|LAUNCHER005:Spaces in your PATH have been detected. The PATH must be consistently formated (e.g. C:\Program Files\Java\jdk1.5.0\bin; ) or the Appserver may not be able to start and/or stop.  Mixed quoted spaces in your PATH can cause problems, so the launcher will remove all double quotes before invoking the process. The most reliable solution would be to remove all spaces from your path before starting the Appservers components.  |#]
    [#|2006-01-14T15:42:08.198+0100|INFO|sun-appserver-pe8.1_02|javax.enterprise.tools.launcher|_ThreadID=10;|
    C:/Sun/Creator2ea2/java\bin\java
    -client
    -XX:PermSize=32m
    -XX:MaxPermSize=128m
    -XX:+CMSPermGenSweepingEnabled
    -Xmx512m
    -XX:NewRatio=2
    -Dcom.sun.aas.defaultLogFile=C:/Sun/Creator2ea2/SunAppServer8/domains/creator/logs/server.log
    -Djava.endorsed.dirs=C:/Sun/Creator2ea2/SunAppServer8/lib/endorsed
    -Djava.security.policy=C:/Sun/Creator2ea2/SunAppServer8/domains/creator/config/server.policy
    -Djava.security.auth.login.config=C:/Sun/Creator2ea2/SunAppServer8/domains/creator/config/login.conf
    -Dsun.rmi.dgc.server.gcInterval=3600000
    -Dsun.rmi.dgc.client.gcInterval=3600000
    -Djavax.net.ssl.keyStore=C:/Sun/Creator2ea2/SunAppServer8/domains/creator/config/keystore.jks
    -Djavax.net.ssl.trustStore=C:/Sun/Creator2ea2/SunAppServer8/domains/creator/config/cacerts.jks
    -Djava.ext.dirs=C:/Sun/Creator2ea2/java/jre/lib/ext;C:/Sun/Creator2ea2/SunAppServer8/domains/creator/lib/ext
    -Djdbc.drivers=com.pointbase.jdbc.jdbcUniversalDriver
    -Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
    -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
    -Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
    -Dcom.sun.enterprise.taglisteners=jsf-impl.jar
    -Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
    -Dcom.sun.aas.configName=server-config
    -Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter
    -Ddomain.name=creator
    -Djmx.invoke.getters=true
    -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
    -Dcom.sun.aas.promptForIdentity=true
    -Dorg.xml.sax.driver=com.sun.org.apache.xerces.internal.parsers.SAXParser
    -Dcom.sun.aas.instanceRoot=C:/Sun/Creator2ea2/SunAppServer8/domains/creator
    -Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
    -Dcom.sun.aas.domainName=creator
    -Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
    -Dproduct.name=Sun-Java-System/Application-Server
    -Dcom.sun.enterprise.overrideablejavaxpackages=javax.faces,javax.servlet.jsp.jstl,javax.xml.bind,javax.help
    -Dcom.sun.aas.configRoot=C:/Sun/Creator2ea2/SunAppServer8/config
    -Djava.library.path=C:\Sun\Creator2ea2\java\jre\bin\client;C:\Sun\Creator2ea2\SunAppServer8\lib;C:\Sun\Creator2ea2\SunAppServer8\lib;C:\Sun\Creator2ea2\java\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Sun\Creator2ea2\SunAppServer8\lib;C:\Sun\Creator2ea2\SunAppServer8\bin;C:\Sun\Creator2ea2\SunAppServer8\lib;C:\Sun\Creator2ea2\SunAppServer8\bin;C:\Sun\Creator2ea2\SunAppServer8\bin;C:\Sun\Creator2ea2\SunAppServer8\bin;C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\;C:\Program Files\Borland\BDS\4.0\Bin;C:\PROGRA~1\Borland\CBUILD~3\Bin;C:\PROGRA~1\Borland\CBUILD~3\Projects\Bpl;C:\Oracle\OraHomeAPISOFT\bin;C:\Program Files\Oracle\jre\1.1.7\bin;C:\Program Files\Borland\Delphi7\Bin;C:\Program Files\Borland\Delphi7\Projects\Bpl\;C:\PROGRA~1\Borland\CBUILDER5\Projects\Bpl;C:\PROGRA~1\Borland\CBUILDER3\bin;C:\PROGRA~1\Borland\CBUILDER5\bin;C:\PROGRA~1\Borland\CBUILDER\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\WinSCP3\;C:\Program Files\Fichiers communs\GTK\2.0\bin;C:\Tools;C:\Program Files\vPoint_XP;C:\Program Files\Sybase\SQL Anywhere 9\win32;C:\Program Files\Sybase\Shared\win32;C:\Program Files\Sybase\SQL Anywhere 9\drivers;C:\Program Files\Sybase\Shared\Sybase Central 4.3\win32;C:\SuperWabaSDK\SuperWabaSDK\bin;C:\Java\Ant\bin\;c:\JbuilderX\jdk1.4\bin;C:\Java\SuperWabaSDK\qrfSQL\win32;C:\Java\SuperWabaSDK\WExtLib\jni\VC\Release;C:\Java\FirebirdSQL\jaybird.dll;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\SOTI\MobiControl;;C:\Documents and Settings\Microtec\Mes documents\Borland Studio Projects\Bpl;C:\PROGRA~1\FICHIE~1\ORACLE\BIN
    -Dcom.sun.aas.instanceName=server
    -Dcom.sun.aas.processLauncher=SE
    -cp
    C:/Sun/Creator2ea2/java/lib/tools.jar;C:/Sun/Creator2ea2/SunAppServer8/lib/appserv-rt.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\activation.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\admin-cli.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\appserv-admin.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\appserv-cmp.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\appserv-env.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\appserv-ext.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\appserv-jstl.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\appserv-upgrade.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\commons-launcher.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\commons-logging.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\dom.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\driveradapter.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\j2ee-svc.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\j2ee.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\jax-qname.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\jaxr-api.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\jaxr-impl.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\jaxrpc-api.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\jaxrpc-impl.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\jdic_0_9.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\jmxremote.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\jmxremote_optional.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\jsf-api.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\jsf-impl.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\mail.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\PEtray.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\relaxngDatatype.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\rmissl.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\saaj-api.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\saaj-impl.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\smbase.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\smdb2.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\sminformix.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\smoracle.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\smresource.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\smspy.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\smsqlserver.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\smsybase.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\smutil.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\xalan.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\xercesImpl.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\xsdlib.jar;C:/Sun/Creator2ea2/SunAppServer8/lib/install/applications/jmsra/imqjmsra.jar;C:/Sun/Creator2ea2/SunAppServer8/imq/lib/jaxm-api.jar;C:/Sun/Creator2ea2/SunAppServer8/imq/lib/fscontext.jar;C:/Sun/Creator2ea2/SunAppServer8/lib/ant/lib/ant.jar;C:/Sun/Creator2ea2/SunAppServer8/pointbase/lib/pbclient.jar;C:/Sun/Creator2ea2/SunAppServer8/pointbase/lib/pbembedded.jar
    com.sun.rave.tray.RavePEMain
    start
    display
    native|#]
    *** EXITING ERROR:
    Can't create Java VM
    ***

  • Oracle application server 10.1.3 not starting after crash

    Hi, I've been struggling with starting up application server 10.1.3 on Windows XP Professional SP2 following a system crash (power outage). When we restarted the machine we noted that the database wasn't coming up because our redo logs were full. We backed up the database with RMAN (freeing the logs) and the database started without a problem.
    We then tried to log into application server control from the website but were faced with a connection error. It is definitely the correct page as it was bookmarked on the server. I cannot start application server from the command line using opmnctl. Here is the output:
    C:\product\10.1.3\OracleAS_1\opmn\bin>opmnctl status
    Processes in Instance: appserv.MSRSFR
    ------------------------------------------------+---------
    ias-component | process-type | pid | status
    ------------------------------------------------+---------
    OC4J | home | N/A | Down
    ASG | ASG | N/A | Down
    C:\product\10.1.3\OracleAS_1\opmn\bin>echo %time%
    11:32:13.78
    C:\product\10.1.3\OracleAS_1\opmn\bin>opmnctl startall
    opmnctl: starting opmn and all managed processes...
    ==================================================
    opmn id=msrsfr:6200
    0 of 1 processes started.
    ias-instance id=appserv.MSRSFR
    ++++++++++++++++++++++++++++++++++++++++++++++++++
    ias-component/process-type/process-set:
    OC4J/home/default_group/
    Error
    --> Process (index=1,uid=1339952132,pid=2136)
    failed to start a managed process after the maximum retry limit
    Log:
    C:\product\10.1.3\OracleAS_1\opmn\logs\OC4J~home~default_group~1
    C:\product\10.1.3\OracleAS_1\opmn\bin>echo %time%
    11:32:39.12
    C:\product\10.1.3\OracleAS_1\opmn\logs\OC4J~home~default_group~1
    07/12/30 11:32:22 Start process
    07/12/30 11:32:24 Error initializing server: Error instantiating default application at Unable to get ApplicationConfig for default : Could not read connectors file at file:/C:/product/10.1.3/OracleAS_1/j2ee/home/config/oc4j-connectors.xml: ./oc4j-connectors.xml
    07/12/30 11:32:24 Fatal error: server exiting
    07/12/30 11:32:26 Start process
    07/12/30 11:32:28 Error initializing server: Error instantiating default application at Unable to get ApplicationConfig for default : Could not read connectors file at file:/C:/product/10.1.3/OracleAS_1/j2ee/home/config/oc4j-connectors.xml: ./oc4j-connectors.xml
    07/12/30 11:32:28 Fatal error: server exiting
    07/12/30 11:32:30 Start process
    07/12/30 11:32:32 Error initializing server: Error instantiating default application at Unable to get ApplicationConfig for default : Could not read connectors file at file:/C:/product/10.1.3/OracleAS_1/j2ee/home/config/oc4j-connectors.xml: ./oc4j-connectors.xml
    07/12/30 11:32:32 Fatal error: server exiting
    C:/product/10.1.3/OracleAS_1/j2ee/home/config/oc4j-connectors.xml: Notice the /'s versus standard windows \'s. The actual file is empty (contains only blank spaces).
    I'm not sure where to go from here, I've tried stopping the oracle services manually and starting them up in various orders. We have the following services running:
    Oracle-appservProcessManager Started
    OracleDBConsoleTSTONE Started
    OracleJobSchedulerTSTONE Disabled
    OracleOraDb10g_home1iSQL*Plus Started
    OracleOraDb10g_home1TNSListener Started
    OracleServiceTSTONE Started
    I'm sort of at a loss for where to go from here, help would be much appreciated!
    Thanks,
    Reza

    Here you have it.
    <?xml version="1.0" standalone='yes'?>
    <oc4j-connectors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNam
    espaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/oc4j-connectors-10
    _0.xsd" schema-major-version="10" schema-minor-version="0" >
    <connector name="datasources" path="datasources.rar">
    </connector>
    <connector name="OracleASjms" path="OracleASjms.rar">
    <config-property name="lookupMethod" value="resourceProvider"/>
    <config-property name="resourceProviderName" value="oc4jjms"/>
    <adminobject-config location="OracleASjms/Queues">
    <adminobject-class>oracle.j2ee.ra.jms.generic.AdminObjec
    tQueueImpl</adminobject-class>
    <config-property name="resourceProviderName" value="oc4j
    jms"/>
    </adminobject-config>
    <adminobject-config location="OracleASjms/MyQueue1">
    <adminobject-class>oracle.j2ee.ra.jms.generic.AdminObjec
    tQueueImpl</adminobject-class>
    <config-property name="jndiName" value="jms/demoQueue"/>
    <config-property name="resourceProviderName" value="oc4j
    jms"/>
    </adminobject-config>
    <adminobject-config location="OracleASjms/Topics">
    <adminobject-class>oracle.j2ee.ra.jms.generic.AdminObjec
    tTopicImpl</adminobject-class>
    <config-property name="resourceProviderName" value="oc4j
    jms"/>
    </adminobject-config>
    <adminobject-config location="OracleASjms/MyTopic1">
    <adminobject-class>oracle.j2ee.ra.jms.generic.AdminObjec
    tTopicImpl</adminobject-class>
    <config-property name="jndiName" value="jms/demoTopic"/>
    <config-property name="resourceProviderName" value="oc4j
    jms"/>
    </adminobject-config>
    </connector>
    </oc4j-connectors>

  • Application Server : File writes only 255 characters

    Hi Friends,
    I am trying to writes data to application server file .
    My line size is 1100 charqacters.
    When I use open dataset for output in text mode encoding default
    and transfer contents to file.
    I am only able to write contents upto 255 characters.
    Whatever is beyond that I do not see it in AL11.
    Is there a way to write more than 255 characters.
    I tried CG3Y to view files but it also shows only 255 characters.
    Please help.

    Hi,
    Just find the string length.
    In 4.6C version there is a limit of 1500 characters i. e. U can transfer max of 1500 characters in a single transfer. For that we applied below solution. Check this it may help u.
      l_len = strlen( p_data ).
      DO.
        IF l_len LT 1500.
          TRANSFER p_data+l_offset(l_len) TO p_file.
          MOVE 0 TO l_len.
        ELSE.
          TRANSFER p_data+l_offset(1500) TO p_file.
          SUBTRACT 1500 FROM l_len.
          ADD 1500 TO l_offset.
        ENDIF.
        CHECK l_len EQ 0.
        EXIT.
      ENDDO.
    p_data has the content to be trasfered of around 6000 characters and the length is dynamic.
    Also download the data using CG3Y with BIN to .txt file and see.
    If problem is still there then paste ur code of OPEN DATASET, TRANSFER statements.
    Try to open the file in TEXT MODE.
    eg: OPEN DATASET l_file IN TEXT MODE.
    Thanks,
    Vinod.
    Edited by: Vinod Reddy Vemuru on Jul 25, 2008 12:34 PM

  • Accessing remove EJBs while debugging using the Embedded Application Server

    I'm trying to configure to debug a multi-tier application (servlets + EJBs) where a servlet accesses EJBs set up on a second OC4J application server. I've set up rmi.xml in the embedded application server to reference my second application server by adding the line.
    <server host="127.0.0.1" username="admin" port="23791" password="password"/>
    When I run the embedded application server it seems to hang, with the stack in
    the following state:
    OC4J main()
    OC4J launchOC4JCommandLine()
    ApplicationServer launchCommandLine()
    Thread join()
    Thread join(0)
    Object wait(0)
    The following exception is generated on the second application server
    C:\Program Files\Oracle\JDeveloper9i\j2ee\home>java -jar oc4j.jar
    Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
    java.lang.NullPointerException
    java.lang.ClassLoader com.evermind.server.rmi.RMIInputStream.getClassLoa
    der()
    java.lang.Class com.evermind.server.rmi.RMIInputStream.resolveClass(java
    .io.ObjectStreamClass)
    java.io.ObjectStreamClass java.io.ObjectInputStream.inputClassDescriptor
    java.lang.Object java.io.ObjectInputStream.readObject(boolean)
    java.lang.Object java.io.ObjectInputStream.readObject()
    int java.io.ObjectInputStream.inputObject(boolean)
    java.lang.Object java.io.ObjectInputStream.readObject(boolean)
    java.lang.Object java.io.ObjectInputStream.readObject()
    void com.evermind.server.rmi.RMIConnection.handleBindObject()
    void com.evermind.server.rmi.RMIConnection.run()
    void com.evermind.util.ThreadPoolThread.run()
    Has anyone got any ideas what is happening here and how I can fix it?
    Thanks,
    Mark.

    This is an OC4J question. Try posting your message to the Products > Application Server > J2EE forum. Someone there should be able to answer your question.

  • Accessing remote EJBs while debugging using the Embedded Application Server

    I'm trying to configure to debug a multi-tier application (servlets + EJBs) where a servlet accesses EJBs set up on a second OC4J application server. I've set up rmi.xml in the embedded application server to reference my second application server by adding the line.
    <server host="127.0.0.1" username="admin" port="23791" password="password"/>
    When I run the embedded application server it seems to hang, with the stack in
    the following state:
    OC4J main()
    OC4J launchOC4JCommandLine()
    ApplicationServer launchCommandLine()
    Thread join()
    Thread join(0)
    Object wait(0)
    The following exception is generated on the second application server
    C:\Program Files\Oracle\JDeveloper9i\j2ee\home>java -jar oc4j.jar
    Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
    java.lang.NullPointerException
    java.lang.ClassLoader com.evermind.server.rmi.RMIInputStream.getClassLoa
    der()
    java.lang.Class com.evermind.server.rmi.RMIInputStream.resolveClass(java
    .io.ObjectStreamClass)
    java.io.ObjectStreamClass java.io.ObjectInputStream.inputClassDescriptor
    java.lang.Object java.io.ObjectInputStream.readObject(boolean)
    java.lang.Object java.io.ObjectInputStream.readObject()
    int java.io.ObjectInputStream.inputObject(boolean)
    java.lang.Object java.io.ObjectInputStream.readObject(boolean)
    java.lang.Object java.io.ObjectInputStream.readObject()
    void com.evermind.server.rmi.RMIConnection.handleBindObject()
    void com.evermind.server.rmi.RMIConnection.run()
    void com.evermind.util.ThreadPoolThread.run()
    Has anyone got any ideas what is happening here and how I can fix it?
    Thanks,
    Mark.

    This is an OC4J question. Try posting your message to the Products > Application Server > J2EE forum. Someone there should be able to answer your question.

Maybe you are looking for

  • How do i get all my ringtone purchases to show up i my tones library

    the past purchases ive made dont show up in my library and i cant seem to find them anywhere, help me find my tones please

  • WS-RM sequences not visible in SOAMANAGER Sequence monitoring

    Hello What i need to know is why I cant see any WS-RM sequences in SOAMANAGER>Sequence Monitoring. Please note: - I can see the asynchronouse messages in the XML monitor (srt_tools >> Monitor for Processed XML , or SXMB_moni) - I can see the sequence

  • DataPackage1:arrived in BW, Processing 2nd processing step not yet finished

    Hi BI-experts! I would like to load e.g. transaction data from SAP ECC system into SAP BI system. The Loading process is hanging in processing step u201CSERVICE APIu201D. The process  in hanging in status "yellow" and then changed after a while to st

  • 1.1.3 upgrade help....

    My bad I put this in the wrong forum last time. Anyways I have the newest version of Itunes and I run vista. But everytime I attempt to upgrade my Iphone, I tunes crazy,I've re-installed Itunes 3 times, is there another way?

  • How to analysis the data cube

    Once the analytic workspace is populated, I can view dimensions directly from Oracle AWM. But sometimes  the Data Viewer Window  load slowly. I wonder  whether it need to aggregate each time. Also  I can view the dimensions'  data  through the  navig