Failure: Cannot connect to retrieve Database/current.zip: Internal Server E

Hello
I have installed an update connection proxy and I have registered it
smpatch get
patchpro.backout.directory - ""
patchpro.baseline.directory - /var/sadm/spool
patchpro.download.directory - /var/sadm/spool
patchpro.install.types - rebootafter:reconfigafter:standard
patchpro.patch.source - https://getupdates1.sun.com/
patchpro.patchset - current
patchpro.proxy.host - ""
patchpro.proxy.passwd **** ****
patchpro.proxy.port - 8080
patchpro.proxy.user - ""
patchsvr setup -l
Patch source URL: file:/patchsvr
Cache location: /export/home/proxycashe
I also did smpatch analyze > file
and I downloaded the patches (*.jar) and copied them to
/patchsvr/Patches
But I don't really now from where to get the files: current.zip and detectors.jar
I searched for them on the server and I found :
/var/sadm/spool/cache/Database/https%3A%2F%2Fgetupdates1.sun.com%2F%2FDatabase%2Fcurrent.zip
/var/sadm/spool/cache/https%3A%2F%2Fgetupdates1.sun.com%2F%2Fdetectors.jar
and I copyed them in /patchsvr/Database and /patchsvr/Misc
On an update connection client I did:
#smpatch set patchpro.patch.source=http://192.168.0.71:3816/solaris/
#smpatch analyze
Failure: Cannot connect to retrieve Database/current.zip: Internal Server Error
Can you please help me.
Thanks.

On the proxy I cannot execute:
# rm /var/sadm/spool/patchsvr/*current.zip
# rm /var/sadm/spool/patchsvr/*detectors.jar
because /var/sadm/spool/patchsvr/ is empty.
# patchsvr setup -l
Patch source URL: file:/patchsvr
Cache location: /export/home/proxycashe
On the client:
I removed the current.zip and detectors.jar
# smpatch get
patchpro.backout.directory - ""
patchpro.baseline.directory - /var/sadm/spool
patchpro.download.directory - /var/sadm/spool
patchpro.install.types - rebootafter:reconfigafter:standard
patchpro.patch.source http://192.168.0.71:3816/ https://getupdates1.sun.com/
patchpro.patchset - current
patchpro.proxy.host - ""
patchpro.proxy.passwd **** ****
patchpro.proxy.port - 8080
patchpro.proxy.user - ""
# smpatch analyze -C patchpro.log.level=3 -C patchpro.debug=true
Effective proxy host : ""
Effective proxy port : "8080"
Effective proxy user : ""
... Submitting download request against a GUUS server
... ... Hostname of URL is 192.168.0.71
... ... Filename of URL is /xml/motd.xml
... ... File path portion of URL is /xml/motd.xml
Defining request header : IF_MODIFIED_SINCE... valueThu Jan 01 02:00:00 EET 1970
... Caught IO Exception.
((HttpURLConnection)connection).getResponseCode() : 404
((HttpURLConnection)connection).getResponseMessage() : motd.xml not found
Error: Unable to download document : "xml/motd.xml"
Cannot connect to retrieve motd.xml: motd.xml not found
Unable to display any message of the day notices from Sun Microsystems. Refer to the log file for additional information.
Effective proxy host : ""
Effective proxy port : "8080"
Effective proxy user : ""
... Submitting download request against a GUUS server
... ... Hostname of URL is 192.168.0.71
... ... Filename of URL is /detector/detectors.jar
... ... File path portion of URL is /detector/detectors.jar
Effective proxy host : ""
Effective proxy port : "8080"
Effective proxy user : ""
Last Modified Date read: Thu Jan 01 02:00:00 EET 1970
... Submitting download request against a GUUS server
... ... Hostname of URL is 192.168.0.71
... ... Filename of URL is /database/current.zip
... ... File path portion of URL is /database/current.zip
Defining request header : IF_MODIFIED_SINCE... valueThu Jan 01 02:00:00 EET 1970
Key 1 : Content-Type = application/java-archive
Key 2 : Content-Length = 3750071
Key 3 : content-disposition = attachment; filename=detectors.jar
Key 4 : Date = Thu, 26 Jul 2007 05:26:25 GMT
Key 5 : Server = Apache Tomcat/4.0.5 (HTTP/1.1 Connector)
Key 6 : Content-length = 3750071
Defining request header : IF_MODIFIED_SINCE... valueThu Jan 01 02:00:00 EET 1970
Key 1 : Content-Type = application/zip
Key 2 : Content-Length = 323247
Key 3 : content-disposition = attachment; filename=current.zip
Key 4 : Date = Thu, 26 Jul 2007 05:26:26 GMT
Key 5 : Server = Apache Tomcat/4.0.5 (HTTP/1.1 Connector)
Key 6 : Content-length = 323247
Last Modified Date value written to /var/sadm/spool/cache/Database/http%3A%2F%2F192.168.0.71%3A3816%2F%2FDatabase%2Fcurrent.zip.lmd is 0
Date format for this value: Thu Jan 01 02:00:00 EET 1970
Last Modified Date file updated : /var/sadm/spool/cache/Database/http%3A%2F%2F192.168.0.71%3A3816%2F%2FDatabase%2Fcurrent.zip.lmd
Last Modified Date value written to /var/sadm/spool/cache/http%3A%2F%2F192.168.0.71%3A3816%2F%2Fdetectors.jar.lmd is 0
Date format for this value: Thu Jan 01 02:00:00 EET 1970
Last Modified Date file updated : /var/sadm/spool/cache/http%3A%2F%2F192.168.0.71%3A3816%2F%2Fdetectors.jar.lmd
Effective proxy host : ""
Effective proxy port : "8080"
Effective proxy user : ""
Effective proxy host : ""
Effective proxy port : "8080"
Effective proxy user : ""
... Submitting download request against a GUUS server
... ... Hostname of URL is 192.168.0.71
... ... Filename of URL is /entitlement/
... ... File path portion of URL is /entitlement/
Defining request header : IF_MODIFIED_SINCE... valueThu Jan 01 02:00:00 EET 1970
... Caught IO Exception.
((HttpURLConnection)connection).getResponseCode() : 404
((HttpURLConnection)connection).getResponseMessage() : default not found
Error: Unable to download entitlement information using the update server proxy.
Cannot connect to retrieve : default not found
# ls -laR /var/sadm/spool/cache
/var/sadm/spool/cache:
total 7358
drwxr-xr-x 6 root sys 512 Jul 26 08:25 .
drwxr-xr-x 3 root sys 512 Jul 19 00:25 ..
drwxr-xr-x 2 root root 512 Jul 26 08:25 Database
drwxr-xr-x 2 root root 512 Jul 26 08:26 entitlement
-rw-r--r-- 1 root root 3750071 Jul 26 08:25 http%3A%2F%2F192.168.0.71%3A3816%2F%2Fdetectors.jar
-rw-r--r-- 1 root root 14 Jul 26 08:25 http%3A%2F%2F192.168.0.71%3A3816%2F%2Fdetectors.jar.lmd
drwxr-xr-x 3 root sys 512 Jul 19 00:35 updatemanager
drwxr-xr-x 2 root root 512 Jul 26 08:26 xml
/var/sadm/spool/cache/Database:
total 662
drwxr-xr-x 2 root root 512 Jul 26 08:25 .
drwxr-xr-x 6 root sys 512 Jul 26 08:25 ..
-rw-r--r-- 1 root root 323247 Jul 26 08:25 http%3A%2F%2F192.168.0.71%3A3816%2F%2FDatabase%2Fcurrent.zip
-rw-r--r-- 1 root root 14 Jul 26 08:25 http%3A%2F%2F192.168.0.71%3A3816%2F%2FDatabase%2Fcurrent.zip.lmd
/var/sadm/spool/cache/entitlement:
total 4
drwxr-xr-x 2 root root 512 Jul 26 08:26 .
drwxr-xr-x 6 root sys 512 Jul 26 08:25 ..
/var/sadm/spool/cache/updatemanager:
total 6
drwxr-xr-x 3 root sys 512 Jul 19 00:35 .
drwxr-xr-x 6 root sys 512 Jul 26 08:25 ..
drwxr-xr-x 2 root sys 512 Jul 19 00:35 analysis.results
/var/sadm/spool/cache/updatemanager/analysis.results:
total 4
drwxr-xr-x 2 root sys 512 Jul 19 00:35 .
drwxr-xr-x 3 root sys 512 Jul 19 00:35 ..
/var/sadm/spool/cache/xml:
total 4
drwxr-xr-x 2 root root 512 Jul 26 08:26 .
drwxr-xr-x 6 root sys 512 Jul 26 08:25 ..

Similar Messages

  • Smpatch analyze: Failure: Cannot connect to retrieve Database/current.zip:

    I get the following error when I run smpatch analyze:
    Failure: Cannot connect to retrieve Database/current.zip: Connection reset
    I was successfully able to register the system, but keep getting this error with smpatch analyze. I snooped the traffic and saw packets to & from getupdates1.sun.com on port 443, so there is not a firewall problem.
    Did I miss a step in the installation?
    Thanks

    Looks like the root cause (to me at least) is confusion between the contracted support server and the public updates server. They appear not to be the same...
    Since late September all my Sol 8 "smpatch" clients were broken, giving me "Response code was 500" because the LPS / Update Connection Proxy was set to https://getupdates1.sun.com/ which is apparently the public site. ( https://getupdates.sun.com/ didn't work either.)
    My Solaris 10 clients were working fine through the LPS, however - or so I thought.
    When I just noticed that the patchpro.patch.source on Solaris 8 with 124270-01 is showing https://updateserver.sun.com/solaris/ as the default, I tried that as the LPS patch source URL, and now everything works again - for the first time in weeks.
    Disclaimer: We are a support contract customer, so I don't know if this info applies to everyone. My LPS has been registered (has "entitlement") since I set it up in February, so it was a complete surprise that Solaris 8 smpatch clients started failing even after I put 124270-01 on the client and 121118-08 on the Sol 10 LPS.
    Hope this helps...
    -- Stefan

  • Cannot connect to retrieve Database/current.zip

    I just completed a patch upgrade on the Solaris 10 machine that runs our local patch
    server. It needed several hundred patches, as it hadn't been patched since September.
    After that, the behavior of our Solaris 10 patch clients has changed. For example, on one
    client a few days earlier `smpatch analyze' had reported 218 patches. Now it reports only
    these three:
    119255-27 SunOS 5.10_x86: Install and Patch Utilities Patch
    121119-08 SunOS 5.10_x86: Sun Update Connection System Client 1.0.8
    119789-07 Synopsis: SunOS 5.10_x86: Sun Update Connection Proxy 1.0.9
    Our clients currently use `http://xxxxxx.yyyy.tld:3816/solaris/' as their patch source.
    Dropping the `solaris/' results in this error, complete with HTML tags, from
    `smpatch analyze':
    Failure: Cannot connect to retrieve Database/current.zip: <h1>/ Not Found</h1><p>The resource identified by / could not be found.</p>
    With the original patch source, `smpatch update' does apply the three patches. The
    next `smpatch analyze' reports that no patches are required, which is certainly
    incorrect! By dropping the `solaris/' again, `smpatch analyze' reports 221 patches.
    Suddenly, patching has become a very complicated process. We have to patch,
    change the patch source, and patch again. There's no longer a way to use the installed
    `smpatch' to obtain a list of required patches or to download them all. What can be
    done to solve this problem?

    You should only need to change the patch source this one time for each Solaris 10 client (Solaris 9 clients still use the "solaris/" source), in future you should not have a problem.
    By patching the local patch server, the Sun Update Connection Proxy sofware has been upgraded to a newer version which now serves patches for Solaris 10 clients from the location 'http://xxxxxx.yyyy.tld:3816/'. This source is compatible with clients at a patch level of 121119-08 or greater, hence the 3 patches still available at `http://xxxxxx.yyyy.tld:3816/solaris/' allow for this level to be reached for clients on older revisions.

  • Smpatch analyze error: Failure: Cannot connect to retrieve detectors: RSA p

    Has anyone seen this before?
    I just installed Sun Update Manager on a E250 running Solaris 10. I tried registering using the Wizard, but when I chose the "Apply updates manually" button, then Finish, I get the message: System registration failed; exiting application
    and the Wizard ends.
    Am I missing a step?

    Hi Scott:
    I have failures when doing registration via the GUI or smpatch from a shell. Output of smpatch command as follows:
    # smpatch analyze
    Failure: Cannot connect to retrieve detectors: Connection refused
    Relevant entries in /var/adm/messages (hostname is host01):
    Aug 25 21:40:29 host01 root: [ID 702911 user.crit]  => com.sun.patchpro.cli.PatchServices@5e3974 <=com.sun.patchpro.util.CannotConnectException: Cannot connect to retrieve detectors: Connection refused
    Aug 25 21:40:29 host01    at com.sun.patchpro.util.CachingDownloader.establishConnection(CachingDownloader.java:611)
    Aug 25 21:40:29 host01    at com.sun.patchpro.util.CachingDownloader.setSourceURL(CachingDownloader.java:273)
    Aug 25 21:40:29 host01    at com.sun.patchpro.util.CachingDownloader.setupCache(CachingDownloader.java:199)
    Aug 25 21:40:29 host01    at com.sun.patchpro.util.CachingDownloader.<init>(CachingDownloader.java:184)
    Aug 25 21:40:29 host01 root: [ID 702911 user.crit]  => com.sun.patchpro.cli.PatchServices@5e3974 <=       at com.sun.patchpro.server.ServerPatchServiceProvider.downloadFile(ServerPatchServiceProvider.java:746)
    Aug 25 21:40:29 host01    at com.sun.patchpro.server.ServerPatchServiceProvider.downloadRealizationDetectors(ServerPatchServiceProvider.java:568)
    Aug 25 21:40:29 host01    at com.sun.patchpro.server.PatchServerProxy.downloadRealizationDetectors(PatchServerProxy.java:121)
    Aug 25 21:40:29 host01    at com.sun.patchpro.analysis.HostAnalyzer$RealizationSetAuto.downloadDetectorsWithPOST(HostAnalyzer.java:1183)
    Aug 25 21:40:29 host01    at com.sun.patchpro.analysis.HostAnalyzer$RealizationSetAuto.downloadDetectors(HostAnalyzer.java:1154)
    Aug 25 21:40:29 host01 root: [ID 702911 user.crit]  => com.sun.patchpro.cli.PatchServices@5e3974 <=       at com.sun.patchpro.analysis.HostAnalyzer$RealizationSetAuto.prepare(HostAnalyzer.java:873)
    Aug 25 21:40:29 host01    at com.sun.patchpro.analysis.HostAnalyzer.downloadDetectors(HostAnalyzer.java:299)
    Aug 25 21:40:29 host01    at com.sun.patchpro.model.PatchProModel.downloadDetectors(PatchProModel.java:1764)
    Aug 25 21:40:29 host01    at com.sun.patchpro.model.PatchProStateMachine$4.run(PatchProStateMachine.java:245)
    Aug 25 21:40:29 host01    at com.sun.patchpro.util.State.run(State.java:266)
    Aug 25 21:40:29 host01 root: [ID 702911 user.crit]  => com.sun.patchpro.cli.PatchServices@5e3974 <=       at java.lang.Thread.run(Thread.java:595)
    Aug 25 21:40:29 host01 Caused by:
    Aug 25 21:40:29 host01 java.net.ConnectException: Connection refused
    Aug 25 21:40:29 host01    at java.net.PlainSocketImpl.socketConnect(Native Method)
    Aug 25 21:40:29 host01    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    Aug 25 21:40:29 host01 root: [ID 702911 user.crit]  => com.sun.patchpro.cli.PatchServices@5e3974 <=       at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    Aug 25 21:40:29 host01    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    Aug 25 21:40:29 host01    at java.net.Socket.connect(Socket.java:507)
    Aug 25 21:40:29 host01    at java.net.Socket.connect(Socket.java:457)
    Aug 25 21:40:29 host01    at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
    Aug 25 21:40:29 host01 root: [ID 702911 user.crit]  => com.sun.patchpro.cli.PatchServices@5e3974 <=       at sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
    Aug 25 21:40:29 host01    at sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
    Aug 25 21:40:29 host01    at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:280)
    Aug 25 21:40:29 host01    at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:337)
    Aug 25 21:40:29 host01    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:176)
    Aug 25 21:40:30 host01 root: [ID 702911 user.crit]  => com.sun.patchpro.cli.PatchServices@5e3974 <=       at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:736)
    Aug 25 21:40:30 host01    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:162)
    Aug 25 21:40:30 host01    at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:828)
    Aug 25 21:40:30 host01    at com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl.getOutputStream(HttpsURLConnectionOldImpl.java:200)
    Aug 25 21:40:30 host01    at com.sun.patchpro.util.Downloader.connectToURL(Downloader.java:294)
    Aug 25 21:40:30 host01 root: [ID 702911 user.crit]  => com.sun.patchpro.cli.PatchServices@5e3974 <=       at com.sun.patchpro.util.CachingDownloader.establishConnection(CachingDownloader.java:583)
    Aug 25 21:40:30 host01    at com.sun.patchpro.util.CachingDownloader.setSourceURL(CachingDownloader.java:273)
    Aug 25 21:40:30 host01    at com.sun.patchpro.util.CachingDownloader.setupCache(CachingDownloader.java:199)
    Aug 25 21:40:30 host01    at com.sun.patchpro.util.CachingDownloader.<init>(CachingDownloader.java:184)
    Aug 25 21:40:30 host01    at com.sun.patchpro.server.ServerPatchServiceProvider.downloadFile(ServerPatchServiceProvider.java:746)
    Aug 25 21:40:30 host01 root: [ID 702911 user.crit]  => com.sun.patchpro.cli.PatchServices@5e3974 <=       at com.sun.patchpro.server.ServerPatchServiceProvider.downloadRealizationDetectors(ServerPatchServiceProvider.java:568)
    Aug 25 21:40:30 host01    at com.sun.patchpro.server.PatchServerProxy.downloadRealizationDetectors(PatchServerProxy.java:121)
    Aug 25 21:40:30 host01    at com.sun.patchpro.analysis.HostAnalyzer$RealizationSetAuto.downloadDetectorsWithPOST(HostAnalyzer.java:1183)
    Aug 25 21:40:30 host01    at com.sun.patchpro.analysis.HostAnalyzer$RealizationSetAuto.downloadDetectors(HostAnalyzer.java:1154)
    Aug 25 21:40:30 host01    at com.sun.patchpro.analysis.HostAnalyzer$RealizationSetAuto.prepare(HostAnalyzer.java:873)
    Aug 25 21:40:30 host01 root: [ID 702911 user.crit]  => com.sun.patchpro.cli.PatchServices@5e3974 <=       at com.sun.patchpro.analysis.HostAnalyzer.downloadDetectors(HostAnalyzer.java:299)
    Aug 25 21:40:30 host01    at com.sun.patchpro.model.PatchProModel.downloadDetectors(PatchProModel.java:1764)
    Aug 25 21:40:30 host01    at com.sun.patchpro.model.PatchProStateMachine$4.run(PatchProStateMachine.java:245)
    Aug 25 21:40:30 host01    at com.sun.patchpro.util.State.run(State.java:266)
    Aug 25 21:40:30 host01    at java.lang.Thread.run(Thread.java:595)This is about all the information regarding this problem I have been able to find on the system.
    Hope you can help.
    Ben.

  • [lps] Cannot connect to retrieve detectors.jar

    Hello,
    I am on Solaris 10 sparc.
    I am unable to download patches via smpatch download or smpatch update either from my LPS or from other hosts on my network.
    The only thing that is working well is smpatch analyze on hosts other than the lps.
    I have this error message when doing smpatch :
    From my lps server
    smpatch analyze
    Failure: Cannot connect to retrieve current2.zip: Remote host closed connection during handshake
    From other hosts through lps :
    smpatch analyze ok.
    smpatch update -i 119788-10
    Installing patches from /var/sadm/spool...
    WARNING: The installer cannot find the patch.
    I worked fine few days ago.
    On my lps, I stopped patchsvr, removed every file in /var/sadm/spool/cache and in /var/sadm/spool/patchsvr and restart patchsvr. Nothing better.
    The patchsvr catalina.out shows this when doing smpatch update from another host :
    10 août 2009 17:47:53 com.sun.swup.updateserver.PatchsvrServlet processRequest
    INFO: User-Agent: SunUC_smpatch/1.0.10 Solaris 10 10/08 s10s_u6wos_07b SPARC Java/1.5.0_16
    /usr/lib/cc-ccr/bin/ccr -g cns.patchsvr.patchsource
    /usr/lib/cc-ccr/bin/ccr -g cns.patchsvr.patchsource
    /usr/lib/cc-ccr/bin/ccr -g cns.patchsvr.patchsource
    10 août 2009 17:47:54 com.sun.swup.updateserver.handler.CachingProxyHandler isCached
    INFO: Content Cache Entry for key : /database/current2.zip is null!
    10 août 2009 17:47:54 com.sun.swup.updateserver.handler.CachingProxyHandler isCached
    INFO: Cache Entry File for key : /database/current2.zip is null!
    /usr/lib/cc-ccr/bin/ccr -g cns.patchsvr.patchsource
    /usr/lib/cc-ccr/bin/ccr -g cns.httpproxy.ipaddr
    /usr/lib/cc-ccr/bin/ccr -g cns.httpproxy.ipaddr
    /usr/lib/cc-ccr/bin/ccr -g cns.httpproxy.port
    /usr/lib/cc-ccr/bin/ccr -g cns.httpproxy.ipaddr
    /usr/lib/cc-ccr/bin/ccr -g cns.httpproxy.port
    /usr/lib/cc-ccr/bin/ccr -g cns.httpproxy.auth
    /usr/lib/cc-ccr/bin/ccr -g cns.patchsvr.patchsource
    10 août 2009 17:47:55 com.sun.swup.updateserver.net.ConnectionFactory getConnection
    INFO: Connecting to https://getupdates1.sun.com/
    /usr/lib/cc-ccr/bin/ccr -g cns.assetid
    10 août 2009 17:48:00 com.sun.swup.updateserver.PatchsvrServlet processRequest
    INFO: User-Agent: SunUC_smpatch/1.0.10 Solaris 10 10/08 s10s_u6wos_07b SPARC Java/1.5.0_16
    /usr/lib/cc-ccr/bin/ccr -g cns.patchsvr.patchsource
    /usr/lib/cc-ccr/bin/ccr -g cns.patchsvr.patchsource
    /usr/lib/cc-ccr/bin/ccr -g cns.patchsvr.patchsource
    10 août 2009 17:48:00 com.sun.swup.updateserver.handler.CachingProxyHandler isCached
    INFO: Content Cache Entry for key : /xml/motd.xml is null!
    10 août 2009 17:48:00 com.sun.swup.updateserver.handler.CachingProxyHandler isCached
    INFO: Cache Entry File for key : /xml/motd.xml is null!
    /usr/lib/cc-ccr/bin/ccr -g cns.patchsvr.patchsource
    /usr/lib/cc-ccr/bin/ccr -g cns.httpproxy.ipaddr
    /usr/lib/cc-ccr/bin/ccr -g cns.httpproxy.ipaddr
    /usr/lib/cc-ccr/bin/ccr -g cns.httpproxy.port
    /usr/lib/cc-ccr/bin/ccr -g cns.httpproxy.ipaddr
    /usr/lib/cc-ccr/bin/ccr -g cns.httpproxy.port
    /usr/lib/cc-ccr/bin/ccr -g cns.httpproxy.auth
    /usr/lib/cc-ccr/bin/ccr -g cns.patchsvr.patchsource
    10 août 2009 17:48:02 com.sun.swup.updateserver.net.ConnectionFactory getConnection
    INFO: Connecting to https://getupdates1.sun.com/
    /usr/lib/cc-ccr/bin/ccr -g cns.assetid
    10 août 2009 17:48:02 com.sun.swup.updateserver.PatchsvrServlet processRequest
    INFO: User-Agent: SunUC_smpatch/1.0.10 Solaris 10 10/08 s10s_u6wos_07b SPARC Java/1.5.0_16
    /usr/lib/cc-ccr/bin/ccr -g cns.patchsvr.patchsource
    /usr/lib/cc-ccr/bin/ccr -g cns.patchsvr.patchsource
    /usr/lib/cc-ccr/bin/ccr -g cns.patchsvr.patchsource
    10 août 2009 17:48:03 com.sun.swup.updateserver.handler.CachingProxyHandler isCached
    INFO: Content Cache Entry for key : /xml/motd.xml is null!
    10 août 2009 17:48:03 com.sun.swup.updateserver.handler.CachingProxyHandler isCached
    INFO: Cache Entry File for key : /xml/motd.xml is null!
    /usr/lib/cc-ccr/bin/ccr -g cns.patchsvr.patchsource
    /usr/lib/cc-ccr/bin/ccr -g cns.httpproxy.ipaddr
    /usr/lib/cc-ccr/bin/ccr -g cns.httpproxy.ipaddr
    /usr/lib/cc-ccr/bin/ccr -g cns.httpproxy.port
    /usr/lib/cc-ccr/bin/ccr -g cns.httpproxy.ipaddr
    /usr/lib/cc-ccr/bin/ccr -g cns.httpproxy.port
    /usr/lib/cc-ccr/bin/ccr -g cns.httpproxy.auth
    /usr/lib/cc-ccr/bin/ccr -g cns.patchsvr.patchsource
    10 août 2009 17:48:04 com.sun.swup.updateserver.net.ConnectionFactory getConnection
    INFO: Connecting to https://getupdates1.sun.com/
    /usr/lib/cc-ccr/bin/ccr -g cns.assetid
    10 août 2009 17:48:15 com.sun.swup.updateserver.PatchsvrServlet processRequest
    INFO: User-Agent: SunUC_smpatch/1.0.10 Solaris 10 10/08 s10s_u6wos_07b SPARC Java/1.5.0_16
    /usr/lib/cc-ccr/bin/ccr -g cns.patchsvr.patchsource
    /usr/lib/cc-ccr/bin/ccr -g cns.patchsvr.patchsource
    /usr/lib/cc-ccr/bin/ccr -g cns.patchsvr.patchsource
    10 août 2009 17:48:15 com.sun.swup.updateserver.handler.CachingProxyHandler isCached
    INFO: Content Cache Entry for key : /entitlement/ is null!
    10 août 2009 17:48:15 com.sun.swup.updateserver.handler.CachingProxyHandler isCached
    INFO: Cache Entry File for key : /entitlement/ is null!
    /usr/lib/cc-ccr/bin/ccr -g cns.patchsvr.patchsource
    /usr/lib/cc-ccr/bin/ccr -g cns.httpproxy.ipaddr
    /usr/lib/cc-ccr/bin/ccr -g cns.httpproxy.ipaddr
    /usr/lib/cc-ccr/bin/ccr -g cns.httpproxy.port
    /usr/lib/cc-ccr/bin/ccr -g cns.httpproxy.ipaddr
    /usr/lib/cc-ccr/bin/ccr -g cns.httpproxy.port
    /usr/lib/cc-ccr/bin/ccr -g cns.httpproxy.auth
    /usr/lib/cc-ccr/bin/ccr -g cns.patchsvr.patchsource
    10 août 2009 17:48:17 com.sun.swup.updateserver.net.ConnectionFactory getConnection
    INFO: Connecting to https://getupdates1.sun.com/
    /usr/lib/cc-ccr/bin/ccr -g cns.assetid
    10 août 2009 17:48:17 com.sun.swup.updateserver.PatchsvrServlet processRequest
    INFO: User-Agent: SunUC_smpatch/1.0.10 Solaris 10 10/08 s10s_u6wos_07b SPARC Java/1.5.0_16
    /usr/lib/cc-ccr/bin/ccr -g cns.patchsvr.patchsource
    /usr/lib/cc-ccr/bin/ccr -g cns.patchsvr.patchsource
    /usr/lib/cc-ccr/bin/ccr -g cns.patchsvr.patchsource
    10 août 2009 17:48:18 com.sun.swup.updateserver.handler.CachingProxyHandler isCached
    INFO: Content Cache Entry for key : /crl/335544443 is null!
    10 août 2009 17:48:18 com.sun.swup.updateserver.handler.CachingProxyHandler isCached
    INFO: Cache Entry File for key : /crl/335544443 is null!
    /usr/lib/cc-ccr/bin/ccr -g cns.patchsvr.patchsource
    /usr/lib/cc-ccr/bin/ccr -g cns.httpproxy.ipaddr
    /usr/lib/cc-ccr/bin/ccr -g cns.httpproxy.ipaddr
    /usr/lib/cc-ccr/bin/ccr -g cns.httpproxy.port
    /usr/lib/cc-ccr/bin/ccr -g cns.httpproxy.ipaddr
    /usr/lib/cc-ccr/bin/ccr -g cns.httpproxy.port
    /usr/lib/cc-ccr/bin/ccr -g cns.httpproxy.auth
    /usr/lib/cc-ccr/bin/ccr -g cns.patchsvr.patchsource
    10 août 2009 17:48:19 com.sun.swup.updateserver.net.ConnectionFactory getConnection
    INFO: Connecting to https://getupdates1.sun.com/
    /usr/lib/cc-ccr/bin/ccr -g cns.assetid
    Could you help me find what is going on.

    I appplied once more the workaround described in this reply :
    [m-10537320#10537320]
    and it did it.
    Seems it means that we have to check these two scripts (/usr/sbin/pprosvc, /usr/bin/updatemanager) every time some new patches concerning Sun Update Connection are applied, (at least) when the java 1.6 version is NOT currently installed on the system !

  • Failure - Cannot connect to Microsoft SQL Server on localhost

    Hi!
    I have a sqlserver installation on localhost and I want to connect with sqldeveloper.
    I fill connection name, username, password, hostname: localhost port: 1433
    and then click on retrieve database.
    I get the following error message: "Status: Failure - Cannot connect to Microsoft
    SQL Server on localhost"
    I don't know the reason. I can use another connection to another ms sql server
    and it's no problem, but can't connect to localhost.
    I have special signs in my computername, for example a "-". Is this the problem?
    How can I solve it?
    Thank you
    Andreas

    I am able to successfully connect to my local SQLEXPRESS instance using the following settings:
    Hostname: localhost
    Port: 1433/DBName;instance=SQLEXPRESS
    Even though I use this to connect, I cannot open a tcp connection to port 1433 via telnet. I believe this goes hand in hand with specifying the instance. As I understand it, there are two ways to specify the port, one is directly, the other is through a named instance (another port is used as a service to look up the correct port). SQL Server 2005 appears to prefer named instances instead of specific ports. When "instance" is specified, the port can actually be any number, the driver apparently ignores it.
    The Retrieve database (list) appears to be only for informational purposes. I have to specify the database in the Port field (DBName) regardless of what I have selected in this list.
    Hope this helps!
    PS: Retrieve database will give that error until instance is specified in my case.
    Edited by: flszen on Feb 4, 2009 1:29 PM

  • BIB-16633 Cannot connect because the database version is incompatible with

    BIB-16633 Cannot connect because the database version is incompatible with Feb 15, 2005 9:28 PM
    Reply
    why is this?
    oracle.dss.connection.common.ConnectionException: BIB-16633 Cannot connect because the database version is incompatible with this BI Beans version.
    at oracle.dss.connection.server.drivers.mdm.MDMConnectionDriverImpl.connect(MDMConnectionDriverImpl.java:147)
    at oracle.dss.connection.server.ConnectionImpl.connect(ConnectionImpl.java:285)
    at oracle.dss.connection.client.Connection.connect(Connection.java:425)
    at oracle.dss.connection.client.Connection.connect(Connection.java:342)
    at oracle.dss.addins.designer.OLAPSource.test(OLAPSource.java:284)
    at oracle.dss.addins.wizard.configFileEditor.OlapPanel.testConnection(OlapPanel.java:244)
    at oracle.dss.addins.wizard.configFileEditor.OlapPanel.btnTest_actionPerformed(OlapPanel.java:378)
    at oracle.dss.addins.wizard.configFileEditor.OlapPanel$3.actionPerformed(OlapPanel.java:120)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
    at java.awt.Component.processMouseEvent(Component.java:5100)
    at java.awt.Component.processEvent(Component.java:4897)
    at java.awt.Container.processEvent(Container.java:1569)
    at java.awt.Component.dispatchEventImpl(Component.java:3615)
    at java.awt.Container.dispatchEventImpl(Container.java:1627)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
    at java.awt.Container.dispatchEventImpl(Container.java:1613)
    at java.awt.Window.dispatchEventImpl(Window.java:1606)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
    at java.awt.Dialog$1.run(Dialog.java:540)
    at java.awt.Dialog.show(Dialog.java:561)
    at java.awt.Component.show(Component.java:1133)
    at java.awt.Component.setVisible(Component.java:1088)
    at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
    at oracle.dss.addins.wizard.configFileEditor.ConfigFileEditorWizard.run(ConfigFileEditorWizard.java:229)
    at oracle.dss.addins.designer.BIDesignerImpl.editConfigFile(BIDesignerImpl.java:1428)
    at oracle.dss.addins.designer.BIDesignerAddin.openBIDesignerSettings(BIDesignerAddin.java:990)
    at oracle.dss.addins.designer.BIDesignerAddin.actionPerformed(BIDesignerAddin.java:807)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1113)
    at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943)
    at java.awt.Component.processMouseEvent(Component.java:5100)
    at java.awt.Component.processEvent(Component.java:4897)
    at java.awt.Container.processEvent(Container.java:1569)
    at java.awt.Component.dispatchEventImpl(Component.java:3615)
    at java.awt.Container.dispatchEventImpl(Container.java:1627)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
    at java.awt.Container.dispatchEventImpl(Container.java:1613)
    at java.awt.Window.dispatchEventImpl(Window.java:1606)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Lisa Sherriff
    Posts: 137
    OTN Member Since: Jan, 2001
    Re: BIB-16633 Cannot connect because the database version is incompatible w ( In Reply To : BIB-16633 Cannot connect because the database version is incompatible with ) Feb 16, 2005 1:32 AM
    Reply
    Hi,
    From the 10.1.2 BI Beans Install Guide it says:
    OracleBI Beans supports data stored in Oracle9i Enterprise Edition or Oracle Database 10g Enterprise Edition. However, only particular releases and patchsets are supported:
    * Oracle9i Release 2 Enterprise Edition, as follows:
    o 9.2.0.6 for all platforms.
    o 9.2.0.5 with the latest OLAP patch for Windows-only.
    * Oracle Database 10g Release 1 Enterprise Edition with the latest OLAP patch.
    From the error message it would appear that the Database is not one of the above.
    Thanks,
    Lisa
    JDev QA
    401488
    Posts: 48
    OTN Member Since: Aug, 2002
    Re: BIB-16633 Cannot connect because the database version is incompatible with ( In Reply To : BIB-16633 Cannot connect because the database version is incompatible with ) Feb 18, 2005 8:01 PM
    Reply
    Hi,
    Please note that we have follwing versions of DB up and running:-
    1)Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    2)Oracle9i Enterprise Edition Release 9.2.0.5.0 - Production
    With the Partitioning and Real Application Clusters options
    JServer Release 9.2.0.5.0 - Production
    Pls let us know the solution to resolve this problem ASAP.
    Thanks.

    You are not using a supported version of the database. BI Beans/OLAP only support the following database versions:
    10g - 10.1.0.3 with additional OLAP patch
    9i - 9205 with additional OLAP patch
    9i - 9206
    I would suggest that you have not applied all the required database patches to your instance.
    Hope this helps
    Business Intelligence Beans Product Management Team
    Oraclc Corporation

  • VB6 source code cannot connect to Oracle database after compile to file.exe

    Hi All,
    I have a problem about VB6 connect with Oracle database. It can connect as normal when run on VB program. After compiled to file.exe and execute, it cannot connect to Oracle database. What's going on ? Please advise? Thank you.
    Here is sample of my code connection.
    Option Explicit
    Private wsData As New ADODB.Connection
    wsData.ConnectionString = _
    "Provider=MSDAORA.1;User ID=lsp;Password=lsp2007;Data Source=prd01;Persist Security Info=False"
    wsData.Open
    End sub
    Rgads,
    Ats.

    Hi,
    I believe you're in the wrong forum, this forum is for Oracle Application Express.

  • Cannot connect to the database. java.sql.SQLException:

    Hi,
    I am trying to connect to Pointbase database through an applcation written under J2EE environment. I am able to connect with other database under Pointbase. I am trying to connect using the code as follows:
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    con=DriverManager.getConnection("Jdbc:Odbc:study", dbUserID, dbPassword);
    and I am getting the Exception as shown delow :
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: access denied (java.lang.RuntimePermission exitVM)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:306)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:324)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:289)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:205)
    root cause
    java.security.AccessControlException: access denied (java.lang.RuntimePermission exitVM)
         java.security.AccessControlContext.checkPermission(AccessControlContext.java:269)
         java.security.AccessController.checkPermission(AccessController.java:401)
         java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
         java.lang.SecurityManager.checkExit(SecurityManager.java:736)
         com.sun.enterprise.J2EESecurityManager.checkExit(J2EESecurityManager.java:70)
         java.lang.Runtime.exit(Runtime.java:88)
         java.lang.System.exit(System.java:715)
         org.apache.jsp.login_jsp._jspService(login_jsp.java:76)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:141)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:306)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:324)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:289)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:205)
    note The full stack trace of the root cause is available in the Sun-Java-System/Application-Server-PE-8.0 logs.
    Sun-Java-System/Application-Server-PE-8.0
    Please help.
    NNJ

    Thanks for the reply. I have attached the server.log herewith :
    [#|2008-10-05T11:44:45.945+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.admin|_ThreadID=12;|ADM1006:Uploading the file to:[C:\Documents and Settings\Administrator\Local Settings\Temp\s1astempdomain1server-1629282413\server\study.war]|#]
    [#|2008-10-05T11:44:45.955+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.admin|_ThreadID=12;|ADM1007:Uploaded the remote file at: [C:\Documents and Settings\Administrator\Local Settings\Temp\s1astempdomain1server-1629282413\server\study.war]|#]
    [#|2008-10-05T11:44:46.225+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.admin|_ThreadID=12;|ADM1041:Sent the event to instance:[ModuleDeployEvent -- undeploy web/study]|#]
    [#|2008-10-05T11:44:46.686+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.admin|_ThreadID=12;|ADM1042:Status of dynamic reconfiguration event processing:[success]|#]
    [#|2008-10-05T11:44:47.947+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.deployment|_ThreadID=12;|DPL5109: EJBC - START of EJBC for [study]|#]
    [#|2008-10-05T11:44:47.977+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.deployment|_ThreadID=12;|Processing beans ...|#]
    [#|2008-10-05T11:44:47.987+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.deployment|_ThreadID=12;|DPL5110: EJBC - END of EJBC for [study]|#]
    [#|2008-10-05T11:44:48.158+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.deployment|_ThreadID=12;|Total Deployment Time: 2043 msec, Total EJB Compiler Module Time: 40 msec, Portion spent EJB Compiling: 1%
    Breakdown of EJBC Module Time: Total Time for EJBC: 40 msec, CMP Generation: 0 msec (0%), Java Compilation: 0 msec (0%), RMI Compilation: 0 msec (0%), JAX-RPC Generation: 0 msec (0%),
    |#]
    [#|2008-10-05T11:44:48.278+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.deployment|_ThreadID=12;|deployed with moduleid = study|#]
    [#|2008-10-05T11:44:48.378+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.admin|_ThreadID=12;|ADM1041:Sent the event to instance:[ModuleDeployEvent -- deploy web/study]|#]
    [#|2008-10-05T11:44:48.488+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.container.web|_ThreadID=12;|WEB0100: Loading web module [study] in virtual server [server] at [study]|#]
    [#|2008-10-05T11:44:51.202+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.admin|_ThreadID=12;|ADM1042:Status of dynamic reconfiguration event processing:[success]|#]
    [#|2008-10-05T11:46:06.771+0530|WARNING|sun-appserver-pe8.0|javax.enterprise.system.stream.err|_ThreadID=16;|Cannot connect to the database. java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified|#]
    [#|2008-10-05T11:46:06.871+0530|SEVERE|sun-appserver-pe8.0|javax.enterprise.system.container.web|_ThreadID=16;|StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
    java.security.AccessControlException: access denied (java.lang.RuntimePermission exitVM)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:269)
         at java.security.AccessController.checkPermission(AccessController.java:401)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
         at java.lang.SecurityManager.checkExit(SecurityManager.java:736)
         at com.sun.enterprise.J2EESecurityManager.checkExit(J2EESecurityManager.java:70)
         at java.lang.Runtime.exit(Runtime.java:88)
         at java.lang.System.exit(System.java:715)
         at org.apache.jsp.login_jsp._jspService(login_jsp.java:76)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:141)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:306)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:289)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:205)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:283)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:102)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:192)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:156)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:569)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:261)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:215)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:156)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:569)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:200)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:156)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:180)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:154)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:582)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:154)
         at com.sun.enterprise.webservice.EjbWebServiceValve.invoke(EjbWebServiceValve.java:134)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:154)
         at com.sun.enterprise.security.web.SingleSignOn.invoke(SingleSignOn.java:254)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:154)
         at com.sun.enterprise.web.VirtualServerValve.invoke(VirtualServerValve.java:209)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:154)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:569)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:161)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:156)
         at com.sun.enterprise.web.VirtualServerMappingValve.invoke(VirtualServerMappingValve.java:166)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:154)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:569)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:979)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:211)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:692)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:647)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:691)
         at java.lang.Thread.run(Thread.java:534)
    |#]
    regards,
    NNJ

  • To find the user processes that are connected to a database currently ??

    Hi,
    I wish to find the user processes that are connected to a database currently.
    How to find this ?
    any specific table/view for this ??
    Thanks.

    Hi..
    You can use
    SELECT NVL(s.username, '(oracle)') AS username,
    s.osuser,
    s.sid,
    s.serial#,
    p.spid,
    s.status,
    s.module,
    s.machine,
    s.program,
    TO_CHAR(s.logon_Time,'DD-MON-YYYY HH24:MI:SS') AS logon_time
    FROM v$session s,
    v$process p
    WHERE s.paddr = p.addr
    ORDER BY s.username, s.osuser;
    HTH
    Anand

  • I cannot log in to volume purchasing--an internal server error has occurred

    I cannot log in to volume purchasing--an internal server error has occurred

    just tried again and got XML code.

  • MSSQL Homogeneous System Copy : SAPINST cannot connect to default database

    Hello.
    We want to perform a homogeneous system copy, following Note 151603.
    We have attached the source DB (RP1) to the destination DB (RD4) following the above mentioned Note.
    Now, logged to the server as DOMAIN\rd4adm , we want to execute the SAPINST, as indicated in the Note 683447, but when giving the password for user rd4adm we get a pop up
    Cannot connect to R3SVIL\RD4 [SQL Server]Cannot open user default database. Login failed.
    R3SVIL is the server. Login is done with windows authentication (connected as domain\rd4adm)
    We cannot find a Note descibing this issue and how to fix it, must be something with user : does anybody have suggestion or solution?
    Thanks a lot,
        Dino

    Hi,
    did you apply SAP note 551915 - R/3 won't start after database restore or database copy
    also check Note 806925 - SQL Error 4064: Cannot open user default database
    regards,
    kaushal

  • Cannot connect to Oracle database from SQL Server

    Hi
    We have set up a SQL Server linked server and tried to use this SQL Server linked server to connect to Oracle database. We are using SQL Server 2008 and Oracle client 11g 11.02.00.01. However, we got this error message:
    Msg 7347, Level 16, State 1, Line 1
    OLE DB provider 'OraOLEDB.Oracle' for linked server 'OurLinkedServer' returned data that does not match expected data length for column '[OraOLEDB.Oracle].Ourfieldname'. The (maximum) expected data length is 6, while the returned data length is 2.
    We are able to connect some of the tables ok but some of the tables are not connected and got the above error message.
    Any suggestions are greatly appreciated.
    Thanks a lot
    Tom

    Hi
    Here is more information. We just found out that the Oracle database team changed the character set to something else and then they changed it back to UTF8.
    Currently, it is using UTF8 character set on the Oracle side. Will this causing us this error message on our sql server linked server?
    The error message said "The (maximum) expected data length is 6, while the returned data length is 2."
    This refers to a field/column with char(1)
    Any suggestions are greatly appreciated
    Thank you
    Tom

  • Cannot connect to MySQL database

    Hi
    I'm new to flex builder 3... and have therefore looked at
    lynda.com to learn about the product and get started fast. And here
    they show you how to create a connection to a MySQL database using
    MAMP on a mac (or WAMP on the PC) - I'm on the mac ;-).
    I have installed the MAMP server with both MySQL, Apache and
    PHP running on defalt ports. And I have created a simple database
    in MySQL... The site is running fine and so is the MySQL (I have
    tested with simple HTML etc)... but when I try to connect to the
    database using the wizard in Flex, I get the following message:
    Unable to connect to the database....
    If I look at the details it say (hold on):
    com.mysql.jdbc.CommunicationsException: Communications link
    failure due to underlying exception:
    ** BEGIN NESTED EXCEPTION **
    java.net.SocketException
    MESSAGE: java.net.NoRouteToHostException: No route to host
    STACKTRACE:
    java.net.SocketException: java.net.NoRouteToHostException: No
    route to host
    at
    com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156)
    at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:284)
    at
    com.mysql.jdbc.Connection.createNewIO(Connection.java:2555)
    at
    com.mysql.jdbc.Connection.<init>(Connection.java:1485)
    at
    com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
    at
    org.eclipse.datatools.connectivity.db.generic.JDBCConnection.createConnection(JDBCConnect ion.java:87)
    at
    org.eclipse.datatools.connectivity.DriverConnectionBase.internalCreateConnection(DriverCo nnectionBase.java:104)
    at
    org.eclipse.datatools.connectivity.DriverConnectionBase.open(DriverConnectionBase.java:53 )
    at
    org.eclipse.datatools.connectivity.db.generic.JDBCConnectionFactory.createConnection(JDBC ConnectionFactory.java:52)
    at
    org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(Co nnectionFactoryProvider.java:77)
    at
    org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(Connection Profile.java:354)
    at
    com.adobe.datatools.derived.wizards.BaseConnectionProfilePage.testConnectionSimple(BaseCo nnectionProfilePage.java:70)
    at
    com.adobe.datatools.derived.wizards.BaseConnectionProfilePage.testConnection(BaseConnecti onProfilePage.java:51)
    at
    org.eclipse.datatools.connectivity.ui.wizards.ConnectionProfileDetailsPage$1.widgetSelect ed(ConnectionProfileDetailsPage.java:85)
    at
    org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
    at
    org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at
    org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1495)
    at
    org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1519)
    at
    org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1504)
    at
    org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1295)
    at
    org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3350)
    at
    org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2954)
    at
    org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
    at org.eclipse.jface.window.Window.open(Window.java:796)
    at
    com.adobe.flexbuilder.dbwizard.ui.DbWizard$8.widgetSelected(DbWizard.java:598)
    at
    org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
    at
    org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at
    org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1495)
    at
    org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1519)
    at
    org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1504)
    at
    org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1295)
    at
    org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3350)
    at
    org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2954)
    at
    org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
    at org.eclipse.jface.window.Window.open(Window.java:796)
    at
    com.adobe.flexbuilder.dbwizard.actions.DBWizardAction.run(DBWizardAction.java:69)
    at
    org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:256)
    at
    org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
    at
    org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionI tem.java:546)
    at
    org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
    at
    org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java :402)
    at
    org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at
    org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1495)
    at
    org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1519)
    at
    org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1504)
    at
    org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1295)
    at
    org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3350)
    at
    org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2954)
    at
    org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
    at
    org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
    at
    org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
    at
    org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
    at
    org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
    at
    org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
    at
    org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at
    com.adobe.flexbuilder.standalone.FlexBuilderApplication.start(FlexBuilderApplication.java :112)
    at
    org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
    at
    org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:106)
    at
    org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:76)
    at
    org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
    at
    org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at
    org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
    ** END NESTED EXCEPTION **
    .... and more ...
    What the h.. does that mean - Plz advice someoone ... I'm
    really stock here ;-(
    Kind regards
    Brian

    Thanks for the answer, but I must be doing something very
    wrong - as I still havn't found the correct solution ;-(
    I have as mentioned tried both the default MySQL port (3306)
    and the one used by MAMP (8889) but without any luck.
    I do restart the MySQL server each time - and MAMP even does
    that by default when changing the port number.
    If I open myphpadmin the DB is running and as told I can
    connect to it using Dreamwaever...
    But If I run the command "telnet localhost 8889" you told my
    to, in terminal I get the following message:
    Trying ::1...
    telnet: connect to address ::1: Connection refused
    Trying fe80::1...
    telnet: connect to address fe80::1: Connection refused
    Trying 127.0.0.1...
    telnet: connect to address 127.0.0.1: Connection refused
    telnet: Unable to connect to remote host
    So here it looks as if I can't connect ??? The same happens
    if I try the default port 3306.
    Everytime I test in the wizard I get the message:
    com.mysql.jdbc.CommunicationsException: Communications link
    failure due to underlying exception:
    ** BEGIN NESTED EXCEPTION **
    java.net.SocketException
    MESSAGE: java.net.NoRouteToHostException: No route to host
    STACKTRACE:
    java.net.SocketException: java.net.NoRouteToHostException: No
    route to host
    at
    com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:....
    etc
    And yes it is the Data -> Create Application from Database
    wizard that I'm trying to use.
    I don't undersatnd why the lynda.com video tell that it is
    important to change the MAMP's settings to the default port instead
    of using the MAMP ports, when you say it is not like that ? They
    even show how to disable the default Apache webserver to use the
    MAMP one on port 80.
    Hope the terminal message can give someone a hint to the
    posible problem.
    Thanks in advance

  • Cannot Connect to Oracle8 database

    I'm a newbie to the oracle world. I have a problem connecting to an Oracle8 database. I use the Oracle Administration Assistant, right click on the database, type in the net name and my user name and password.
    I get a message: ORA-01017: invalid username/password; logon denied
    I am listed as a database admin and I have checked my username and password.
    This happens for everyone that tries to connect to the database. I have one user in particular that is a database admin, she needs to connect through crystal reports but cannot.
    Any Ideas how to get in?
    Help!!!!

    I get a message: ORA-01017: invalid username/password; logon deniedthis error message gave you the reason. Ask your dba to check if the username is correct or change the password for it.
    SQL> conn noexistuser/abc
    ERROR:
    ORA-01017: invalid username/password; logon denied
    Warning: You are no longer connected to ORACLE.
    SQL> conn /
    Connected.
    SQL> select username from dba_users where username='SCOTT';
    USERNAME
    SCOTT
    SQL> conn scott/thisiswrongpassword
    ERROR:
    ORA-01017: invalid username/password; logon denied
    Warning: You are no longer connected to ORACLE.

Maybe you are looking for