SQL Developer Error when connecting to Listener on Glassfish

I am having some issues with connecting to Apex Listener via SQL Developer. I get "cannot connect to connection" when I attempt to connect.
I do get apex pages (when I use the Glassfish default port - it doesn't seem to take the specified port which is defined as 7788 in the apex.properties at the config.dir location).
I have defined the user via the war config (which is written to the credentials file), and added the users under default config > file realm in Glassfish.
I wonder if anyone has had a similar issue?
I am using the following:
Glassfish 3.1.2.2
Apex Listener 2.0.2.133.14.50
SQL Dev 3.2.09
Edited by: Steve_Macleod on May 24, 2013 2:42 PM
Edited by: Steve_Macleod on May 24, 2013 2:57 PM

Steve_Macleod wrote:
I am having some issues with connecting to Apex Listener via SQL Developer. I get "cannot connect to connection" when I attempt to connect.
I do get apex pages (when I use the Glassfish default port - it doesn't seem to take the specified port which is defined as 7788 in the apex.properties at the config.dir location). The port specified in apex.properties is only used by Standalone Mode, the port that GlassFish uses is configured by GlassFish, not Listener.
I have defined the user via the war config (which is written to the credentials file), and added the users under default config > file realm in Glassfish.You only need to do the former, doing the latter should have no effect, I would remove the user in the GlassFish file realm, to avoid causing confusion.
I wonder if anyone has had a similar issue?
Ensure you have spelt the role name correctly when setting up the user, any typos (it is case sensitive) and it won't match the role, and will therefore refuse access.
You have disabled SSL verfication as well? (If you are not using SSL)
http://docs.oracle.com/cd/E37099_01/doc/doc.20/e25066/install.htm#CHDJFAAI
If neither of those work, try turning on logging in the Listener to see if the request is even reaching Listener (It sounds like it's not even connecting TBH).
https://cdivilly.wordpress.com/2013/03/11/configuring-logging-with-oracle-application-express-listener-and-glassfish/
I am using the following:
Glassfish 3.1.2.2
Apex Listener 2.0.2.133.14.50
SQL Dev 3.2.09
Edited by: Steve_Macleod on May 24, 2013 2:42 PM
Edited by: Steve_Macleod on May 24, 2013 2:57 PM

Similar Messages

  • SQL Developer Hangs when connecting for Remote Debug

    Hello,
    I've been trying to use the Remote Debug feature of SQL Developer. We are writing a Web Application that connects to Oracle and I would like to debug a package function on the database server (which is not the same machine as my SQL Developer client).
    To test my configuration, I tried connecting on SQLPlus creating a connection (by calling exec dbms_debug_jdwp.connect_tcp('xxx.xxx.xxx.xxx', 'xxxxx'); ) and calling a function which had a breakpoint and the debugging started immediately on SQL Developer. Then I tried putting the dbms_debug_jdwp.connect_tcp('xxx.xxx.xxx.xxx', 'xxxxx'); call inside the stored procedure I was debugging (prior to the line with the breakpoint) and it connected and got to the breakpoint successfully as well. So I'm pretty sure my firewall / user privileges are set up correctly.
    So I modified the function that my web application eventually calls to create the connection (in order to remain in the same session) but whenever it gets to the connect_tcp line SQL Developer hangs and I'm unable to debug. I've realized that it only hangs if I have a breakpoint there. If I don't have a breakpoint then it creates a connection just fine. Of course without a breakpoint it's a bit difficult to debug isn't it? :)
    My Sql Developer version is 3.0 and I'm connecting to Oracle 11.1.0 Below you can find a dump when running SqlDeveloper with console. My OS is windows XP and my Oracle instance is running on Linux.
    I appreciate any help you can provide.
    2012-01-27 16:08:30
    Full thread dump Java HotSpot(TM) Client VM (11.0-b16 mixed mode):
    "JDI Target VM Interface" daemon prio=6 tid=0x3398f800 nid=0x1574 runnable [0x3702f000..0x3702fa14]
    java.lang.Thread.State: RUNNABLE
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.read(SocketInputStream.java:129)
    at java.net.SocketInputStream.read(SocketInputStream.java:182)
    at com.sun.tools.jdi.SocketConnection.readPacket(SocketTransportService.java:393)
    - locked <0x097d3528> (a java.lang.Object)
    at com.sun.tools.jdi.TargetVM.run(TargetVM.java:99)
    at java.lang.Thread.run(Thread.java:619)
    "JDI Internal Event Handler" daemon prio=6 tid=0x34a82c00 nid=0x15ac in Object.wait() [0x355ef000..0x355efa94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:485)
    at com.sun.tools.jdi.EventQueueImpl.removeUnfiltered(EventQueueImpl.java:171)
    - locked <0x097218d0> (a com.sun.tools.jdi.EventQueueImpl)
    at com.sun.tools.jdi.EventQueueImpl.removeInternal(EventQueueImpl.java:106)
    at com.sun.tools.jdi.InternalEventHandler.run(InternalEventHandler.java:36)
    at java.lang.Thread.run(Thread.java:619)
    "JPDA Listener" prio=6 tid=0x35806400 nid=0x7b8 runnable [0x3533f000..0x3533fd94]
    java.lang.Thread.State: RUNNABLE
    at java.net.PlainSocketImpl.socketAccept(Native Method)
    at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
    - locked <0x095ec870> (a java.net.SocksSocketImpl)
    at java.net.ServerSocket.implAccept(ServerSocket.java:453)
    at java.net.ServerSocket.accept(ServerSocket.java:421)
    at com.sun.tools.jdi.SocketTransportService.accept(SocketTransportService.java:330)
    at com.sun.tools.jdi.GenericListeningConnector.accept(GenericListeningConnector.java:136)
    at oracle.jdevimpl.debugger.jdi.DebugJDIConnectorListen.run(DebugJDIConnectorListen.java:127)
    at java.lang.Thread.run(Thread.java:619)
    "Native Directory Watcher" prio=2 tid=0x35e47c00 nid=0x170c runnable [0x34fef000..0x34fefa14]
    java.lang.Thread.State: RUNNABLE
    at oracle.ide.natives.NativeHandler.enterWatcherThread(Native Method)
    at oracle.ide.natives.NativeHandler$2.run(NativeHandler.java:252)
    at java.lang.Thread.run(Thread.java:619)
    "Background Parser" prio=6 tid=0x35c4a800 nid=0x17e0 waiting on condition [0x3832f000..0x3832fa14]
    java.lang.Thread.State: TIMED_WAITING (sleeping)
    at java.lang.Thread.sleep(Native Method)
    at oracle.dbtools.raptor.plsql.BackgroundParser$1.construct(BackgroundParser.java:139)
    at oracle.dbtools.raptor.utils.NamedSwingWorker$2.run(NamedSwingWorker.java:115)
    at java.lang.Thread.run(Thread.java:619)
    "status-0" prio=2 tid=0x35d54400 nid=0x1208 waiting on condition [0x3812f000..0x3812fc14]
    java.lang.Thread.State: WAITING (parking)
    at sun.misc.Unsafe.park(Native Method)
    - parking to wait for <0x064a8cf0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925)
    at java.util.concurrent.DelayQueue.take(DelayQueue.java:160)
    at oracle.ide.status.StatusExecutor$StatusQueue.take(StatusExecutor.java:329)
    at oracle.ide.status.StatusExecutor$StatusQueue.take(StatusExecutor.java:291)
    at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    at java.lang.Thread.run(Thread.java:619)
    "Background Parser" prio=6 tid=0x35dde800 nid=0xa00 waiting on condition [0x3782f000..0x3782fb14]
    java.lang.Thread.State: TIMED_WAITING (sleeping)
    at java.lang.Thread.sleep(Native Method)
    at oracle.dbtools.raptor.plsql.BackgroundParser$1.construct(BackgroundParser.java:139)
    at oracle.dbtools.raptor.utils.NamedSwingWorker$2.run(NamedSwingWorker.java:115)
    at java.lang.Thread.run(Thread.java:619)
    "WeakDataReference polling" prio=2 tid=0x35f59c00 nid=0x1144 in Object.wait() [0x3802f000..0x3802fb14]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x08554ba8> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
    - locked <0x08554ba8> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
    at oracle.ide.util.WeakDataReference$Cleaner.run(WeakDataReference.java:88)
    at java.lang.Thread.run(Thread.java:619)
    "Background Parser" prio=6 tid=0x35d00400 nid=0xe1c waiting on condition [0x37e2f000..0x37e2fc94]
    java.lang.Thread.State: TIMED_WAITING (sleeping)
    at java.lang.Thread.sleep(Native Method)
    at oracle.dbtools.raptor.plsql.BackgroundParser$1.construct(BackgroundParser.java:139)
    at oracle.dbtools.raptor.utils.NamedSwingWorker$2.run(NamedSwingWorker.java:115)
    at java.lang.Thread.run(Thread.java:619)
    "TextBufferScavenger" prio=6 tid=0x35df1c00 nid=0xabc in Object.wait() [0x37c2f000..0x37c2fd94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x0842dfe0> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
    - locked <0x0842dfe0> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
    at oracle.ide.model.TextNode$FacadeBufferReference$PollingThread.run(TextNode.java:1949)
    "pool-4-thread-1" prio=6 tid=0x33a11c00 nid=0x444 waiting on condition [0x33f0f000..0x33f0fa94]
    java.lang.Thread.State: TIMED_WAITING (parking)
    at sun.misc.Unsafe.park(Native Method)
    - parking to wait for <0x07ba2040> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1963)
    at java.util.concurrent.DelayQueue.take(DelayQueue.java:164)
    at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:583)
    at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:576)
    at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    at java.lang.Thread.run(Thread.java:619)
    "IconOverlayTracker Timer" prio=6 tid=0x3491a000 nid=0x1750 in Object.wait() [0x3792f000..0x3792fb94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:485)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x07b36968> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "Timer queue for AWT thread" daemon prio=6 tid=0x34913c00 nid=0xdfc in Object.wait() [0x3772f000..0x3772fd94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x075b5cc8> (a java.lang.Object)
    at java.lang.Object.wait(Object.java:485)
    at ice.util.awt.TimedAWTExecutor.nextElem(TimedAWTExecutor.java:108)
    - locked <0x075b5cc8> (a java.lang.Object)
    at ice.util.awt.TimedAWTExecutor.runScheduler(TimedAWTExecutor.java:130)
    at ice.util.awt.TimedAWTExecutor$1.run(TimedAWTExecutor.java:19)
    "WaitCursor-Timer" prio=6 tid=0x35ca5800 nid=0x1230 in Object.wait() [0x3752f000..0x3752fa14]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:485)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x0719c1c0> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "Timer queue for AWT thread" daemon prio=6 tid=0x35a1f800 nid=0x1444 in Object.wait() [0x3692f000..0x3692fb14]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x0719c240> (a java.lang.Object)
    at java.lang.Object.wait(Object.java:485)
    at ice.util.awt.TimedAWTExecutor.nextElem(TimedAWTExecutor.java:108)
    - locked <0x0719c240> (a java.lang.Object)
    at ice.util.awt.TimedAWTExecutor.runScheduler(TimedAWTExecutor.java:130)
    at ice.util.awt.TimedAWTExecutor$1.run(TimedAWTExecutor.java:19)
    "pool-2-thread-1" prio=6 tid=0x35a75800 nid=0x135c waiting on condition [0x3742f000..0x3742fc14]
    java.lang.Thread.State: WAITING (parking)
    at sun.misc.Unsafe.park(Native Method)
    - parking to wait for <0x06d72e80> (a java.util.concurrent.SynchronousQueue$TransferStack)
    at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
    at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:422)
    at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:323)
    at java.util.concurrent.SynchronousQueue.take(SynchronousQueue.java:857)
    at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    at java.lang.Thread.run(Thread.java:619)
    "BaseTreeExplorer.NodeOpeningExecutor" prio=6 tid=0x359c6800 nid=0x1618 waiting on condition [0x3732f000..0x3732fc94]
    java.lang.Thread.State: WAITING (parking)
    at sun.misc.Unsafe.park(Native Method)
    - parking to wait for <0x06d492a8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925)
    at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:358)
    at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    at java.lang.Thread.run(Thread.java:619)
    "Scheduler" daemon prio=6 tid=0x35a44400 nid=0x131c in Object.wait() [0x3722f000..0x3722fd14]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x06d493e0> (a oracle.dbtools.raptor.backgroundTask.TaskLinkedList)
    at java.lang.Object.wait(Object.java:485)
    at oracle.dbtools.raptor.backgroundTask.TaskLinkedList.takeNextTask(TaskLinkedList.java:47)
    - locked <0x06d493e0> (a oracle.dbtools.raptor.backgroundTask.TaskLinkedList)
    at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$SchedulerThread.run(RaptorTaskManager.java:429)
    "Thread-8" daemon prio=6 tid=0x35a01400 nid=0x1390 in Object.wait() [0x3712f000..0x3712fd94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x06d49460> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
    - locked <0x06d49460> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
    at org.tmatesoft.svn.core.javahl.SVNClientImplTracker.run(SVNClientImplTracker.java:65)
    at java.lang.Thread.run(Thread.java:619)
    "ChangeSetService" prio=2 tid=0x3595dc00 nid=0x11d8 in Object.wait() [0x3682f000..0x3682fa94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x06a26d80> (a oracle.jdevimpl.vcs.changeset.ChangeSetService)
    at java.lang.Object.wait(Object.java:485)
    at oracle.jdevimpl.vcs.changeset.ChangeSetService.awaitEvents(ChangeSetService.java:178)
    - locked <0x06a26d80> (a oracle.jdevimpl.vcs.changeset.ChangeSetService)
    at oracle.jdevimpl.vcs.changeset.ChangeSetService.eventLoop(ChangeSetService.java:199)
    at oracle.jdevimpl.vcs.changeset.ChangeSetService.access$200(ChangeSetService.java:56)
    at oracle.jdevimpl.vcs.changeset.ChangeSetService$2.run(ChangeSetService.java:138)
    at java.lang.Thread.run(Thread.java:619)
    "Thread-6" daemon prio=6 tid=0x3590e400 nid=0x1520 runnable [0x36b2f000..0x36b2fb14]
    java.lang.Thread.State: RUNNABLE
    at sun.print.Win32PrintServiceLookup.notifyPrinterChange(Native Method)
    at sun.print.Win32PrintServiceLookup.access$100(Win32PrintServiceLookup.java:32)
    at sun.print.Win32PrintServiceLookup$PrinterChangeListener.run(Win32PrintServiceLookup.java:302)
    "TimerQueue" daemon prio=6 tid=0x330a9c00 nid=0x11b0 in Object.wait() [0x3672f000..0x3672fc94]
    java.lang.Thread.State: TIMED_WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at javax.swing.TimerQueue.run(TimerQueue.java:236)
    - locked <0x06887680> (a javax.swing.TimerQueue)
    at java.lang.Thread.run(Thread.java:619)
    "TimedCache-Timer" daemon prio=6 tid=0x33a85000 nid=0x76c in Object.wait() [0x3460f000..0x3460fa94]
    java.lang.Thread.State: TIMED_WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x05f36890> (a java.util.TaskQueue)
    at java.util.TimerThread.mainLoop(Timer.java:509)
    - locked <0x05f36890> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "JarIndex Timer" daemon prio=6 tid=0x33a83c00 nid=0x15a8 in Object.wait() [0x3410f000..0x3410fb14]
    java.lang.Thread.State: TIMED_WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.util.TimerThread.mainLoop(Timer.java:509)
    - locked <0x05e824b0> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "AWT-EventQueue-0" prio=6 tid=0x33a6a400 nid=0x15e8 in Object.wait() [0x3400f000..0x3400fb94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:485)
    at com.sun.tools.jdi.TargetVM.waitForReply(TargetVM.java:281)
    - locked <0x02fa0320> (a com.sun.tools.jdi.Packet)
    at com.sun.tools.jdi.VirtualMachineImpl.waitForTargetReply(VirtualMachineImpl.java:1015)
    at com.sun.tools.jdi.PacketStream.waitForReply(PacketStream.java:51)
    at com.sun.tools.jdi.JDWP$Method$LineTable.waitForReply(JDWP.java:3651)
    at com.sun.tools.jdi.JDWP$Method$LineTable.process(JDWP.java:3627)
    at com.sun.tools.jdi.ConcreteMethodImpl.getBaseLocations(ConcreteMethodImpl.java:343)
    at com.sun.tools.jdi.ConcreteMethodImpl.getLocations(ConcreteMethodImpl.java:262)
    at com.sun.tools.jdi.ConcreteMethodImpl.locationsOfLine(ConcreteMethodImpl.java:120)
    at com.sun.tools.jdi.ReferenceTypeImpl.locationsOfLine(ReferenceTypeImpl.java:893)
    at oracle.jdevimpl.debugger.jdi.DebugJDI.getLocationsOfLine(DebugJDI.java:5254)
    at oracle.jdevimpl.debugger.jdi.DebugJDIBreakpointFileLine.verify(DebugJDIBreakpointFileLine.java:71)
    at oracle.jdevimpl.debugger.jdi.DebugJDIBreakpointPackageFileLine.verify(DebugJDIBreakpointPackageFileLine.java:83)
    at oracle.jdevimpl.debugger.jdi.DebugJDI.breakpointAfterChange(DebugJDI.java:2546)
    - locked <0x09721d70> (a oracle.jdevimpl.debugger.jdi.DebugJDI)
    at oracle.jdevimpl.debugger.jdi.DebugJDIBreakpoint.afterChange(DebugJDIBreakpoint.java:386)
    at oracle.jdevimpl.debugger.jdi.DebugJDI.putBreakpoint(DebugJDI.java:2426)
    - locked <0x09721d70> (a oracle.jdevimpl.debugger.jdi.DebugJDI)
    at oracle.jdevimpl.debugger.jdi.DebugJDI.putBreakpointPackageFileLine(DebugJDI.java:893)
    - locked <0x09721d70> (a oracle.jdevimpl.debugger.jdi.DebugJDI)
    at oracle.jdevimpl.runner.debug.Breakpoint.putBreakpoint(Breakpoint.java:1701)
    at oracle.jdevimpl.runner.debug.DebuggingProcess.afterConnection(DebuggingProcess.java:1352)
    at oracle.jdevimpl.runner.debug.DebuggingProcess.accept(DebuggingProcess.java:1704)
    at oracle.jdevimpl.runner.debug.DebuggingListener$2.run(DebuggingListener.java:231)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    "AWT-Windows" daemon prio=6 tid=0x33a64000 nid=0x12e8 runnable [0x33e0f000..0x33e0fc94]
    java.lang.Thread.State: RUNNABLE
    at sun.awt.windows.WToolkit.eventLoop(Native Method)
    at sun.awt.windows.WToolkit.run(WToolkit.java:291)
    at java.lang.Thread.run(Thread.java:619)
    "AWT-Shutdown" prio=6 tid=0x33a31c00 nid=0xd4c in Object.wait() [0x33d0f000..0x33d0fd14]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x05e826a0> (a java.lang.Object)
    at java.lang.Object.wait(Object.java:485)
    at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
    - locked <0x05e826a0> (a java.lang.Object)
    at java.lang.Thread.run(Thread.java:619)
    "Java2D Disposer" daemon prio=10 tid=0x33a41400 nid=0x1294 in Object.wait() [0x33c0f000..0x33c0fd94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x05e82730> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
    - locked <0x05e82730> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
    at sun.java2d.Disposer.run(Disposer.java:125)
    at java.lang.Thread.run(Thread.java:619)
    "Low Memory Detector" daemon prio=6 tid=0x33076000 nid=0x688 runnable [0x00000000..0x00000000]
    java.lang.Thread.State: RUNNABLE
    "CompilerThread0" daemon prio=10 tid=0x3306fc00 nid=0x910 waiting on condition [0x00000000..0x336df7bc]
    java.lang.Thread.State: RUNNABLE
    "Attach Listener" daemon prio=10 tid=0x3306e400 nid=0x162c runnable [0x00000000..0x00000000]
    java.lang.Thread.State: RUNNABLE
    "Signal Dispatcher" daemon prio=10 tid=0x3306d000 nid=0x17a4 waiting on condition [0x00000000..0x00000000]
    java.lang.Thread.State: RUNNABLE
    "Finalizer" daemon prio=8 tid=0x3305d400 nid=0xe3c in Object.wait() [0x333df000..0x333dfc94]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x05e00298> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
    - locked <0x05e00298> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
    at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
    "Reference Handler" daemon prio=10 tid=0x33058800 nid=0x1228 in Object.wait() [0x332df000..0x332dfd14]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:485)
    at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
    - locked <0x05e00320> (a java.lang.ref.Reference$Lock)
    "main" prio=6 tid=0x00bc7c00 nid=0x10e0 waiting on condition [0x00000000..0x0012fae8]
    java.lang.Thread.State: RUNNABLE
    "VM Thread" prio=10 tid=0x33055000 nid=0x194 runnable
    "VM Periodic Task Thread" prio=10 tid=0x33077800 nid=0xfd0 waiting on condition
    JNI global references: 2649
    Heap
    def new generation total 9216K, used 3904K [0x02cd0000, 0x036c0000, 0x05e00000)
    eden space 8256K, 35% used [0x02cd0000, 0x02fb0330, 0x034e0000)
    from space 960K, 100% used [0x035d0000, 0x036c0000, 0x036c0000)
    to space 960K, 0% used [0x034e0000, 0x034e0000, 0x035d0000)
    tenured generation total 121024K, used 61455K [0x05e00000, 0x0d430000, 0x2acd0000)
    the space 121024K, 50% used [0x05e00000, 0x09a03eb0, 0x09a04000, 0x0d430000)
    compacting perm gen total 71168K, used 70950K [0x2acd0000, 0x2f250000, 0x32cd0000)
    the space 71168K, 99% used [0x2acd0000, 0x2f219bf8, 0x2f219c00, 0x2f250000)
    No shared spaces configured.
    Edited by: 910659 on Jan 27, 2012 7:45 AM

    What I mean is that I put the connect_tcp command inside the package function I want to debug in order to ensure it's going to remain in the same session. e.g.:
    Function GetValue Return Varchar2 Is
    Begin
    dbms_debug_jdwp.connect_tcp('xxx.xxx.xxx.xxx', '25255');
    return 'My Value';
    End;
    I'm afraid I cannot post our code which causes this problem due to our information security policies and simple console and web applications failed to replicate the problem. The function creates a connection to Oracle SQL Developer (which can be seen in the environment with the small ladybug icon) if no breakpoints are set which obviously doesn't allow breaking into the function. However if a breakpoint is also specified in the Return line the connection seems to freeze Oracle SQL Developer. No ladybug icon is shown and no Remote Debug Session seems to open.

  • Missing SQL Developer functions when connecting to MS SQL Server 2005

    Hi all,
    I've connected SQL Developer to a ms sql server db. Now I can't use the functions from SQL Developer like
    - Drag&Drop tables to the sql-sheet,
    - autocompletition of attributes (Strg+Space).
    Is this function not supported or do I have to change some preferences?
    THX Steve

    Unfortunately most of the advanced functions of SQL Developer are supported only for oracle databases, so on ms sql, or almost anything else you can do little more than browse data.

  • SQL Developer error when opening

    Greetings all. I just downloaded the current SQL Developer version 1.5.1 Build 5440. Upon initial start up I got a Ordinal 2821 could not be found in libeay32.dll error. I downloaded the latest libeay32.dll (852 K-8/28/2008 2:03 PM modified date) into the c:\windows\system32 directory. Now I get a Ordinal 3288 could not be found in libeay32.dll error. There are several libeay32.dll files of different sizes in the openssl directory.
    I'm running Windows XP Pro service pack 3.

    The problem you hint is a known problem.
    If Java crashed with other application, the LIBEAY32.DLL librarry getting created can affect the SQL developer starting.
    Please rename your file "LIBEAY32.DLL" found under "c:\windows\system32" folder and then you should be able to launch SQL Developer.
    Regards
    Mireille

  • Oracle SQL Developer issue when using VPN (Cisco)

    All,
    We've got a somewhat obscure issue with SQL Developer connectivity to our databases from a remote employee's laptop.
    The database is hosted inside our firewall and when the employee tries to connect to the database he receives the following error:
    +"Error Encountered: An error was encountered performing the requested operation: The network adaptor could not establish the connection. Vendor Code 20"+
    I believe I may have seen the following error at one point as well...
    Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection
    Note: He gets this error when logged into our VPN & while he can connect via SQL*Plus to that same database. He gets the error regardless if he uses the tnsnames entry option in SQL Developer or if he is using the "Basic" connection type.
    What's interesting is that if he disconnects from the VPN, turns off his wireless connectivity and then hard-wires into our network he can connect, no issue.
    The strangest part for me is that while he can not connect to the database via SQL Developer, he can connect via SQL*Plus. He can ping the source IP address fine, he can tnsping the database no problem, he can connect via SQL*Plus, he just can't connect via SQL*Developer. Since SQL*Plus and tnsping are working, I know he can access the db server via port 1521, so I don't think it's a port issue.
    Another strange thing: When he connects to our network via an "old" VPN (open VPN) he has no issues.
    His machine is Windoz 64 bit (HP laptop) and he's using the latest version of SQL Developer and a newer JVM.
    Also interesting: I also have a Windoz 64 bit laptop (Lenovo) and I do not have the same issues as he does. I however am running an older version of SQL Developer and probably an older JVM.
    I dug around a bit, seems like perhaps this has something to do with IPv6? No idea what to do next except have my network guy look at firewall logs to try to capture where the connectivity is being dropped.
    Any thoughts or suggestions would be appreciated. I've tried all kinds of things (giving him my tnsnames.ora and sqlnet.ora file, manually editing those files, tried IP addresses instead of host names, tried host names with the .doman.org extensions, etc.).
    Again, any suggestions would be appreciated and thank you very much.
    Rich
    Edited by: rmurnane on Oct 23, 2012 10:58 AM

    Since SQLPlus is installed and works fine you could try to set
    Tools -> Preferences -> Database -> Advanced -> Use OCI/Thick driverThis should enable SQLDeveloper to use the same oracle client SQLPlus is using to connect to the database.
    Mind that by setting this option you need to have an 11g client (or instant client) installed that matches the ojdbc6.jar version used by SQLDeveloper, so if you are using an older client this may not be a usable solution.

  • "no ocijdbc11 in java.library.path" error when connecting a TNS database co

    Hi
    "no ocijdbc11 in java.library.path" error when connecting a TNS database connection
    I have the same problem 'error code' when testing the connection to a database although I have an APEX db that connects without a problem.
    I have re downloaded jre & SQL Developer just to ensure all files are where they should be with no luck.
    I've also tried most of the suggestions in various threads.
    Does anyone know what exactly causes this error?
    eg; should I be looking for a file called 'ocijdbc11' & put it into the 'java.library.path' path?
    Can anyone explain to a newbie at db connections what I should do?
    I'm using the 'thin' client as the checkbox is clear & I don't know what path to enter into the correct file to make this work??
    This is & needs to connect as a TNS connection & was working fine until recently, the only change I can think of is a move of files from the 'C' drive but I thought redownloading SQL Developer would slove this.
    Thanks

    When you reinstalled SQL Developer, did you install into a new directory (ie rename or delete the old directory first)?
    I don't know if system setup contains directory references (which might be invalid after moving the location of SQL Developer). Does renaming your system2.1.1.64.45 directory (in C:\Documents and Settings\username\Application Data\SQL Developer) help? Note that your connections are in the connections.xml file in the o.jdeveloper.db.connection.11.1.1.2.36.55.30 subdirectory of system2.1.1.64.45 - you will either need to export connections before renaming and then import again after or copy this file to test if you can connect.
    Finally, the TNS Names directory preference is just a way of telling SQL Developer where to look for the tnsnames.ora file, rather than just assuming it will pick the right one. If you go to create a new connection, do you get the right list of TNS aliases? If not, then set this preference to the directory where the right tnsnames.ora file lives.
    theFurryOne

  • Error when connecting to system

    Hi,
    I have been off topic for quite a while and when I wanted to pick up today, I couldn't connect to the HANA server anymore. I haven't changed any settings since last setup, all I get is the "Error when connecting to system" in the Quick Lauch of the infornation modeler.
    Any suggestions?
    THX
    Markus

    Hello,
    did you connect since upgrade to SP03?
    You might be looking for this thread.
    SAP In-Memory Developer Center - planned downtime 2011-11-15, 10-11am PST
    Tomas

  • SQL Developer 1.5 Connection Problems

    Unable to connect to my localhost installation of Oracle 11G in Windows XP environment
    SQLPLUS connections look just fine.
    I went out to the windows registry to verify the Oracle SID.
    The environment ORADLE_SID is set to 'orcl'
    I have tried logging in as HR and as SYS. Both work in SQLPLUS. Neither work in Sql Developer.
    The connection settings I am using are as follows:
    User Name: HR
    Password: HR
    Oracle Tab Settings:
    Role: default
    Connection type: basic
    OS Authentication: unchecked
    Proxy Connection: unchecked
    Hostname: localhost
    Port: 1521
    SID: orcl
    Really appreciate your assistance.
    Thanks,
    Kent

    Kent,
    Does Oracle monitor this? Yup - I am PM for SQL Developer and various team members, like Turloch, also monitor the forum.
    We use thin or thick JDBC drivers to connect to the Oracle Database from SQL Developer, Turloch was trying alternatives. You should be able to connect using the thin JDBC driver, not using tns. (Basic Connection)
    When you try the Basic connection, please can you ensure that the Preference (Tools -> Preferences -> Database- Advanced Parameters) "use OCI/Thick driver" is not selected.
    Instead of localhost, can you insert the IP address of your machine?
    I have one other question - when you installed SQl Developer 1.5, did you install it into a new empty directory?
    Finally, if you have a support contract for the Database, you can contact Metalink and open a SR. There you should be able to track your progress and they can help you get connected.
    Sue
    Oracle SQL Developer
    Product Manager

  • URGENT - INTERNAL SERVER ERROR when connecting to site

    i'm getting INTERNAL SERVER ERROR when connecting to site. everything was ok till yesterday night but since today morning, nobody has been able to log in the site.
    i looked at the Apache Listener log files in IAS_HOME/Apache/Apache/logs
    the error_log file contained the following :-
    [Fri Jan 26 08:32:04 2001] [error] [client 127.0.0.1] Invalid method in request ^A
    [Fri Jan 26 08:32:05 2001] [error] [client 10.32.12.219] malformed header from script. Bad header=<!DOCTYPE HTML PUBLIC "-//IETF: /servlet/p
    age
    [Fri Jan 26 08:32:58 2001] [error] [client 127.0.0.1] Invalid method in request ^A
    [Fri Jan 26 08:32:58 2001] [error] [client 10.32.12.219] malformed header from script. Bad header=<!DOCTYPE HTML PUBLIC "-//IETF: /servlet/I
    sItWorking
    [Fri Jan 26 08:33:13 2001] [error] [client 127.0.0.1] Invalid method in request ^A
    [Fri Jan 26 08:33:13 2001] [error] [client 10.32.12.219] malformed header from script. Bad header=<!DOCTYPE HTML PUBLIC "-//IETF: /servlet/page
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    then i tried to kill all the httpd processes and restart the apache and the error log was populated with the following :-
    [Fri Jan 26 09:35:48 2001] [warn] child process 16269 still did not exit, sending a SIGTERM
    [Fri Jan 26 09:35:49 2001] [warn] child process 16270 still did not exit, sending a SIGTERM
    [Fri Jan 26 09:35:49 2001] [warn] child process 16271 still did not exit, sending a SIGTERM
    [Fri Jan 26 09:35:49 2001] [warn] child process 16272 still did not exit, sending a SIGTERM
    [Fri Jan 26 09:35:49 2001] [warn] child process 16273 still did not exit, sending a SIGTERM
    [Fri Jan 26 09:35:49 2001] [warn] child process 16274 still did not exit, sending a SIGTERM
    [Fri Jan 26 09:35:49 2001] [warn] child process 16275 still did not exit, sending a SIGTERM
    [Fri Jan 26 09:35:49 2001] [warn] child process 16276 still did not exit, sending a SIGTERM
    [Fri Jan 26 09:35:49 2001] [warn] child process 16277 still did not exit, sending a SIGTERM
    ,same messages continue for different
    ,process ids followed by
    Assertion failed: wwwctx->alloctotal == 0, file wwcepl.c, line 559
    Assertion failed: wwwctx->alloctotal == 0, file wwcepl.c, line 559
    Assertion failed: wwwctx->alloctotal == 0, file wwcepl.c, line 559
    Attempt to free unreferenced scalar.
    Attempt to free unreferenced scalar.
    Assertion failed: wwwctx->alloctotal == 0, file wwcepl.c, line 559
    Assertion failed: wwwctx->alloctotal == 0, file wwcepl.c, line 559
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    [Fri Jan 26 09:35:53 2001] [error] child process 16269 still did not exit, sending a SIGKILL
    [Fri Jan 26 09:35:53 2001] [error] child process 16270 still did not exit, sending a SIGKILL
    [Fri Jan 26 09:35:53 2001] [error] child process 16271 still did not exit, sending a SIGKILL
    [Fri Jan 26 09:35:53 2001] [error] child process 16272 still did not exit, sending a SIGKILL
    [Fri Jan 26 09:35:54 2001] [error] could not make child process 16269 exit, attempting to continue anyway
    [Fri Jan 26 09:35:54 2001] [error] could not make child process 16270 exit, attempting to continue anyway
    [Fri Jan 26 09:35:54 2001] [error] could not make child process 16271 exit, attempting to continue anyway
    [Fri Jan 26 09:35:54 2001] [error] could not make child process 16272 exit, attempting to continue anyway
    [Fri Jan 26 09:35:54 2001] [error] could not make child process 16273 exit, attempting to continue anyway
    [Fri Jan 26 09:35:54 2001] [error] could not make child process 16274 exit, attempting to continue anyway
    [Fri Jan 26 09:35:54 2001] [notice] caught SIGTERM, shutting down
    [Fri Jan 26 09:38:10 2001] [notice] Apache/1.3.12 (Unix) ApacheJServ/1.1 mod_perl/1.22 configured -- resuming normal operations
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    [Fri Jan 26 09:38:44 2001] [error] [client 127.0.0.1] Invalid method in request ^A
    [Fri Jan 26 09:38:44 2001] [error] [client 10.32.1.81] malformed header from script. Bad header=<!DOCTYPE HTML PUBLIC "-//IETF: /servlet/pag
    e
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    [Fri Jan 26 09:39:06 2001] [notice] caught SIGTERM, shutting down
    [Fri Jan 26 09:39:30 2001] [notice] Apache/1.3.12 (Unix) ApacheJServ/1.1 mod_perl/1.22 configured -- resuming normal operations
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    [Fri Jan 26 09:42:17 2001] [error] [client 127.0.0.1] Invalid method in request ^A
    [Fri Jan 26 09:42:17 2001] [error] [client 10.32.1.81] malformed header from script. Bad header=<!DOCTYPE HTML PUBLIC "-//IETF: /servlet/pag
    e
    Any ideas or suggestions anyone ....??
    what could have possibly changed since yesterday to effect the site ??
    any help would be greatly appreciated ...
    null

    A couple of questions:
    1) Did you try shutting down apache with the sript?
    2) When killing the httpd processes did you also kill the associated java processes?
    null

  • Oracle SQL DEVELOPER ERROR

    Hello everyone
    Can anyone here please help me with oracle sql developer error
    My problem is that i have installed oracle sql developer as a root and now when i execute the following command
    [root@localhost tmp]# sqldeveloper
    Oracle SQL Developer
    Copyright (c) 2008, Oracle. All rights reserved.
    Type the full pathname of a J2SE installation (or Ctrl-C to quit), the path will be stored in ~/.sqldeveloper/jdk
    /opt/oracle/softwares/jdk1.5.0.19
    Error: /opt/oracle/softwares/jdk1.5.0.19/bin/java not found
    As you can see i did install java but still i keep getting that error
    Thank you

    From what you have shown us, we can't tell that you have installed java. What do you get from the following command?
    /opt/oracle/softwares/jdk1.5.0.19/bin/java -versiontheFurryOne

  • Error when connecting to terminal

    Hello,
    I have a BB 8100, Desktop manager 4.6.
    Synchronization was working correctly 3-4 weeks ago.
    Today, when I tried to synchronize, I had this error message:
    0 x 80040fb3
    I tried to debug this with the procedure of modifying Last name, first name, etc.... with no success
    I tried several time to synchronize again but without success.
    Now, the situation is even worse!
    New message when I connect my BB to my computer. When I launch Desktop manager, I have the following error:
    "Error when connecting to terminal. Make sure that your terminal is correctly connected, then try again"
    I can not anymore try to synchronize!
    This is very strange, it never happened before.
    Nevertheless, Desktop Manager recognize my BB, as I can read on the buttom left part of the screen: Terminal connected (code Pin) recognized xxxxxx.
    HELLLLP!
    Thanks
    Solved!
    Go to Solution.

    Hello RianaZaire,
    Unfortunately, I still have the same error Message.
    I have not been able to solve the situation.
    I reinstall twice the software.
    I tried to connect my Blackberry to my computer with a new cable.
    I still have the same error message.
    I don't know what to do.
    Maybe somebody will read our messages, and help us!
    Maybe this information has a link with my blackberry problem:
    I also have a problem with an another device. (a TOMTOM GPS system), which happened almost at the same time.
    Usually, when I connect this device, it will directly open the GPS sofware ( where I can download the new updating stuff). But since this Blackberry problem, I can not do it anymore. Impossible to connect the TOMTOM onto it. It is not recognize onto my computer.
    For information, I also do synchronization of my adress book between my phone and TOMTOM.
    HELP HELP

  • Error when connecting to portal from some machines

    Hi all,
    Can anyone help me with this.
    I get this jserver error when connecting to portal from some
    client machines.
    I works fine from the others. Any ideas?
    This is the error I get:
    [08/01/2002 17:41:57:618 GMT+00:00] page/Timeout occurred,
    label=73 url=http://odeceixe:81/pls/portal30/!
    PORTAL30.wwpro_app_provider.execute_portlet time=15828ms
    [08/01/2002 17:41:57:618 GMT+00:00] page/ContentFetcher
    Unexpected Exception, name=content-fetcher5
    java.io.EOFException: Premature EOF encountered
         at HTTPClient.StreamDemultiplexor.read
    (StreamDemultiplexor.java, Compiled Code)
         at HTTPClient.RespInputStream.read(RespInputStream.java,
    Compiled Code)
         at java.io.InputStream.read(InputStream.java:95)
         at java.io.InputStreamReader.fill
    (InputStreamReader.java:163)
         at java.io.InputStreamReader.read
    (InputStreamReader.java:239)
         at oracle.webdb.page.ContentFetcher.run
    (ContentFetcher.java, Compiled Code)

    Did you ever find the cause of this, I am receiving the same message, but as you said, only when connecting to the portal via a certain pc.

  • Error when connecting to MDM from different lan

    Hi,
    I got "Image Server Login Error" when connecting with client to server from different LAN, server is up, and i can connect to it when i in the same LAN. Ports 20003, 20004, 20005 for MDM server discovering and repository port 2345 is accessible through router. Running SP2 5.5.24.06.
    Rem: it's not a port problem, when port 2345 is closed i got "WinSock error on connect"
    PS: When I used MDM SP1 i connected to him properly in the same case.

    Hi Dmitry,
    If your repository is set to port 2345, then 4 subsequent ports should be openned also, i.e. 2346-2349.
    Regards, Lev

  • Error When connecting proxy

    Hi,
    When I try to connect proxy in application, it is not connecting instead when I check whether it is going through proxy or not it is telling that it is establishing direct connection only. Here I have posted part of the coding. Please If any error give me a hint.
                System.setProperty("ProxySet", "true");
                SocketAddress addr = new InetSocketAddress("webcache.mydomain.com",80);
                proxy=new Proxy(Proxy.Type.HTTP,addr);here in this code part I am checking whether is connecting with proxy or not.
    URL u = new URL(url);
    URLConnection uu=u.openConnection(ScrapperInterface.proxy);
    try
                    URI uuu = uu.getURL().toURI();
                    List l=ProxySelector.getDefault().select(uuu);
                    for (Iterator iter = l.iterator(); iter.hasNext(); )
                         Proxy proxy = (Proxy) iter.next();
                         System.out.println("proxy hostname : " +proxy.type());
                         InetSocketAddress add = (InetSocketAddress)proxy.address();
                         if(add == null)
                             System.out.println("No Proxy");
                         else
                             System.out.println("proxy hostname : " +add.getHostName());
                             System.out.println("proxy port : " +add.getPort());
    catch (URISyntaxException ex)
                    Logger.getLogger(StartThread.class.getName()).log(Level.SEVERE, null, ex);
    }Output is:
    proxy hostname : DIRECT
    No Proxy

    Re: Error When connecting proxy You didn't get any error when you created the connection. Your title is misleading. Probably you are misleading yourself - see below.
    System.setProperty("ProxySet", "true");That does nothing. There is no such property, contrary to widespread belief.
    SocketAddress addr = new InetSocketAddress("webcache.mydomain.com",80);
    proxy=new Proxy(Proxy.Type.HTTP,addr);... and using java.net.Proxy has nothing to do with system properties in any case.
    URLConnection uu=u.openConnection(ScrapperInterface.proxy);Here you are opening a URLConnection via the proxy. As you got output from the code further down it is clear that this step must have succeeded. So all the code below is pointless.
    URI uuu = uu.getURL().toURI();Here you are getting the URI you created the connection for.
    List l=ProxySelector.getDefault().select(uuu);Here you are getting the Proxies the default ProxySelector would have given you for that URI. Nothing to do with the URLConnection you created, and nothing to do with the Proxy you created either.
    InetSocketAddress add = (InetSocketAddress)proxy.address();So here you are testing the proxy address for the system's default proxy for that URI. Again, nothing to do with what you did above.
    What you should be doing here is using the URLConnection you have already created. Not testing an address.

  • SQL Developer and TOAD connection.

    Hi,
    I am able to see the DDL script for tables using TOAD, but NOT using SQL Developer (2.1.1). Same user, pass, and tnsname file.
    They use same tnsname.ora file on my computer. I set basic and TNS connection for SQL Developer.
    The connection is from my computer to the server (Oracle 11.1.0.7 EE).
    ORA-31603: object "ALARM_DEFINITION" of type TABLE not found in schema "AIRCOM"
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.DBMS_METADATA", line 3241
    ORA-06512: at "SYS.DBMS_METADATA", line 4812
    ORA-06512: at line 1
    It is same with packages. I cannot see package body.
    What is the different and which additional privileges I need to see the DDL script?
    Thanks in advance for your help!
    Konstantin

    I don't think it's a connection issue. There seem to be differences in how Oracle and Toad access system views to show objects. If you search the boards you see it has effected a couple of people. Sometimes they post what permissions they changed to get things to work for them.
    ie... Re: Issue with viewing Package Body  in SQL Developer 2.1 RC1
    I don't think I've seen any official documentation to indicate what privileges need to be granted in order to see them thought. And I think there is a bug that prevents generating DDL for tables owned by other users. I don't know if that extends to generating stored procedure code.

Maybe you are looking for

  • Mac Pro 2.66 quad or MacBook Retina 2.7 quad for Logic Pro?

    Hi Guys, It has come time to replace my ageing Mac Pro in my home studio, and I am in a quandry as to what to choose. Up until now, the sensible choice has always been a Mac Pro, because it allows a number of hard drives (separate drives for audio, a

  • How can i fetch only the updated contacts from SQLServer to local SQLite database?

    Hi, I need to update my local AIR Contact application (HTML/AJAX) with the new contacts from the SQL Server (interacting with J2EE). How can i do it? Do, i have to create a background thread which Pulls (requests) data periodically, and the server re

  • Hub 3 queries

    Although I am signed up for FON and accepted by FON my HUB3 still states "BT Fon not active on your BT Hub" ? While trying to correct the above and upgrade password my Broadband username changed  on my HUB3 and I can't change it/revert to the origina

  • No Internet, Phone, or On-Demand during the day since Thursday (Oswego, IL)

    On Thursday, there was a complete outage in the area (I live in Oswego).  Cable came back up in the afternoon but my Internet, Phone, and On-Demand didn't come back up until around 9:30pm. On Friday, Internet, Phone, and On-Demand went out around 7am

  • OS and application mismatch...?

    Hello. I recently got a new computer and I have a strange issue. I'm running all the programs with my Windows XP Professional, the Japanese version. All the programs are the English version, because I live in the U.S.A. When I re-install all the prog