Resource.getAbsoluteUrl() problem

resource.getAbsoluteUrl()
../../xxxxxxxxxxxxxxxxxxxx
when i print the path, it is
path:../../local/WebDynProSample/SmsGatewayApp/~wd_key354_1180432121937/MailInbound_Report_Summary?sap.session.download=1&sap-wd-cltwndid=c2741f910dc911dc8d4f0012bf1423ab&sap-wd-appwndid=Idc2741f910dc911dc8d4f0012bf1423ab5c&sap-wd-norefresh=true
when i open the file in browser , i can open the file like this with SERVERNAME
http://servername:50100/webdynpro/dispatcher/local/WebDynProSample/SmsGatewayApp/~wd_key419_1180435272546/MailInbound_Report_Summary?sap.session.download=1&sap-wd-cltwndid=c2741f910dc911dc8d4f0012bf1423ab&sap-wd-appwndid=Idc2741f910dc911dc8d4f0012bf1423ab5c&sap-wd-norefresh=true
when i want to open without accessing the servername, which is thru the domain name , i will get null pointer exception
http://www.xxxx.com:50100/webdynpro/dispatcher/local/WebDynProSample/SmsGatewayApp/~wd_key419_1180435272546/MailInbound_Report_Summary?sap.session.download=1&sap-wd-cltwndid=c2741f910dc911dc8d4f0012bf1423ab&sap-wd-appwndid=Idc2741f910dc911dc8d4f0012bf1423ab5c&sap-wd-norefresh=true
final IWDCachedWebResource resource=WDWebResource.getWebResource(byteMail,WDWebResourceType.XLS);
try {      
mgr.reportSuccess("path2:" +resource.getAbsoluteURL());
final IWDWindow window = wdComponentAPI.getWindowManager().createExternalWindow(resource.getAbsoluteURL(), "WD_Filedownload", false);
window.open();
}catch(Exception e) {
wdComponentAPI.getMessageManager().reportException(new WDNonFatalException(e), false);
} catch (Exception e) {
e.printStackTrace();
Null Pointer Exception
_16##0#0#Error##Plain###Processing HTTP request to servlet [dispatcher] finished with error. The error is: java.lang.NullPointerException
     at com.sap.tc.webdynpro.serverimpl.core.url.WebDynproExchangeHandler.initTask(WebDynproExchangeHandler.java:227)
     at com.sap.tc.webdynpro.serverimpl.core.url.WebDynproExchangeHandler.doExchange(WebDynproExchangeHandler.java:186)
     at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doExchangeProcessing(DispatcherServlet.java:164)
     at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:119)
     at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
     at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
     at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
     at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
     at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
#1.5#0012BF1423AB00450000028E0000144400043198E1852F02#1180432595640#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#sap.com/tcwddispwda#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#EMM_TEST#3034##emi45sap_N01_13961350#EMM_TEST#bc34bd000dca11dc85ee0012bf1423ab#SAPEngine_Application_Thread[impl:3]_16##0#0#Error#1#/System/Server/WebRequests#Plain###Processing HTTP request to servlet [dispatcher] finished with error.
The error is: java.lang.NullPointerException: null
Exception id: [0012BF1423AB00450000028C0000144400043198E1852D3F]#
Message was edited by:
        yzme yzme
Message was edited by:
        yzme yzme

Hi yzme,
You put the url that you want to open.URL should be valid.
     String linkToBeOpen = "https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50d74ada-0c01-0010-07a8-8c118d408e59";
     IWDWindow window =
     wdComponentAPI.getWindowManager().createNonModalExternalWindow(
                         linkToBeOpen,
                         "My window title");
     window.show();
Regards,
Mithu

Similar Messages

  • Remote Resources: "A problem with the system proxy caused the connection to fail: End of file"

    Hi, I am trying to use "Remote Resources" on the current version of the Microsoft Remote Desktop for Android app, I can input the webfeed and it even shows the apps that I have configured on the server for "Remote App", sadly whenever
    I try to load any of the RemoteApps, I receive an error stating " A problem with the system proxy caused the connection to fail. End of File".
    I don't know what I can do to fix this, I've tried many things to no avail, also, normal Remote Desktop connections from the Microsoft Android app work flawlessly to the server.
    The relevant log is the following:
    [2014-Jan-09 04:40:54] RDP (0): ----- BEGIN ACTIVE CONNECTION -----
    [2014-Jan-09 04:40:54] RDP (0): Final rdp configuration used: memory bookmark [
    label 
    hostname DIAZSERVER
    port 3389
    loadbalanceinfo 
    ui.swapmousebutton false
    remote.program ||ZWaveUtil
    remote.workingdirectory 
    remote.name ZWave Adapter Utility
    remote.args 
    rail true
    soundmode 0
    connect_to_console false
    redirectsdcard true
    performance_flags 134
    arc.sessionid 0
    anonymous_username 
    authentication_level 2
    use_redirection_server_name false
    username administrator
    gateway [
      host = DIAZSERVER
      port = 443
      bypass = false
    connect info[
      hostnames = [localhost]
      gatewayHost = DIAZSERVER
      gatewayPort = 443
      routingToken = Cookie: mstshash=administrator
      redirectionGUID = 
      proxyHost = 200.5.68.10
      proxyPort = 8080
      sessionId = -1
    [2014-Jan-09 04:40:54] RDP (0): Using HttpConnect proxy at 200.5.68.10:8080
    [2014-Jan-09 04:40:54] RDP (0): Using Basic Authentication with username ''
    [2014-Jan-09 04:40:54] RDP (0): Protocol state changed to: ProtocolConnectingNetwork(1)
    AsioEndpointContext (0): startup(): starting up down context
    [2014-Jan-09 04:40:54] RDP (0): Resolved '200.5.68.10' to '200.5.68.10' using NameResolveMethod_DNS(1)
    [2014-Jan-09 04:40:54] RDP (0): Resolved '200.5.68.10' to '200.5.68.10' using NameResolveMethod_DNS(1)
    ASIOSocketAdapter (9): readSomething error. message: End of file. instance: 0x5d39d5c0
    RpcOverHttp (9): Stream error in endpoint 0x5abbc170 : A problem with the system proxy caused the connection to fail: End of file
    [2014-Jan-09 04:40:55] RDP (0): Error message: A problem with the system proxy caused the connection to fail: End of file
    [2014-Jan-09 04:40:55] RDP (0): Error message: A problem with the system proxy caused the connection to fail: End of file
    [2014-Jan-09 04:40:55] RDP (0): Protocol state changed to: ProtocolDisconnected(8)
    ASIOSocketAdapter (9): handleRead(): exception: Exception in file '/var/lib/jenkins/jobs/rc-android-app/workspace/rdp-layer/library/jni/librdp/private/httpendpoint.cpp' at line 489
        User Message : Failed to read from channel: -1. instance: 0x5d39d5c0
    [2014-Jan-09 04:40:55] RDP (0): Disconnect initiated by client
    RpcOverHttp (9): Exception in endpoint 0x5abbc170 : Exception in file '/var/lib/jenkins/jobs/rc-android-app/workspace/rdp-layer/library/jni/librdp/private/httpendpoint.cpp' at line 489
        User Message : A problem with the system proxy caused the connection to fail: Failed to read from channel: -1
    [2014-Jan-09 04:40:55] RDP (0): Exception caught: Exception in file '/var/lib/jenkins/jobs/rc-android-app/workspace/rdp-layer/library/jni/librdp/private/httpendpoint.cpp' at line 489
        User Message : A problem with the system proxy caused the connection to fail: Failed to read from channel: -1
    [2014-Jan-09 04:40:55] RDP (0): Exception caught: Exception in file '/var/lib/jenkins/jobs/rc-android-app/workspace/rdp-layer/library/jni/librdp/private/httpendpoint.cpp' at line 489
        User Message : A problem with the system proxy caused the connection to fail: Failed to read from channel: -1
    AsioEndpointContext (0): shutdown(): shutting down context
    AsioEndpointContext (0): shutdown(): context shut down
    AsioEndpointContext (0): shutdown(): shutting down context
    AsioEndpointContext (0): shutdown(): context shut down
    [2014-Jan-09 04:40:57] RDP (0): ------ END ACTIVE CONNECTION ------

    My problem is that the "proxy" is the proxy set up by my 3G configuration so, I tried connecting to the remote resources through my work wifi and I get the following:
    [2014-Jan-14 16:58:13] RDP (0): ----- BEGIN ACTIVE CONNECTION -----
    [2014-Jan-14 16:58:13] RDP (0): Final rdp configuration used: memory bookmark [
    label 
    hostname DIAZSERVER
    port 3389
    loadbalanceinfo 
    ui.swapmousebutton false
    remote.program ||chrome
    remote.workingdirectory 
    remote.name Google Chrome
    remote.args 
    rail true
    soundmode 0
    connect_to_console false
    redirectsdcard true
    performance_flags 134
    arc.sessionid 0
    anonymous_username 
    authentication_level 2
    use_redirection_server_name false
    username Administrator
    gateway [
      host = DIAZSERVER
      port = 443
      bypass = false
    connect info[
      hostnames = [localhost]
      gatewayHost = DIAZSERVER
      gatewayPort = 443
      routingToken = Cookie: mstshash=Administrator
      redirectionGUID = 
      proxyHost = 
      proxyPort = 0
      sessionId = -1
    [2014-Jan-14 16:58:13] RDP (0): Not using any proxy
    [2014-Jan-14 16:58:13] RDP (0): Protocol state changed to: ProtocolConnectingNetwork(1)
    AsioEndpointContext (0): startup(): starting up down context
    ASIOSocketAdapter (9): handleResolve(): boost error: Host not found. Please provide the fully-qualified name or the IP address of the host.. instance: 0x5d474090
    RpcOverHttp (9): Stream error in endpoint 0x5d46b678 : Unable to connect to remote PC. Please provide the fully-qualified name or the IP address of the remote PC, and then try again.
    [2014-Jan-14 16:58:17] RDP (0): Error message: Unable to connect to remote PC. Please provide the fully-qualified name or the IP address of the remote PC, and then try again.
    [2014-Jan-14 16:58:17] RDP (0): Error message: Unable to connect to remote PC. Please provide the fully-qualified name or the IP address of the remote PC, and then try again.
    [2014-Jan-14 16:58:17] RDP (0): Protocol state changed to: ProtocolDisconnected(8)
    ASIOSocketAdapter (9): handleResolve(): boost error: Host not found. Please provide the fully-qualified name or the IP address of the host.. instance: 0x5d445158
    RpcOverHttp (9): Stream error in endpoint 0x5d49fa30 : Unable to connect to remote PC. Please provide the fully-qualified name or the IP address of the remote PC, and then try again.
    [2014-Jan-14 16:58:17] RDP (0): Error message: Unable to connect to remote PC. Please provide the fully-qualified name or the IP address of the remote PC, and then try again.
    [2014-Jan-14 16:58:17] RDP (0): Disconnect initiated by client
    [2014-Jan-14 16:58:17] RDP (0): Error message: Unable to connect to remote PC. Please provide the fully-qualified name or the IP address of the remote PC, and then try again.
    AsioEndpointContext (0): shutdown(): shutting down context
    AsioEndpointContext (0): shutdown(): context shut down
    AsioEndpointContext (0): shutdown(): shutting down context
    AsioEndpointContext (0): shutdown(): context shut down
    [2014-Jan-14 16:58:17] RDP (0): ------ END ACTIVE CONNECTION ------
    Now, I know the host can be resolved because: if I connect to the same host but on a full remote desktop (as opposed to just RemoteApp on it) I have no trouble either through 3G OR through my work connection.
    Moreover, I also tried directly inputting the IP as opposed to the web address of my server, I get the same error, that is the Remote Resources tab is able to access the feed (because it shows the available RemoteApps) but when I click an app it says it can't
    find the Host, here's the log for the connection directly to the IP address/rdweb/feed/webfeed.aspx :
    [2014-Jan-14 17:09:27] RDP (0): ----- BEGIN ACTIVE CONNECTION -----
    [2014-Jan-14 17:09:27] RDP (0): Final rdp configuration used: memory bookmark [
    label 
    hostname DIAZSERVER
    port 3389
    loadbalanceinfo 
    ui.swapmousebutton false
    remote.program ||chrome
    remote.workingdirectory 
    remote.name Google Chrome
    remote.args 
    rail true
    soundmode 0
    connect_to_console false
    redirectsdcard true
    performance_flags 134
    arc.sessionid 0
    anonymous_username 
    authentication_level 2
    use_redirection_server_name false
    username administrator
    gateway [
      host = DIAZSERVER
      port = 443
      bypass = false
    connect info[
      hostnames = [localhost]
      gatewayHost = DIAZSERVER
      gatewayPort = 443
      routingToken = Cookie: mstshash=administrator
      redirectionGUID = 
      proxyHost = 
      proxyPort = 0
      sessionId = -1
    [2014-Jan-14 17:09:27] RDP (0): Not using any proxy
    [2014-Jan-14 17:09:27] RDP (0): Protocol state changed to: ProtocolConnectingNetwork(1)
    AsioEndpointContext (0): startup(): starting up down context
    ASIOSocketAdapter (9): handleResolve(): boost error: Host not found. Please provide the fully-qualified name or the IP address of the host.. instance: 0x5d372f28
    RpcOverHttp (9): Stream error in endpoint 0x5dd6b168 : Unable to connect to remote PC. Please provide the fully-qualified name or the IP address of the remote PC, and then try again.
    [2014-Jan-14 17:09:31] RDP (0): Error message: Unable to connect to remote PC. Please provide the fully-qualified name or the IP address of the remote PC, and then try again.
    [2014-Jan-14 17:09:31] RDP (0): Error message: Unable to connect to remote PC. Please provide the fully-qualified name or the IP address of the remote PC, and then try again.
    [2014-Jan-14 17:09:31] RDP (0): Protocol state changed to: ProtocolDisconnected(8)
    ASIOSocketAdapter (9): handleResolve(): boost error: Host not found. Please provide the fully-qualified name or the IP address of the host.. instance: 0x5d378de0
    RpcOverHttp (9): Stream error in endpoint 0x5e9cc1f0 : Unable to connect to remote PC. Please provide the fully-qualified name or the IP address of the remote PC, and then try again.
    [2014-Jan-14 17:09:31] RDP (0): Error message: Unable to connect to remote PC. Please provide the fully-qualified name or the IP address of the remote PC, and then try again.
    [2014-Jan-14 17:09:31] RDP (0): Disconnect initiated by client
    [2014-Jan-14 17:09:31] RDP (0): Error message: Unable to connect to remote PC. Please provide the fully-qualified name or the IP address of the remote PC, and then try again.
    AsioEndpointContext (0): shutdown(): shutting down context
    AsioEndpointContext (0): shutdown(): context shut down
    AsioEndpointContext (0): shutdown(): shutting down context
    AsioEndpointContext (0): shutdown(): context shut down
    [2014-Jan-14 17:09:31] RDP (0): ------ END ACTIVE CONNECTION ------
    I'm really puzzled here, I've tried checking if ports where open, and ports 443 and 3389 are wide open, I don't know what else it could be.

  • Arabic resource file problem

    i use jdeveloper 10.1.3 and windows xp
    i developed an hr application
    no i want my application to support both english and arabic language
    so i used windows notepad to write my resource file in arabic and english
    with english it worked good no problems
    but when i tried to save the arabic resource file on notepad
    i could not save it in ANSI format
    so i tried to save the file in a unicode or utf-8 format
    the problem is that when i try to a resource file in a format either that ANSI
    i does not work except with ANSI FORMAT file with arabic or english
    waiting for reply

    I think that the solution is to use Unicode utf-8
    add this line in the header of every page that content arabic word
    <%@ page contentType="text/html; charset=utf-8" %>
    and in the ResourceBundle file write in arabic , you will see after compilation that what you had write in arabic became in Unicode.
    exemple :
    before compilation
    Form.label.sndName= &#1575;&#1604;&#1573;&#1587;&#1605;
    after comilation
    Form.label.sndName= \u0627\u0644\u0625\u0633\u0645
    and remember that i sad that you must add
    <%@ page contentType="text/html; charset=utf-8" %> in every page that content arabic word
    in jsp page write
    <bean:message key="Form.label.sndName"/>
    if you folowing this concept you will not encounter any problem with javascript validation

  • CProjects Resource staffing problem

    Hi Everybody,
                          Right now we are facing a problem while staffing a resource for a role created. I am getting a error saying "Enter a valid business partner" and "Message was caused by reference object 'Business Partner Link'". What exactly i need to do get rid of the problem. I was trying to create a new resource there in cProjects, even that create resouce area become disabled. What is the solution for this ??
    Thanks,
    Rajesh.

    Hi Sunil,
                 I have created the Business Partner in transaction code BP. After that i was trying to add that resource in staffing. Previously i created the candidate directly in cProjects UI instead of creating a Business Partner in transaction BP. At that time i was able to staff the resource, but afterwards that create candidate is also not working. One more thing after creating a business partner in BP, how to link the business partner to a User and Employee. I am not able to get the link in ECC system. But while creating the candidate i have the option of linking the BP with user as well. I am totally confused with all these things.
               And one more after giving the Business Partner number in the staffing search i am able to see the resource name next to the text box. But while assigning i am getting error message saying "Enter a valid Business Partner". I dont understand what is "valid".
    Thanks,
    Rajesh.

  • Resource metering problem

    Hi guys,
    I am using a 3-node WS 2012 R2 Hyper-V cluster. For all virtual machines I enabled resource metering. However, on a random basis Measure-VM stops displaying numbers, it just returns blank fields instead of values...resource metering is still enabled on a
    VM, but all values are empty. This happens to random VMs, while resource metering for all other VMs keeps working properly.
    The only workaround is to disable & enable resource metering, however this resets values which is obviously a problem.
    Has anyone had this problem?

    Dear Susie Ma,
    I managed to "catch" one problematic VM.
    This is an interesting situation - because this VM is off. Still, resource metering stats should return some values, because they had been collected while VM was working. 
    I have another VM that is identical to this one in terms of guest OS and resources, and it is also off. This VM does return correct values for RM.
    I will copy RM stats for both machines. Problematic VM name is gale-test-vm02, while the working VM name is gale-test-vm05. Guest OS on both VMs is WS2012R2, however as VMs are off I don't think this matters.
    problematic VM (gale-test-vm02)
    AvgCPU :
    AvgRAM :
    MinRAM :
    MaxRAM :
    TotalDisk : 77828
    ComputerName : HV-FC1-N3
    VMId : 51281bc4-f3f9-4b91-8d85-367374b81e7e
    VMName : gale-test-vm02
    HardDiskMetrics : {Microsoft.HyperV.PowerShell.VirtualHardDiskMetrics, Microsoft.HyperV.PowerShell.VirtualHardDiskMetrics}
    MeteringDuration :
    AverageProcessorUsage :
    AverageMemoryUsage :
    MaximumMemoryUsage :
    MinimumMemoryUsage :
    TotalDiskAllocation : 77828
    AggregatedAverageNormalizedIOPS : 0
    AggregatedAverageLatency : 0
    AggregatedDiskDataRead : 25464
    AggregatedDiskDataWritten : 19059
    NetworkMeteredTrafficReport : {}
    working VM (gale-test-vm05)
    AvgCPU : 1
    AvgRAM : 510
    MinRAM : 1024
    MaxRAM : 1024
    TotalDisk : 92164
    ComputerName : HV-FC1-N3
    VMId : bef46674-d771-4f23-9a36-f533916b60ba
    VMName : gale-test-vm05
    HardDiskMetrics : {Microsoft.HyperV.PowerShell.VirtualHardDiskMetrics, Microsoft.HyperV.PowerShell.VirtualHardDiskMetrics}
    MeteringDuration :
    AverageProcessorUsage : 1
    AverageMemoryUsage : 510
    MaximumMemoryUsage : 1024
    MinimumMemoryUsage : 1024
    TotalDiskAllocation : 92164
    AggregatedAverageNormalizedIOPS : 0
    AggregatedAverageLatency : 0
    AggregatedDiskDataRead : 24754
    AggregatedDiskDataWritten : 37198
    NetworkMeteredTrafficReport : {Microsoft.HyperV.PowerShell.VMNetworkAdapterPortAclMeteringReport, Microsoft.HyperV.PowerShell.VMNetworkAdapterPortAclMeteringReport, Microsoft.HyperV.PowerShell.VMNetworkAdapterPortAclMeteringReport,
    Microsoft.HyperV.PowerShell.VMNetworkAdapterPortAclMeteringReport}
    Are there any suggestions to what I can do in order to further analyze this?

  • Resource Bundle Problem

    I have a funny problem with Resource Bundles:
    In the property editor for a Hyperlink object I replaced the text property with the following: #{messages1.MyKey}
    I have defined an action on the hyperlink as follows:
    public String MyHyperlinkId_action ()
    String HyperlinkText = (String)MyHyperlinkId.getText();
    String HyperlinkID = MyHyperlinkId.getId();
    return null;
    getText() returns null since I use the Bundle to set the text. getId() returns the correct Id. If I hardcode the text in the property editor getText() returns that text correctly.
    Any idea, what the problem could be??
    Many thanks
    Tom

    Did you modify the hyperlink text property manually or through the property binding wizard. It could be a spelling mistake. Also make sure MyKey is defined in your resource bundle.

  • Resource central problem

    hello I have problem with resource central in Encore, I want to download templates (I dont have them because I have CS4 downloaded, not on DVDs). My first problem was I couldn't even join resource central, but I fixed it by removing config file from Required folder. In my resource central I just can´t see anything other than the news, it seems that entire menu bar is missing. just take a look at screenshots.
    I found this here on forum, that's probably how it should look like:
    But screenshot from my PC looks like this:
    So if you could help me or lead me to solution I would be very glad.
    PS> Resource central in Adobe Soundbooth works perfectly, I have Master Collection purchased and installed on my Windows 7.

    Thanks for the info but it is actually CS4 that Im having the issue with.
    I have  an open support ticket with Adobe but as of yet still no luck for a fix. 
    Have tried updates, recreating the preferences file, reinstallation.....  no joy 

  • SUNW.gds resource creation problem / service startup failure

    We have a vendor provided set of application server start and stop scripts that we are trying to mold into a GDS resource. The scripts must be run as a user not as root. This app takes about 6 minutes to start up and it creates about 400 processes in doing so. We gave the user cluster.modify auth so it can create the resource, and the command takes but when the resource is being created, the startup script does not seem to fire. So I'm a little stumped as to make this thing run under the user account project settings. The other thing I noticed is the ports that I specify in the list are never present until the end of the 6 minutes of startup junk, and the GDS seems to log problems about these ports at the onset of creation. Here is the command for the create:
    clrs create -g ss_wfm-rg -t SUNW.gds  \
    -p Start_Command="/home/appl/advxrt/R8.0g/TOP/SOLARIS/bin/StartServer" \
    -p Stop_Command="/home/appl/advxrt/R8.0g/TOP/SOLARIS/bin/ShutdownServer" \
    -p Resource_dependencies=advxprd,ss_hasp-rs \
    -p Port_list=22100/tcp,23100/tcp,27100/tcp,4100/tcp,17100/tcp \
    -p Start_timeout=420 \
    -p Stop_timeout=120 \
    -p Child_mon_level=-1 \
    ss_server_gds-rsAnd from the messages log...
    Aug 18 07:31:04 prddsm01nd01 SC[SUNW.gds:6,ss_wfm-rg,ss_server_gds-rs,gds_svc_start]: [ID 141062 daemon.error] Failed to connect to host advxprd and port 221
    00: Connection refused.
    Aug 18 07:31:04 prddsm01nd01 SC[SUNW.gds:6,ss_wfm-rg,ss_server_gds-rs,gds_svc_start]: [ID 805735 daemon.error] Failed to connect to the host <advxprd> and po
    rt <22100>.
    Aug 18 07:31:06 prddsm01nd01 Cluster.PMF.pmfd: [ID 887656 daemon.notice] Process: tag="ss_wfm-rg,ss_server_gds-rs,0.svc", cmd="/bin/sh -c /home/appl/advxrt/R
    8.0g/TOP/SOLARIS/bin/StartServer", Failed to stay up.
    Aug 18 07:31:06 prddsm01nd01 Cluster.PMF.pmfd: [ID 534408 daemon.notice] "ss_wfm-rg,ss_server_gds-rs,0.svc" restarting too often ... sleeping 30 seconds.
    Aug 18 07:31:06 prddsm01nd01 Cluster.RGM.rgmd: [ID 650825 daemon.error] Method <gds_svc_start> on resource <ss_server_gds-rs> terminated due to receipt of si
    gnal <9>Basically I would like to know if the ports list should include all ports that the app will eventually listen on, or some, or minimal? The other biggy is how to get this thing to launch as a user and if it fail over to another node does not start as root. I tried doing an su - acctname -c "script" but it won't start it. Thanks!

    Detlef or anyone familiar with GDS...
    We agree here that customizing the GDS using your template is the way to go. What I have noticed is that since creating the wrapper scripts to call the newtask command, setup the environment, etc, when the wrapper script finishes (kicking off the native script) the RGM sees this as a fault and immeidately tries to restart the agent. Here is a snippet of the messages log.
    Sep 24 13:48:03 devdsm01nd01 Cluster.PMF.pmfd: [ID 887656 daemon.notice] Process: tag="ss_stage-rg,ss_stage_server_gds-rs,0.svc", cmd="/bin/sh -c /home/appl/advxtst/tds/SS_kicker.sh", Failed to stay up.
    Sep 24 13:48:03 devdsm01nd01 Cluster.RGM.rgmd: [ID 784560 daemon.notice] resource ss_stage_server_gds-rs status on node devdsm01nd01 change to R_FM_FAULTED
    Sep 24 13:48:03 devdsm01nd01 Cluster.RGM.rgmd: [ID 922363 daemon.notice] resource ss_stage_server_gds-rs status msg on node devdsm01nd01 change to <Service daemon not running.>
    Sep 24 13:48:03 devdsm01nd01 SC[SUNW.gds:6,ss_stage-rg,ss_stage_server_gds-rs,gds_probe]: [ID 670283 daemon.notice] Issuing a resource restart request because the application exited.So we figured out that if we suspend the RG, then we can of course stop and start the app all day long using the clrs dis|enable commands but is using these wrapper scripts still the way to go even with the GDS template? Even assigning the user's project settings to the resources does not seem to allow the native vendor supplied startup scripts to launch (they say it is purely because we did not setup the working directory, etc, correctly, which the wrapper scripts do quite well). Is is normal for the wrapper script to "die" but yet have GDS probe the ports after X amount of time? Is this where the sleeping dummy comes into play?
    thanks in advance!

  • Inbound Resource Adapter problem on WebLogic 9

    Hi,
              I have a problem with inbound resource adapter deployed on WebLogic 9 when it's Work instance in run() tries to create an endpoint configured to RA via endpointActivation() - a call to MessageEndpointFactory's createEndpoint() method blocks if casted to interface that a receiving MDB implements!
              Or, to look at the code:
              endpoint = (MyMessageListener)factory.createEndpoint(null);
              will block. If a cast is removed the call does not block anymore but (of course) it is no longer possible to call an MDB.
              Any hints?

    Turning on Debugging, found the problem:
              <[JCABindingManager] activationSpec=null>
              <[JCABindingManager] The activationSpec is null, deActivation is skipped>
              In the application.xml, I had
              1. ejb (mdb) module and then
              2. connector module
              Changed the application.xml to
              1. connector module and then
              2. ejb (mdb) module
              container then called endpointDeactivation on undeployment.

  • Ear access standalone Resource Adapter problem

    I deployed a standalone resource adapter. Then I deployed a ear.
    In the ear, I try to look up the resource adapter, I got an exception:
    javax.naming.NameNotFoundException: No Object found: MyRA|null
    In weblogic-ra.xml, I added:
    <enable-global-access-to-classes>true</enable-global-access-to-classes>
    but still have the problem.
    However, when I embeded the RA in the ear and deploy the ear, I can get the RA by lookup()
    Is there anyway I can get successfully look up the standalone RA?
    P.S.
    My problem seems to be similar with an earlier post "Access Resource Adaptar outside the EAR".
    Access Resource Adaptar outside the EAR
    My problem is different.
    I lookup the RA in an ear deployed in the server.
    However, I'm not using EJB to lookup the RA.
    server version: weblogic server 11g r1
    Thanks a lot

    My RA runs correctly after deployment, I can see my RA in the JNDI tree.
    I just did some more tests.
    I use the following way to look up:
    InitialContext ctx = new InitialContext();
    ConnectionFactory cf = (ConnectionFactory) ctx.lookup("MyConnectionFactory");
    If I look up it in an EJB, I can get the object.
    But when I look up in a servlet, no object can be found.
    The servlet is in a war embeded in the ear.

  • Messaging Bridge/Resource adapter problem on Solaris?

              Has anyone successfully used the supplied resource adapter and messaging bridge
              on Solaris? We seem to have problems getting the resource adapter to be bound
              properly. After creating a connector through the admin console (using any of the
              weblogic supplied jms-*-adp.rar files) the element shows up in the JNDI tree but
              has no object information associated with it - which I assume means it is not
              bound. The following error shows up in the weblogic log file:
              ####<Jan 24, 2003 6:28:03 PM CST> <Error> <Connector> <fssun02> <AdminServer>
              <ExecuteThread: '0' for queue: '__weblogic_admin_html_queue'> <kernel identity>
              <> <190004> <ManagedConnectionFactory not found for jndiName eis/jms/WLSConnectionFactoryJNDINoTX.>
              We are using WL 7.0.1.0 and Solaris 2.8 (8). With the same configuration on Win
              2K everything works properly. Classpath's etc all seem to be correct. Any ideas?
              thanks,
              

    I finally got my Messaging Bridge (Tibco to a WLS Cluster) to work. See my post 3 messages before yours - to which no-one responded... :-(
              So here goes with my suggestion based on what I have done.
              1. Create a Distributed Destination for the WLS queue and "auto deploy" it your cluster. (Read the manual on how to do that, it is quite straightforward).
              2. In the Local Bridge Destination, put :
              Connection URL - nothing
              Initial Context Factory - weblogic.jndi.WLInitialContextFactory
              Connection Factory JNDI Name - <your JMS conection factory name>
              Destination JNDI Name - <the JNDI name given to the Distributed Destination>.
              I hope that works.
              Andy

  • Windows 98 resource & memory problems with Developer/2k v2.1

    Hi All
    I have just started developing with Developer/2000 v2.1 on
    Oracle v7.3. I recently purchased a Dell Inspiron 3500 notebook
    PC running Windows 98 (64M RAM, 4.3G HD). I have had continuous
    problems with the system running out of system resources and/or
    memory.
    The problem seems to be with both the development and runtime
    programs. If I run the Form Builder and then exit it, the system
    information program reports that the F50DES32.EXE is still
    running, plus there are a load of 32-bit driver files left in
    memory. The same problem occurs with the runtime, in that once
    it's loaded, even after taking the exit option, the F50RUN32.EXE
    is left running in memory. This would not be so bad if
    subsequent loads of either program recognised that the program
    was already running, but they do not so you end up with multiple
    copies of the programs running. At the moment, with regular
    changes, recompiles and reloads of the runtime going on, I have
    to reboot the PC on average about once every 30 minutes.
    I cannot find anything on either the Microsoft or Oracle web
    sites about this problem, and really I'm not sure who's to
    blame. I guess development on Windows 98 is still pretty young.
    However, this seems to be a fairly serious problem and is
    certainly having a major impact on productivity!
    Am I missing something in terms of Oracle parameter settings or
    in the way Windows 98 is set up? Has anybody out there had
    similar problems? Can anybody help??
    Thanks
    Billy
    null

    I also observed something like this- but it was a programming error. I was using ADODB in LabVIEW to run SELECT statements and retrieve data from recordsets. My program would gradually consume more and more RAM over time. This was plainly visible on NTs Task Manager. My problem was that I was simply forgetting to close/destroy many of the object references. This would also sometimes cause my system to crash when I stopped the program and exited LabVIEW (or exited the run-time engine if it was an exe).
    I might suggest you go through the program and make sure you use the Automation Close function to close the appropriate references.
    Its especially important to close all "Fields" and "Field" references.
    Also, I found that running the GET ROWS method or GE
    T STRING method on a recordset works much better than retrieving data using "Fields" and "Field" objects... its faster, easier, less prone to causing problems, less trouble with references and stuff.

  • IDM Solaris resource sync problem

    Hi.
    I am setting up IDM in our company Lab.
    For NT and AD resources is everything ok, but when I try TEST CONNECTION to solaris server resource, I get this error message:
    Test connection failed for resource(s):
    Solaris: Script failed waiting for "/bin/sh" in response " Last login: Thu Apr 7 09:35:04 from localhost Sun Microsystems Inc. SunOS 5.9 Generic May 2002 bash-2.05$ " ==> com.waveset.util.WavesetException: Script processor timed out with nothing to read and the following unprocessed text: " Last login: Thu Apr 7 09:35:04 from localhost Sun Microsystems Inc. SunOS 5.9 Generic May 2002 bash-2.05$ ".\n
    Can anybody help me?
    Thanks.

    Please check the Prompt attribute in the Solaris Resource form (first page). Is the prompt exactly the same as you see when logging to the solaris host as the adapter user?
    Also, you didn't specify, if you use telnet, ssh, su, sudo... Although this does not seem to be the problem, we've had some problems with sudo setting, so you better take care.
    And please, check that "Prompt" setting. The adapter didn't see the prompt. Password is probably ok, because the "last login" information has been already captured be the adapter.

  • Windows Sharing and resource fork problems

    Hello, I am into my second month of Mac ownership and today I tried to enable Windows Sharing to allow a PC here to map to the Mac and share files.
    I enabled the Windows Sharing feature in the System Preferences. Then I tried to map to the mac using the PC (Win XP). The PC sat there for a while (maybe about 30 secs or so) trying to connect, then displayed an error message saying a semaphore timed out (I don't remember it exactly).
    Anyway, I went back into System Preferences and all the options for Sharing were greyed out. I couldn't turn off or turn on anything!!
    So I looked in the console log and found the following errors:
    2006-08-30 18:12:40.119 System Preferences[15066] [NOTE: this exception originated in the server.]
    couldn't fork
    /sbin/service: fork: Resource temporarily unavailable
    2006-08-30 18:12:43.336 System Preferences[15066] [NOTE: this exception originated in the server.]
    couldn't fork
    /sbin/service: fork: Resource temporarily unavailable
    2006-08-30 18:12:52.009 System Preferences[20541] hardwareCheckThread got an exception name:NSInternalInconsistencyException reason:couldn't fork
    Aug 30 18:13:37 localhost launchd: org.samba.smbd: fork() failed, will try again in one second: Resource temporarily unavailable
    2006-08-30 18:16:53.360 System Preferences[21610] hardwareCheckThread got an exception name:NSInternalInconsistencyException reason:couldn't fork
    2006-08-30 18:19:13.214 System Preferences[21611] hardwareCheckThread got an exception name:NSInternalInconsistencyException reason:couldn't fork
    2006-08-30 18:31:48.547 System Preferences[21636] hardwareCheckThread got an exception name:NSInternalInconsistencyException reason:couldn't fork
    2006-08-30 18:54:23.310 System Preferences[21650] hardwareCheckThread got an exception name:NSInternalInconsistencyException reason:couldn't fork
    In the System log there are a whole bunch of these messages:
    Aug 30 18:11:23 localhost kernel[0]: proc: table is full
    I went into the Terminal and tried to get to a command prompt but it just sat there with a blank screen.
    So I shut a bunch of apps I had open down only keeping Firefox open and I searched online for issues regarding this error - found information telling me I could kill the smbd processes and up the max proc limit.
    After waiting a while (didn't want to reboot - I'm stubborn :-)), reopened Terminal and could see the command prompt. But anything I tried to do regarding killing the smbd processes or even doing a directory listing or a process listing gave the error: fork: resource temporarily unavailable
    So I just waited it out - eventually I was able to kill the smbd processes. After I did that, I went back into System Preferences and was able to work with the Sharing preferences again (I disabled Windows Sharing).
    And after all that, here is my question(s):
    - is this problem going to keep happening when I turn on Windows Sharing and a PC tries to map to the Mac?
    - do I need to up the process limit if I'm going to turn on Windows Sharing?
    - is there a bug/issue I don't know about regarding this and a fix?
    - and last but not least, am I doing something wrong?
    Thank you for your help.

    There were some Macbook/SMB specific problems that suppossedly got fixed with the 10.4.6 update, but I'd try the 10.4.7 Combo Update, as Deltas have more problems.

  • VXI Resource manager problem

    I have the following configuration:
    VXI-PCI system (National Instrument 777119-32 VXI-PCI 8015 interface kit +
    National Instrument 777178-01 mainframe extender.)
    One PC.
    Two VXI cages.
    In the first VXI cage at slot 0, I installed NI zero slot controller,
    configured to logical address 1.
    In the second VXI cage at slot 0, I installed NI zero slot controller,
    configured to logical address 2.
    The VXI cages are chained using MXI-2/M3 cable.
    In the first VXI cage at slot 1, I installed a RACAL Instrument (1260-35
    with option OPT-01T) that also needs a logical address, configured to
    logical address 3.
    In the second VXI cage at slot 1, I installed a RACAL Instrument device
    (1260-45 with option OPT-01T) that also needs a logical addre
    ss, configured
    to logical address 4.
    Running the Resource manager with only one RACAL device in either cage -
    result OK (logical addresses 1,2,3 or 1,2,4).
    Running a full system result - FAIL with the message "The device at logical
    address 3 did not respond to the read protocols command.
    The same problem appears if I configure the logical address of the OPT-01T
    to 255 (auto assign logical address).
    Please advice.
    Thanks
    Eli Nachumzon
    ATE Development
    Engineering Dept.
    ADC teledata
    Tel: +972-9-9591453
    Fax: +972-9-9591805
    E-mail: [email protected]

    Eli-
    I just noticed this unanswered question. I am guessing you've gotten your answer from another source by now, but in case anyone else has similar issues, I recommend our Logical Address Wizard, which helps configure multi-chassis MXI systems. Your case illustrates a common mistake when assigning LA's; having your two VXI-MXI-2's at LA 1 and 2 will not work. According to the LA Wizard, a combination like LA 4 (containing an instrument at LA 5) and LA 6 (containing an instrument at LA 7) would work.
    -Scot

Maybe you are looking for

  • How Weblogic used in Integration using J2EE Connector architecture??? need more info

              Hi xperts,           Would like to know more about weblogic integration in EAI zone using J2EE           I checked on           http://java.sun.com/j2ee/connector/           http://java.sun.com/j2ee/white/connector.html           Can anyone

  • Dynamic Type Conflict

    I have a context node called ERROR_MESSAGE, with a single attribute called MSG of type BAPI_MSG. I encounter an error stating "Dynamic type conflict when assigning references" at the following point in my code: lo_nd_error_message->bind_elements( err

  • Using the font WIngdings for (J)Labels

    Hello there, I would like to use the font Wingdings for a Label, but when I do so it shows rectangles. Could someone help me solve this problem? hvdboorn

  • Do not disconnect, but not showing up

    Hooked up ipod, it says "Do Not Disconnect" but it's not showing up. What should I do? And why the H#@$ isn't there a "Find my iPod" item or something for just this occasion?!? thanks, dp

  • IMovie & iTunes

    I am trying to share my iMovie with Quicktime or iDVD and it is telling me that "this computer is not authorized to play these songs from iTunes"! If anyone can help I would appreciate it. I didn't get good news from my one-to-one today. What the hec