Netbeans 6.5 Mercurial related exception

Hi all,
I Install Mercurial 1.1.1 and NetBeans 6.5 as I look the NetBeans contain the Mercurial plugin in the Base Ide.
I click to Versioning\Mercurial\Clone Other... throw an exception here is the call stack:
What need I do? Can I fix this anyway?
java.lang.NullPointerException
     at org.netbeans.modules.mercurial.ui.wizards.ClonePathsPanel.isValid(ClonePathsPanel.java:77)
     at java.awt.Component.invalidateIfValid(Component.java:2740)
     at java.awt.Component.setLocale(Component.java:1810)
     at javax.swing.JComponent.<init>(JComponent.java:595)
     at javax.swing.JPanel.<init>(JPanel.java:65)
     at javax.swing.JPanel.<init>(JPanel.java:92)
     at javax.swing.JPanel.<init>(JPanel.java:100)
     at org.netbeans.modules.mercurial.ui.wizards.ClonePathsPanel.<init>(ClonePathsPanel.java:53)
     at org.netbeans.modules.mercurial.ui.wizards.ClonePathsWizardPanel.getComponent(ClonePathsWizardPanel.java:72)
     at org.netbeans.modules.mercurial.ui.wizards.CloneWizardAction$PanelsIterator.initializePanels(CloneWizardAction.java:173)
     at org.openide.WizardDescriptor$ArrayIterator.<init>(WizardDescriptor.java:1824)
     at org.netbeans.modules.mercurial.ui.wizards.CloneWizardAction$PanelsIterator.<init>(CloneWizardAction.java:158)
     at org.netbeans.modules.mercurial.ui.wizards.CloneWizardAction.performAction(CloneWizardAction.java:91)
     at org.netbeans.modules.mercurial.ui.clone.CloneExternalAction.performAction(CloneExternalAction.java:79)
     at org.netbeans.modules.mercurial.ui.actions.ContextAction.actionPerformed(ContextAction.java:69)
     at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
     at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
     at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
     at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
     at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
     at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1225)
     at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1266)
     at java.awt.Component.processMouseEvent(Component.java:6216)
     at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
     at java.awt.Component.processEvent(Component.java:5981)
     at java.awt.Container.processEvent(Container.java:2041)
     at java.awt.Component.dispatchEventImpl(Component.java:4583)
     at java.awt.Container.dispatchEventImpl(Container.java:2099)
     at java.awt.Component.dispatchEvent(Component.java:4413)
     at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4556)
     at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4220)
     at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4150)
     at java.awt.Container.dispatchEventImpl(Container.java:2085)
     at java.awt.Window.dispatchEventImpl(Window.java:2475)
     at java.awt.Component.dispatchEvent(Component.java:4413)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
     at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
     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)

Hello,
Not positive what is going on here, but NullPointException indicates that something does not exist or hasn't been instantiated.
Try: http://www.google.com/search?client=safari&rls=en-us&q=mercurial+netbeans+installation&ie=UTF-8&oe=UTF-8
Hope this helps...
James

Similar Messages

  • Study security related exception handling in Java

    Hi all,
    I am required to do an indepth study on security-related exception handling in Java, their Pluses and minuses... Can ppl suggest me places where I can get a kick start? Any resource that u know can help me out?
    I appreciate ur help in this regard...FYI, I am a grad student and I am doing this as a part of my course-work...I am writing up a report on this...
    Thanx a bunch, in advance for ur help ppl..

    Take a look at the JAAS API and docs.
    - Saish

  • Upgrade System Center Operations Manager 2007 R2 CU6 -- 2012 RTM issues (Assembly related exception in log)

    Hi guys
    I am currently performing a distributed, complex upgrade with a customer:
    4 management servers (1 being RMS), both databases (OM & DW) on a single SQL Server (2008 R2 SP2)
    We moved over the RMS role to another server and decomissioned the old one due to it being a 2003 server.
    Then we upgraded all non-RMS management servers.
    We had some issues with them as well (same error in the log), but when we reinstalled the 2007 R2 binaries & patches and redid the upgrade it came through fine.
    The RMS however keeps throwing the same error. Things I tried:
    - Full clean of the server including momclean and msizap, then reinstall the RMS and retry the upgrade
    - Reregister of the msiexec server
    I am suspecting some issues with assemblies and / or GAC, but no clear proof on that, only that it crashes after performing assembly operations.
    Below an extract from the RemoveMOMServer.log (the error occurs when uninstalling SCOM 2007 R2)
    Can anyone help out or give me some pointers on possible causes?
    Many thanks in advance!
    MSI (s) (F4:CC) [15:43:55:259]: Executing op: UpdateEstimatedSize(EstimatedSize=0)
    MSI (s) (F4:CC) [15:43:55:261]: Executing op: ProductCPDisplayInfoRegister()
    MSI (s) (F4:CC) [15:43:55:263]: Executing op: ActionStart(Name=NetFxExecuteNativeImageCommit,,)
    MSI (s) (F4:CC) [15:43:55:264]: Executing op: CustomActionSchedule(Action=NetFxExecuteNativeImageCommit,ActionType=3649,Source=BinaryData,Target=ExecNetFx,)
    MSI (s) (F4:CC) [15:43:55:266]: Executing op: ActionStart(Name=NetFxExecuteNativeImageCommitUninstall,,)
    MSI (s) (F4:CC) [15:43:55:266]: Executing op: CustomActionSchedule(Action=NetFxExecuteNativeImageCommitUninstall,ActionType=3649,Source=BinaryData,Target=ExecNetFx,CustomActionData=C:\Windows\Microsoft.NET\Framework64\v2.0.50727\ngen.exe uninstall "Microsoft.EnterpriseManagement.OperationsManager,
    Version=6.0.4900.00, Culture=neutral, PublicKeyToken=31BF3856AD364E35"€500€C:\Windows\Microsoft.NET\Framework64\v2.0.50727\ngen.exe uninstall "Microsoft.EnterpriseManagement.OperationsManager.Common, Version=6.0.4900.00, Culture=neutral, PublicKeyToken=31BF3856AD364E35"€500€C:\Windows\Microsoft.NET\Framework\v2.0.50727\ngen.exe
    uninstall "C:\Program Files\System Center Operations Manager 2007\Microsoft.EnterpriseManagement.UI.Foundation.dll"€500€C:\Windows\Microsoft.NET\Framework\v2.0.50727\ngen.exe uninstall "C:\Program Files\System Center Operations Manager 2007\Microsoft.EnterpriseManagement.UI.ConsoleFramework.dll"€500€C:\Windows\Microsoft.NET\Framework\v2.0.50727\ngen.exe
    update /queue€500€C:\Windows\Microsoft.NET\Framework64\v2.0.50727\ngen.exe update /queue€500)
    MSI (s) (F4:CC) [15:43:55:268]: Executing op: ActionStart(Name=NetFxExecuteNativeImageCommitInstall,,)
    MSI (s) (F4:CC) [15:43:55:268]: Executing op: CustomActionSchedule(Action=NetFxExecuteNativeImageCommitInstall,ActionType=3649,Source=BinaryData,Target=ExecNetFx,)
    MSI (s) (F4:CC) [15:43:55:270]: Executing op: ActionStart(Name=PublishFeatures,Description=Publishing product features,Template=Feature: [1])
    MSI (s) (F4:CC) [15:43:55:270]: Executing op: FeaturePublish(Feature=MOMServer,,Absent=3,Component=@+h863e0NAgaZ7OoE1)HM[lp(tNC_AUZ$SF(D`%aFTE9fFyfs=F=$JG3?U4%Jg+a[OgIJ9l,ltBUJ6}nEPr^ulwB]8CeSrDJOg^Dv6-5{b^j}@^?vz.j7,3M6C%7,*@eo93k8pr6&&N9$znhtI3,f=ds,sbkr{FsK5s,aat+W9Luq^c2T)%]NK-`Nh95Q?1j(Dg@M-ujVqmWklfnQ9{a+G7w.5xHY-FhkL+vZAB~5y'c@}'jr8WIsm`xe=5orHD{+mjmr3jr^W2UX?7PmxUa@v*Z]~U%@4u.j?-mBUeMsh74(}?767KRj@A72,VR{&Ndp=1kRf[ZQAWW2Vmir6O-EYNi`aVy0=sY*I`g=~^zgj-K41CWIAn3+(O4}ZvX8=hVDIvD^A&7iGA]RjL$JKo'QVT)b@Y@NcD-awAKEm,xN7,?,Ad7cW2b8}K?@`XVc]R`h8k*+PKa=CULr]CV`GY24=J**5wT+^.,Yw,vNCs'_A95dR?W8yIC[JXIm!nzq@5?Enk}PZewbi(r&t1H!94?5m0NzSd96@yq+0'^.?}G.RFEU^J@e`)a-_.e4@W?a@,yfmDTR]^+cbWf.=hV2Lk`!5yfUciqXO0JF?wIvuYFC{LBr*ENyKNMv9@3O~EdzJ!$jxy*dl]uq8{j_GLM1aC_g[-UdCQiC90o{ZS=lW(WUciqXme3eSKW@5fYZQ*R{[[yk0@XZAwJAUIK=yaPrb5j3zZII9*^7LD'L6,,V{p7-suLJ?`v(5R1a5&ko,1X$zkt~8Ic75fYZQ*RaE1v.2pOX8dqQ4PWI)'Vx5^d6cT~W@m1M]xA+z~*JWKX5swUG9JO-4h}&rH2H%obQfhOk?@2$kky4Qx]3yC3vPpLx@bP%U&2$(719F%lc[~}z8HzR.HDHZ)c]{SAz-boA9DSkLX$,eI5Tm1KmpVu+AzEhUp4Ka@(9k~3kSgQX@N@a@gaH@B-,TlvgYR`J9ET02Ay.r4F*v&OktBzm?8g^(@8)Udj
    MSI (s) (F4:CC) [15:43:55:273]: Executing op: ActionStart(Name=PublishProduct,Description=Publishing product information,)
    MSI (s) (F4:CC) [15:43:55:273]: Executing op: CleanupConfigData()
    MSI (s) (F4:CC) [15:43:55:273]: Executing op: RegisterPatchOrder(Continue=0,SequenceType=0,Remove=0)
    MSI (s) (F4:CC) [15:43:55:276]: Executing op: RegisterPatchOrder(Continue=0,SequenceType=1,Remove=0)
    MSI (s) (F4:CC) [15:43:55:280]: Executing op: End(Checksum=0,ProgressTotalHDWord=0,ProgressTotalLDWord=80035200)
    MSI (s) (F4:CC) [15:43:55:280]: Entering MsiProvideAssembly. AssemblyName: Microsoft.EnterpriseManagement.OperationsManager,fileVersion="6.1.7221.99",version="6.0.4900.00",culture="neutral",publicKeyToken="31BF3856AD364E35",processorArchitecture="MSIL",
    AppContext: , InstallMode: -4
    MSI (s) (F4:CC) [15:43:55:280]: Pathbuf: 0, pcchPathBuf: 0
    MSI (s) (F4:CC) [15:43:55:281]: MsiProvideAssembly is returning: 1607
    MSI (s) (F4:CC) [15:43:55:289]: Verifying accessibility of file: Microsoft.EnterpriseManagement.OperationsManager.dll
    MSI (s) (F4:CC) [15:43:55:291]: Using source file security for destination.
    MSI (s) (F4:CC) [15:43:55:304]: Entering MsiProvideAssembly. AssemblyName: Microsoft.EnterpriseManagement.OperationsManager, Version=6.0.4900.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, AppContext: , InstallMode: -4
    MSI (s) (F4:CC) [15:43:55:304]: Pathbuf: 0, pcchPathBuf: 0
    MSI (s) (F4:CC) [15:43:55:305]: MsiProvideAssembly is returning: 1607
    MSI (s) (F4:CC) [15:43:55:306]: Entering MsiProvideAssembly. AssemblyName: Microsoft.EnterpriseManagement.OperationsManager, Version=6.0.4900.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, AppContext: , InstallMode: -4
    MSI (s) (F4:CC) [15:43:55:306]: Pathbuf: 0, pcchPathBuf: 0
    MSI (s) (F4:CC) [15:43:55:307]: MsiProvideAssembly is returning: 1607
    MSI (s) (F4:CC) [15:43:55:308]: Entering MsiProvideAssembly. AssemblyName: Microsoft.EnterpriseManagement.OperationsManager, Version=6.0.4900.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, AppContext: , InstallMode: -4
    MSI (s) (F4:CC) [15:43:55:308]: Pathbuf: 0, pcchPathBuf: 0
    MSI (s) (F4:CC) [15:43:55:310]: MsiProvideAssembly is returning: 1607
    MSI (s) (F4:CC) [15:43:55:310]: Entering MsiProvideAssembly. AssemblyName: Microsoft.EnterpriseManagement.OperationsManager, Version=6.0.4900.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL, AppContext: , InstallMode: -4
    MSI (s) (F4:CC) [15:43:55:310]: Pathbuf: 0, pcchPathBuf: 0
    MSI (s) (F4:CC) [15:43:55:312]: MsiProvideAssembly is returning: 1607
    MSI (s) (F4:CC) [15:43:59:483]: Internal Exception during install operation: 0xc00000fd at 0x0000000077C24EDC.
    MSI (s) (F4:CC) [15:43:59:483]: WER report disabled for silent install.
    MSI (s) (F4:CC) [15:43:59:483]: WER report disabled for non-console install.
    MSI (s) (F4:CC) [15:43:59:483]: Internal MSI error. Installer terminated prematurely.

    Thanks for you updating! For SQL related issue, please post on the following forum:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?category=sqlserver
    Regards,
    Yan Li
    Regards, Yan Li

  • SSL related exceptions on visiting https pages with OC4J 10.1.3.1.0

    I have a standalone oc4j version 10.1.3.1.0 that I configured for SSL by following instructions of this link: http://technology.amis.nl/blog/268/quick-and-easy-ssl-in-oc4j-standalone.
    <OC4J_HOME/j2ee/home/config/secure-web.xml is as follows:
    <?xml version="1.0"?>
    <web-site xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/web-site-10_0.xsd" secure="true" display-name="OC4J 10g (10.1.3) Default Web Site" schema-major-version="10" schema-minor-version="0" >
         <web-app application="app" name="app" load-on-startup="true" root="/app" shared="true"/>
         <ssl-config factory="com.evermind.ssl.JSSESSLServerSocketFactory" keystore="sslfile" keystore-password="abc123" truststore-password=""/>
    </web-site>
    As I interact with https pages, I start to see below exceptions in the oc4j log that I like to know what are those exceptions
    are all about. Any thoughts on that and could it be that I am missing some SSL settings that may explain the below exceptions ?
    and how about the below java.lang.NullPointerException ?
    Mar 31, 2009 7:59:26 PM oracle.oc4j.network.NIOServerSocketDriver$SelectorThreadTask selectForRead
    WARNING: Exception in NIOServerSocketDriver:selectForRead
    java.nio.channels.ClosedChannelException
    at java.nio.channels.spi.AbstractSelectableChannel.configureBlocking(AbstractSelectableChannel.java:252)
    at oracle.oc4j.network.NIOServerSocketDriver$SelectorThreadTask.selectForRead(NIOServerSocketDriver.java:331)
    at oracle.oc4j.network.NIOServerSocketDriver.selectForRead(NIOServerSocketDriver.java:58)
    at oracle.oc4j.network.ServerSocketAcceptHandler.persistConnection(ServerSocketAcceptHandler.java:396)
    at oracle.oc4j.network.ServerSocketAcceptHandler.endReadHandlerRun(ServerSocketAcceptHandler.java:416)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:275)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    Mar 31, 2009 7:59:42 PM oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse run
    WARNING: IOException in ServerSocketAcceptHandler$AcceptHandlerHorse:run
    javax.net.ssl.SSLException: Unexpected end of handshake data
    at com.sun.net.ssl.internal.ssl.HandshakeInStream.read(HandshakeInStream.java:81)
    at java.io.InputStream.read(InputStream.java:85)
    at com.sun.net.ssl.internal.ssl.UnknownExtension.<init>(HelloExtensions.java:204)
    at com.sun.net.ssl.internal.ssl.HelloExtensions.<init>(HelloExtensions.java:69)
    at com.sun.net.ssl.internal.ssl.HandshakeMessage$ClientHello.<init>(HandshakeMessage.java:252)
    at com.sun.net.ssl.internal.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:135)
    at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:516)
    at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:454)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:884)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1096)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1123)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1107)
    at oracle.oc4j.network.ServerSocketAcceptHandler.doSSLHandShaking(ServerSocketAcceptHandler.java:250)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:868)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    Mar 31, 2009 7:59:42 PM oracle.oc4j.network.ServerSocketAcceptHandler$IdleHandlers closeIdleHandler
    WARNING: Exception in SelectionKey cancel
    java.lang.NullPointerException
    at oracle.oc4j.network.ServerSocketAcceptHandler$IdleHandlers.closeIdleHandler(ServerSocketAcceptHandler.java:
    3)
    at oracle.oc4j.network.ServerSocketAcceptHandler$IdleHandlers.expireHandlers(ServerSocketAcceptHandler.java:60
    at oracle.oc4j.network.ServerSocketAcceptHandler.selectorThreadHouseKeeping(ServerSocketAcceptHandler.java:217
    at oracle.oc4j.network.NIOServerSocketDriver.selfHouseKeeping(NIOServerSocketDriver.java:129)
    at oracle.oc4j.network.NIOServerSocketDriver.run(NIOServerSocketDriver.java:149)
    at com.evermind.server.http.HttpConnectionListener.run(HttpConnectionListener.java:294)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    at java.lang.Thread.run(Thread.java:619)
    Mar 31, 2009 8:00:30 PM oracle.oc4j.network.NIOServerSocketDriver$SelectorThreadTask selectForRead
    WARNING: Exception in NIOServerSocketDriver:selectForRead
    java.nio.channels.ClosedChannelException
    at java.nio.channels.spi.AbstractSelectableChannel.configureBlocking(AbstractSelectableChannel.java:252)
    at oracle.oc4j.network.NIOServerSocketDriver$SelectorThreadTask.selectForRead(NIOServerSocketDriver.java:331)
    at oracle.oc4j.network.NIOServerSocketDriver.selectForRead(NIOServerSocketDriver.java:58)
    at oracle.oc4j.network.ServerSocketAcceptHandler.persistConnection(ServerSocketAcceptHandler.java:396)
    at oracle.oc4j.network.ServerSocketAcceptHandler.endReadHandlerRun(ServerSocketAcceptHandler.java:416)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:275)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    Mar 31, 2009 8:00:31 PM oracle.oc4j.network.NIOServerSocketDriver$SelectorThreadTask selectForRead
    WARNING: Exception in NIOServerSocketDriver:selectForRead
    java.nio.channels.ClosedChannelException
    at java.nio.channels.spi.AbstractSelectableChannel.configureBlocking(AbstractSelectableChannel.java:252)
    at oracle.oc4j.network.NIOServerSocketDriver$SelectorThreadTask.selectForRead(NIOServerSocketDriver.java:331)
    at oracle.oc4j.network.NIOServerSocketDriver.selectForRead(NIOServerSocketDriver.java:58)
    at oracle.oc4j.network.ServerSocketAcceptHandler.persistConnection(ServerSocketAcceptHandler.java:396)
    at oracle.oc4j.network.ServerSocketAcceptHandler.endReadHandlerRun(ServerSocketAcceptHandler.java:416)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:275)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    Mar 31, 2009 8:00:48 PM oracle.oc4j.network.ServerSocketAcceptHandler$IdleHandlers closeIdleHandler

    I enabled ssl handshake debugging and I see the following in the log:
    09/04/05 17:36:37 HTTPThreadGroup-5, READ: TLSv1 Application Data, length = 599
    09/04/05 17:36:37 HTTPThreadGroup-5, WRITE: TLSv1 Application Data, length = 246
    09/04/05 17:36:37 HTTPThreadGroup-4, WRITE: TLSv1 Application Data, length = 304
    09/04/05 17:36:37 HTTPThreadGroup-4, WRITE: TLSv1 Application Data, length = 4564
    09/04/05 17:36:40 HTTPThreadGroup-6, READ: TLSv1 Application Data, length = 856
    09/04/05 17:36:40 HTTPThreadGroup-6, READ: TLSv1 Application Data, length = 1071
    09/04/05 17:36:40 HTTPThreadGroup-6, WRITE: TLSv1 Application Data, length = 299
    09/04/05 17:36:40 HTTPThreadGroup-5, READ: TLSv1 Application Data, length = 753
    09/04/05 17:36:40 HTTPThreadGroup-6, WRITE: TLSv1 Application Data, length = 19
    09/04/05 17:36:40 HTTPThreadGroup-6, WRITE: TLSv1 Application Data, length = 18
    09/04/05 17:36:40 HTTPThreadGroup-6, handling exception: java.io.IOException: An established connection was aborted by the software in your
    09/04/05 17:36:40 %% Invalidated: [Session-3, SSL_RSA_WITH_RC4_128_MD5]
    09/04/05 17:36:40 HTTPThreadGroup-6, SEND TLSv1 ALERT: fatal, description = unexpected_message
    09/04/05 17:36:40 HTTPThreadGroup-6, WRITE: TLSv1 Alert, length = 18
    09/04/05 17:36:40 HTTPThreadGroup-6, Exception sending alert: java.io.IOException: An established connection was aborted by the software in
    09/04/05 17:36:40 HTTPThreadGroup-6, called closeSocket()
    Apr 5, 2009 5:36:40 PM oracle.oc4j.network.NIOServerSocketDriver$SelectorThreadTask selectForRead
    WARNING: Exception in NIOServerSocketDriver:selectForRead
    java.nio.channels.ClosedChannelException
    at java.nio.channels.spi.AbstractSelectableChannel.configureBlocking(AbstractSelectableChannel.java:252)
    at oracle.oc4j.network.NIOServerSocketDriver$SelectorThreadTask.selectForRead(NIOServerSocketDriver.java:331)
    at oracle.oc4j.network.NIOServerSocketDriver.selectForRead(NIOServerSocketDriver.java:58)
    at oracle.oc4j.network.ServerSocketAcceptHandler.persistConnection(ServerSocketAcceptHandler.java:396)
    at oracle.oc4j.network.ServerSocketAcceptHandler.endReadHandlerRun(ServerSocketAcceptHandler.java:416)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:275)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    09/04/05 17:36:40 HTTPThreadGroup-5, WRITE: TLSv1 Application Data, length = 761
    09/04/05 17:36:40 HTTPThreadGroup-5, WRITE: TLSv1 Application Data, length = 2175
    09/04/05 17:36:40 HTTPThreadGroup-4, READ: TLSv1 Application Data, length = 572
    09/04/05 17:36:40 HTTPThreadGroup-4, WRITE: TLSv1 Application Data, length = 288
    09/04/05 17:36:40 HTTPThreadGroup-4, WRITE: TLSv1 Application Data, length = 8531
    09/04/05 17:36:31 HTTPThreadGroup-6, WRITE: TLSv1 Handshake, length = 74
    09/04/05 17:36:31 HTTPThreadGroup-6, WRITE: TLSv1 Change Cipher Spec, length = 1
    09/04/05 17:36:31 *** Finished
    09/04/05 17:36:31 verify_data: { 72, 81, 73, 209, 19, 180, 203, 41, 196, 20, 133, 206 }
    09/04/05 17:36:31 ***
    09/04/05 17:36:31 HTTPThreadGroup-6, WRITE: TLSv1 Handshake, length = 32
    09/04/05 17:36:31 HTTPThreadGroup-6, READ: TLSv1 Change Cipher Spec, length = 1
    09/04/05 17:36:31 HTTPThreadGroup-6, READ: TLSv1 Handshake, length = 32
    09/04/05 17:36:31 *** Finished
    09/04/05 17:36:31 verify_data: { 192, 244, 111, 12, 113, 174, 226, 171, 37, 22, 118, 17 }
    09/04/05 17:36:31 ***
    09/04/05 17:36:31 HTTPThreadGroup-6, READ: TLSv1 Application Data, length = 764
    09/04/05 17:36:31 HTTPThreadGroup-6, WRITE: TLSv1 Application Data, length = 761
    09/04/05 17:36:31 HTTPThreadGroup-6, WRITE: TLSv1 Application Data, length = 2176
    Apr 5, 2009 5:36:31 PM oracle.oc4j.network.ServerSocketAcceptHandler$IdleHandlers closeIdleHandler
    WARNING: Exception in SelectionKey cancel
    java.lang.NullPointerException
    at oracle.oc4j.network.ServerSocketAcceptHandler$IdleHandlers.closeIdleHandler(ServerSocketAcceptHandler.java:583)
    at oracle.oc4j.network.ServerSocketAcceptHandler$IdleHandlers.expireHandlers(ServerSocketAcceptHandler.java:604)
    at oracle.oc4j.network.ServerSocketAcceptHandler.selectorThreadHouseKeeping(ServerSocketAcceptHandler.java:217)
    at oracle.oc4j.network.NIOServerSocketDriver.selfHouseKeeping(NIOServerSocketDriver.java:129)
    at oracle.oc4j.network.NIOServerSocketDriver.run(NIOServerSocketDriver.java:149)
    at com.evermind.server.http.HttpConnectionListener.run(HttpConnectionListener.java:294)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    at java.lang.Thread.run(Thread.java:619)
    09/04/05 17:36:31 SystemThreadGroup-6, called close()
    09/04/05 17:36:31 SystemThreadGroup-6, called closeInternal(true)
    09/04/05 17:36:32 HTTPThreadGroup-4, READ: TLSv1 Application Data, length = 572
    09/04/05 17:36:32 HTTPThreadGroup-4, WRITE: TLSv1 Application Data, length = 288
    09/04/05 17:36:32 HTTPThreadGroup-4, WRITE: TLSv1 Application Data, length = 8531
    09/04/05 17:36:33 HTTPThreadGroup-5, READ: TLSv1 Application Data, length = 868
    09/04/05 17:36:33 HTTPThreadGroup-5, READ: TLSv1 Application Data, length = 494
    09/04/05 17:36:33 HTTPThreadGroup-5, WRITE: TLSv1 Application Data, length = 293
    09/04/05 17:36:33 HTTPThreadGroup-5, WRITE: TLSv1 Application Data, length = 19
    09/04/05 17:36:33 HTTPThreadGroup-5, WRITE: TLSv1 Application Data, length = 18
    09/04/05 17:36:33 HTTPThreadGroup-5, WRITE: TLSv1 Application Data, length = 316
    09/04/05 17:36:33 HTTPThreadGroup-5, WRITE: TLSv1 Application Data, length = 18
    09/04/05 17:36:33 HTTPThreadGroup-5, WRITE: TLSv1 Application Data, length = 21
    09/04/05 17:36:33 HTTPThreadGroup-6, READ: TLSv1 Application Data, length = 753
    09/04/05 17:36:33 HTTPThreadGroup-6, WRITE: TLSv1 Application Data, length = 755
    09/04/05 17:36:33 HTTPThreadGroup-6, WRITE: TLSv1 Application Data, length = 2494

  • An CMR related exception

    Hi! I am using Weblogic 6.1 SP2 and EJB 2.0. I built a CMR between two
    Entity Beans. However, I got the following exception while running:
    "javax.ejb.EJBException: When a cmp-field and a cmr-field (relationship) are
    mapped to the same column, the setXXX method for the cmp-field may not be
    called. The cmp-field is read-only."
    However, in the ejbCreate() method in CMP in EJB 2.0, I have to use setXXX
    method to initialize the XXX cmp-field. Am I wrong?
    Can any guru help? thanks!

    See section 10.5.2 discussion on ejbCreate<METHOD>.
    -- Anand
    "alvin" <[email protected]> wrote in message
    news:[email protected]..
    Anand, thanks! I tried with ejbPostCreate(). Still does not work. Couldyou
    point out which section in the Spec has what you said? Thanks again.
    "Anand Byrappagari" <[email protected]> wrote in message
    news:3c8cdae1$[email protected]..
    Not sure if I understand your question but I believe you cannot call the
    setXXX methods on an CMR field in the ejbCreate() method. The earliest
    you
    can do is in the ejbPostCreate(). This is a constraint set by the Spec.
    -- Anand
    "alvin" <[email protected]> wrote in message
    news:3c8cb874$[email protected]..
    Thanks! thorick,
    Is this contrain set by EJB 2.0 Spec or by Weblogic itself? And HOW to
    do
    the "manipulation of the relationship" to workaround?
    Details pls, Thanks!
    "thorick" <[email protected]> wrote in message
    news:[email protected]..
    Alvin wrote:
    thorick, my exception is raised just in ejbCreate() when I call
    setXXX().
    Are you sure you explaination is true? or it is just your
    understanding?
    Thanks!
    Ah, major retraction time. Sorry, I was confusing the situation
    with
    the
    general case of setting a Primary Key cmp-field.
    It turns out that one may NEVER call setXXX() in a cmp-field that
    is mapped to a column that is also a foreign-key column which is
    managed by the EJB Container. This not allowed because of the samereason I
    mentioned in the previous post: to call setXXX() on such a field
    would
    amount to
    managing a relationship outside
    of the EJB Container's mechanism for managing a relationship.
    You may do getXXX() but never setXXX().
    The only way to set the value of the column is via manipulation of
    the relationship.
    Sorry for any confusion !
    -thorick

  • Jersey Related exception

    Hi ,
    My application is working in Tomcat 6 and I am trying to make it work for JBOSS .I have JBOSS 5 .When I have tried running I got some exception ...after upgrading t the webservices Jersy to 1.5 to 1.11 .But in the next step I am parsing json and populating UI ....that time I am getting exception like :
    9:56:19,707 ERROR [[HRP]] Servlet.service() for servlet HRP threw exception
    java.lang.LinkageError: javax/xml/stream/XMLStreamReader
         at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:348)
         at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:339)
         at com.sun.jersey.json.impl.BaseJSONUnmarshaller.unmarshalJAXBElementFromJSON(BaseJSONUnmarshaller.java:108)
         at com.sun.jersey.json.impl.provider.entity.JSONJAXBElementProvider.readFrom(JSONJAXBElementProvider.java:125)
         at com.sun.jersey.core.provider.jaxb.AbstractJAXBElementProvider.readFrom(AbstractJAXBElementProvider.java:110)
         at com.sun.jersey.core.provider.jaxb.AbstractJAXBElementProvider.readFrom(AbstractJAXBElementProvider.java:79)
         at com.sun.jersey.spi.container.ContainerRequest.getEntity(ContainerRequest.java:474)
         at com.sun.jersey.server.impl.model.method.dispatch.EntityParamDispatchProvider$EntityInjectable.getValue(EntityParamDispatchProvider.java:123)
         at com.sun.jersey.server.impl.inject.InjectableValuesProvider.getInjectableValues(InjectableValuesProvider.java:46)
         at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$EntityParamInInvoker.getParams(AbstractResourceMethodDispatchProvider.java:153)
         at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:183)
         at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
         at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
         at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
         at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
         at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
         at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
         at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)
         at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
         at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
         at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
         at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
         at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
         at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:708)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
         at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
         at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
         at java.lang.Thread.run(Thread.java:619)
    I am gaussing some jar conflicts is happening .BUt not exactly able to identify what is jar file problem is happening ....
    Any help appreciated .........

    Hi ,
    My application is working in Tomcat 6 and I am trying to make it work for JBOSS .I have JBOSS 5 .When I have tried running I got some exception ...after upgrading t the webservices Jersy to 1.5 to 1.11 .But in the next step I am parsing json and populating UI ....that time I am getting exception like :
    9:56:19,707 ERROR [[HRP]] Servlet.service() for servlet HRP threw exception
    java.lang.LinkageError: javax/xml/stream/XMLStreamReader
         at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:348)
         at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:339)
         at com.sun.jersey.json.impl.BaseJSONUnmarshaller.unmarshalJAXBElementFromJSON(BaseJSONUnmarshaller.java:108)
         at com.sun.jersey.json.impl.provider.entity.JSONJAXBElementProvider.readFrom(JSONJAXBElementProvider.java:125)
         at com.sun.jersey.core.provider.jaxb.AbstractJAXBElementProvider.readFrom(AbstractJAXBElementProvider.java:110)
         at com.sun.jersey.core.provider.jaxb.AbstractJAXBElementProvider.readFrom(AbstractJAXBElementProvider.java:79)
         at com.sun.jersey.spi.container.ContainerRequest.getEntity(ContainerRequest.java:474)
         at com.sun.jersey.server.impl.model.method.dispatch.EntityParamDispatchProvider$EntityInjectable.getValue(EntityParamDispatchProvider.java:123)
         at com.sun.jersey.server.impl.inject.InjectableValuesProvider.getInjectableValues(InjectableValuesProvider.java:46)
         at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$EntityParamInInvoker.getParams(AbstractResourceMethodDispatchProvider.java:153)
         at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:183)
         at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
         at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
         at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
         at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
         at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
         at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
         at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)
         at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
         at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
         at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
         at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
         at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
         at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:708)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
         at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
         at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
         at java.lang.Thread.run(Thread.java:619)
    I am gaussing some jar conflicts is happening .BUt not exactly able to identify what is jar file problem is happening ....
    Any help appreciated .........

  • How to read file in netbeans web project with relative path.

    Hi friends,
    I have created a web project in Netbeans with following stucture.
    Exercise1
    src --> database --> ConnectionManager.java
    cofig --> databaseproperties.xml
    I want to read config\databaseproperties.xml file in src\database\ConnectionManager.java file.
    I have tried to create a file input stream with path = "config" File.separator "databaseproperties.xml".
    I am getting error of File Not Found..
    Anybody has any idea? In Netbeans what is the default context path?
    Edited by: Jaykishan on Jun 29, 2010 11:54 AM

    place the *.jrxml files in your war (e.g. WEB-INF\classes\report.jrxml) and then in your servlet:
    JasperReport report = JasperCompileManager.compileReport("report.jrxml");

  • WebLogic and Transaction related exception

    We deploy our application on Web logic 8.1 and used SQL Server 2000 as database.
    we received the following error: (never received this any time in the past for 3 yrs)
    JTS.Site.DB_Name, HeuristicHazard, (javax.transaction.xa.XAException: [TDS Driver]The connection is closed)) !
    Here is more information from Web Logic Log.
    <ExecuteThread: '8' for queue: 'ServletQueue'> <<anonymous>> <BEA1-075FCECB75B815E20364> <BEA-110412> <Xid=BEA1-075FCECB75B815E20364(187704364),Status=Committed,HeuristicErrorCode=XA_HEURHAZ,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=0,seconds left=120,activeThread=Thread[ExecuteThread: '8' for queue: 'ServletQueue',5,Thread Group for Queue: 'ServletQueue'],XAServerResourceInfo[JTS.SITE.JNDI_Name]=(ServerResourceInfo[JTS.SITE.JNDI_Name]=(state=committed,assigned=PAS Name),xar=JTS.SITE.JNDI_Name])........
    Any help or advice in this regard will be appreciated....Thanks.

    Dear readers,
    Found the cause: somewhere OpenJPA threw an exception which caused the transaction to roll back.
    The exception was caught locally hiding the rollback.
    cheers
    Marc

  • Compile / run problems with netbeans 6 but not netbeans 6 beta 1 or 5.5

    When I compile my project in netbeans IDE 6.0 (Build 200711261600) 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06 i get quite often a "can not find symbol" error or during runtime a "netbeans 6 java.lang.NoClassDefFoundError" exception. also switching between F6 or ctrl-F5 mode can cause the problem to appear.
    Compiling again or clean build resolves it.
    However running the same project under netbeans 5.5 or 6 beta 1 never gives this problem.
    any hint what might be wrong? i looked and compared the project settings but can't see any difference, but I assume that the upgrade script must have changed something.

    <?xml version="1.0" encoding="UTF-8" ?>
    - <project name="BorderDemo" default="default" basedir=".">
    <import file="nbproject/build-impl.xml" />
    </project>This is 'build.xml' file. Check for 'project.xml' file in 'nbproject' folder. You will find it to be:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <project xmlns="http://www.netbeans.org/ns/project/1">
      <type>org.netbeans.modules.java.j2seproject</type>
    - <configuration>
    - <data xmlns="http://www.netbeans.org/ns/j2se-project/3">
      <name>BorderDemo</name>
      <minimum-ant-version>1.6.5</minimum-ant-version>
    - <source-roots>
      <root id="src.dir" />
      </source-roots>
      </data>
      </configuration>
      </project>Change it to:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <project xmlns="http://www.netbeans.org/ns/project/1">
      <type>org.netbeans.modules.java.j2seproject</type>
    - <configuration>
    - <data xmlns="http://www.netbeans.org/ns/j2se-project/3">
      <name>BorderDemo</name>
      <minimum-ant-version>1.6.5</minimum-ant-version>
    - <source-roots>
      <root id="src.dir" />
      </source-roots>
      <test-roots>
      <root id="test.src.dir" />
      </test-roots>
      </data>
      </configuration>
      </project>I hope it works.....
    thanks!

  • NetBeans acting weird; A list with different components

    Hi,
    I'm writing an application that is using swing components and have some questions (my IDE is NetBeans 6.1):
    1. I have some forms with JTextFields, JButtons and JLabels. I have a very annoying problem in the NetBeans, that sometimes if I change the location of one of the components in the form (in the design view), for example a JTextField, the entire form changes its look - buttons are moving, labels are dissappearing etc.
    Why is that? Is it a bug in the IDE?
    2. I have written kind of a IM application and I have a list of users, some are online and some are offline.
    I want the list to show me the online users in a different way that the offline users (for example - online users are colored in green and offline users are in red, or maybe a small icon next to the user's name).
    How can I do it? At the moment I'm using a JList (and don't distinguish visually between offline and online users).
    Thanks a lot!

    You may get a decent answer here, but odds are that you will have better luck if you post this in some netbeans forum or mail list.
    Oh, and I doubt that you've run into a NetBeans bug. The relative probability of you finding something that the creators have not vs you simply not using it correctly are orders of magnitude apart. This is not to insult you, as if I were in a similar situation, the odds would be the same for me. I know that I'm not anywhere near as smart as the creators of this complex app.

  • UCM Server Service Exception

    Hello everyone,
    I'm trying to integrate my WebCenter portal project with my Oracle UCM server and i need a hand to finish the integration. My questing is about a security related exception and any kind of help is appreciated. Below you can find the details;
    Thanks in advance!
    Nurhak
    Here is the problem;
    1. After i run my JDeveloper project i reach the portal screen, it is : http://127.0.0.1:7101/UCMTester-Portal-context-root/faces/pages_home
    2. I can login to here with a user name: 48111 and a password: 12345678. After i login, i can see the Contribution Folders and the subfolders under that. I can open these folders and files as well. 48111 has admin rights on both WebLogic Administration Console side and WebCenter project side.
    3. When i want to upload a new file, then i have this pop up error message:
    *Unable to upload the document.
    *You do not have permission.
    *Please refresh to see the latest content (View > Refresh Content).
    4. Then when i look at the logs on the UCM_server side i find the ServiceException log mentioned below.
    5. When i login to UCM Server (http://10.100.110.120:16200/cs) with the same username(48111) and password(12345678), then i can upload new documents.
    Message     general exception
    Supplemental Detail     intradoc.common.ServiceException: !csUnableToCheckIn,(null)!csSecurityGroupNotDefined
    *ScriptStack CHECKIN_UNIVERSAL
    3:checkSecurity,**no captured values**
    at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:2115)
    at intradoc.server.Service.buildServiceException(Service.java:2260)
    at intradoc.server.Service.createServiceExceptionEx(Service.java:2254)
    at intradoc.server.Service.createServiceException(Service.java:2249)
    at intradoc.server.ServiceSecurityImplementor.determinePrivilege(ServiceSecurityImplementor.java:652)
    at intradoc.server.DocumentAccessSecurity.checkSecurity(DocumentAccessSecurity.java:166)
    at intradoc.server.DocumentAccessSecurity.checkSecurity(DocumentAccessSecurity.java:121)
    at intradoc.server.ServiceSecurityImplementor.checkSecurity(ServiceSecurityImplementor.java:371)
    at intradoc.server.Service.checkSecurity(Service.java:2829)
    at intradoc.server.Service.checkSecurity(Service.java:2807)
    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:597)
    at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
    at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:310)
    at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:295)
    at intradoc.server.Service.doCodeEx(Service.java:550)
    at collections.CollectionUserHandler.checkSecurity(CollectionUserHandler.java:1366)
    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:597)
    at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
    at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:324)
    at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
    at intradoc.server.Service.doCodeEx(Service.java:533)
    at intradoc.server.Service.doCode(Service.java:505)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
    at intradoc.server.Service.doAction(Service.java:477)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458)
    at intradoc.server.Service.doActions(Service.java:472)
    at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1391)
    at intradoc.server.Service.executeActions(Service.java:458)
    at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:737)
    at intradoc.server.Service.doRequest(Service.java:1890)
    at intradoc.server.ServiceManager.processCommand(ServiceManager.java:435)
    at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
    at intradoc.server.IdcServerThread.run(IdcServerThread.java:160)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    Hello Jonathan,
    Thank you for the reply. Now it works!!
    Here is the step for the solution:
    1. Login to Oracle Content Server http://yourserveripaddress:16200/cs with admin rights
    2. Go to Administration/Folder Configuration/System Default Information Field Configuration
    3. Change the Security Group and Update (In this step i changed it to "Public" just to see if it is working or not) and try uploading a file!
    Happy coding!
    Nurhak

  • SAML assertion exceptions within EJB

    Okay, I'll try to keep this simple:<br /><br />We are implementing the standard LC Java API's for rendering forms (using the FormsServiceClient) and then transforming the rendered content to PDF/A using the outputClient. Since we have a lot of simultaneous requests the logic is implemented within a stateless session EJB. <br /><br />I instantiate the ServiceClientFactory within the EJB's init() method and then store the ServiceClientFactory reference as a class variable so that on subsequent business method invocations, the same ServiceClientFactory object can be reused (without going throug the overhead of instantiating one on each req). (Note that on each request, I create a new FormsServiceClient or OutputClient using the SAME ServiceClientFactory object). I have some questions/concerns:<br /><br />1) Is this form of reuse of the ServiceClientFactory object okay?<br /><br />2) We keep getting the following error:<br />><i>" <Warning> <com.adobe.idp.common.errors.exception.IDPLoggedException> <000000> <UserM:GENERIC_WARNING: [Thread Hashcode: 668113225] | [AuthenticationManagerBean] errorCode:12804 errorCodeHEX:0x3204 message:Could not validate SAML Token --- Assertion is not valid. Current time is greater than NOTonOrAfter time specified in the Assertion>"</i><br /><br />After a simple restart of the EJB, the error goes away. How can this be fixed? What's causing this?<br /><br />Any help would be much appreciated!

    PROBLEM
    Using the same instance of ServiceClientFactory to remotely invoke the services exposed by the LiveCycle container can lead to
    exception related to assertion expiry
    Solution
    To handle the timeout use the ThrowHandler mechanism provided by the ServiceClientFactory framework
    Detailed explanation
    LiveCycle provides a client sdk for java based client to invoke its services remotely.
    An invocation involves Creation of a ServiceClientFactory instance Setting the user credential in thefactory instance Pass that factory to a service client or use that to create InvocationRequest directly
    Use the client to make the actual request.
    For more details refer to Invoking
    LiveCycle ES Using the Java API .
    A ServiceClientFactory instance once created is valid for a ceratin
    period of time which is by default 120 min. if the same instance is used to invoke beyond this period then it would lead to an exception stating that
    the session has expired [com.adobe.idp.um.api.impl.AuthenticationManagerImpl]
    errorCode:16421 errorCodeHEX:0x4025 message:Could not validate SAML
    Token --- Assertion has expired and hence not valid for user
    [administrator@DefaultDom]. Its valid till time [Thu Oct 22
    17:07:53 IST
    2009] was found to be before the current time [Thu Oct
    22 17:58:18 IST 2009]
    This is not an issue if the ServiceClientFactory instance is used for short duration. However if you are going to perform a long
    running task like converting large number of documents to pdf ,applying policies to them etc then it would be an issue.
    Session Expiry
    Before fxing the issue some info on what is session expiry.
    When you use a ServiceClientFactory instance to invoke the service following fow happens
    You set the credentials in the properties and invoke theservice
    LiveCycle on server side validates the credentials and issues a Context. It is sort of a ticket which can be reused later instead of the actual credentials.
    Upon receiving the response from the server the ServiceClientFactory instance deletes its own copy of credentials and instead stores the Context For later invocations this Context instance is passed instead of the user credentials
    This whole fow is done to ensure that user's credentials are not sent for each remote call thus improving the security.
    For more information on Context refer to
    User Identity in LiveCycle .
    Solution
    To fx this issue you would have to re authenticate to LiveCycle and get the Context reissued. the best way to do that is to make use of the ThrowHandler provided by the ServiceClientFactory framework
    STEP1 -  Create a Throwhandler
    * This ThrowHandler caches the user credentials and uses them
    to refresh the Context in the
    * ServiceClientFactory upon expiry.
    private static class SimpleTimeoutThrowHandler implements
    ThrowHandler {
    private String username;
    private String password;
    public SimpleTimeoutThrowHandler(String username, String
    password) {
    this.username = username;
    this.password = password;
    public boolean handleThrowable(Throwable t, ServiceClient
    sc,
    ServiceClientFactory scf, MessageDispatcher md,
    InvocationRequest ir, int numTries) throws
    DSCException {
    if(timeoutError(t)){
    //The call to AuthenticationManager do not require
    authentication so the default properties
    //are suffcient
    AuthenticationManager am =
    new
    AuthenticationManagerServiceClient(ServiceClientFactory.createInstance(getDefaultPropertie s()));
    AuthResult ar = null;
    try {
    ar =
    am.authenticate(username,password.getBytes());
    } catch (UMException e) {
    throw new IllegalStateException(e);
    Context ctx = new Context();
    ctx.initPrincipal(ar);
    //Refresh the ServiceClientFactory instance with
    the new context
    scf.setContext(ctx);
    logger.info("Refreshed the context associated with
    ServiceCLientFactory");
    //Now tell SCF to try the invocation again
    return true;
    //Check so that we do not wrap the exception again
    if(t instanceof DSCException)
    throw (DSCException)t;
    if(t instanceof RuntimeException)
    throw (RuntimeException)t;
    // how is it possible to get this far?
    throw new IllegalStateException(t);
    private boolean timeoutError(Throwable t) {
    if(!(t.getCause() instanceof UMException)){
    return false;
    UMException ue = (UMException) t.getCause();
    //Check that UMException is due to the
    assertion/context expiry
    if(UMConstants.ErrorCodes.E_TOKEN_INVALID ==
    ue.getErrCode()){
    return true;
    return false;
    This ThrowHandler would be invoked by the ServiceClientFactory upon receiving any exception. The handler would then determine if its a timeout related exception and then would refresh the Context associated with the factory instance and tells it to retry the invocation.
    STEP - 2 Register the handler
    ServiceClientFactory.installThrowHandler(new
    SimpleTimeoutThrowHandler(username, password));
    Note: The handler should be registered only once in the application
    STEP 3 - Perform your invocation
    Following sample would try to apply policies on all the fles present in a directory
    Properties p = getDefaultProperties();
    p.setProperty(DSC_CREDENTIAL_USERNAME, username);
    p.setProperty(DSC_CREDENTIAL_PASSWORD, password);
    ServiceClientFactory scf =
    ServiceClientFactory.createInstance(p);
    //Now do some long running operation
    String inputDirName ="path-to-input-dir";
    String outDirName = "path-to-out-dir";
    String policyName = "the-policy-name";
    File inDir = new File(inputDirName);
    File outDir = new File(outDirName);
    RightsManagementClient rmClient = new
    RightsManagementClient(scf);
    DocumentManager docManager = rmClient.getDocumentManager();
    //Iterate over all the pdf in the inDir and apply the
    policies. If this takes a
    for(File pdfFile : inDir.listFiles()){
    Document inDoc = new Document(pdfFile, false);
    Document securedDoc = docManager.applyPolicy(inDoc,
    pdfFile.getName(), null, policyName, null, null);
    securedDoc.copyToFile(new
    File(outDir,pdfFile.getName()));
    Now the invocation would complete even if it takes a long time. if any session expiry occurs then our ThrowHandler would take care of that.
    here's a sample:
    TimeOutSample.zip

  • Exception occured: java.rmi.ConnectException:

    hi
    i got an exception while running rmi client jar file....
    i want to invoke a method in the server..i have created two jar files one for server and another for client..
    i have added the policy file also..i tried by using server and client in the same system
    when i run the client jar i got an exception like given below..and i'm using netbeans 6...
    Exception occured: java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
    java.net.ConnectException: Connection refused: connect
    can any one help me to solve this problem?
    thanx in advance...

    hi thanx for the reply..
    i'm using windows XP, netbeans6, jdk6, sql server2000.
    when i started the rmiregistry this exception is over, but another exception comes
    Exception occured: java.rmi.NotBoundException: myebillRMIImpl
    my code is given below..please help me....a similar code worked properly without using netbeans..
    import java.sql.*;
    public interface ebillRMIInterface extends java.rmi.Remote
    public void insert(String str) throws java.rmi.RemoteException;
         public ResultSet select(String str1) throws java.rmi.RemoteException;
    import java.rmi.*;
    import java.rmi.server.UnicastRemoteObject;
    import java.sql.*;
    public class ebillRMIImpl extends UnicastRemoteObject implements ebillRMIInterface
    public ebillRMIImpl(String name) throws RemoteException
    super();
    try
    Naming.rebind(name, this);
    catch(Exception e)
    System.out.println("Exception occurred: " + e);
                        Statement stmt=null;
                        Connection con=null;
                        ResultSet res=null;
    public void insert(String str)
    try
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   con = DriverManager.getConnection("jdbc:odbc:rmidsn", "sa", "");
                   stmt = con.createStatement();
                   stmt.executeUpdate(str);
                   con.close();
              catch (Exception e)
                   System.out.println(e);
              public ResultSet select(String str)
                   try
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   con = DriverManager.getConnection("jdbc:odbc:rmidsn", "sa", "");
                   stmt = con.createStatement();
                   res=stmt.executeQuery(str);
                   con.close();
              catch (Exception e)
                   System.out.println(e);
              return res;
    import java.rmi.*;
    import java.rmi.registry.LocateRegistry;
    import java.rmi.registry.Registry;
    import java.rmi.server.UnicastRemoteObject;
    public class ebillRMIServer
    public static void main(String[] argv)
    System.setSecurityManager(new RMISecurityManager());
    try
    //Registry registry =LocateRegistry.getRegistry();
    ebillRMIImpl implementation = new ebillRMIImpl("myebillRMIImpl");
    catch (Exception e)
    System.out.println("Exception occurred: " + e);
    Client function is
    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {     
    System.setSecurityManager(new RMISecurityManager());
    int itemid;
    String serverName ="";
    serverName = "localhost";
                        ResultSet res=null;
    String itid=jTextField1.getText();
    itemid=Integer.parseInt(itid);
    try
    //bind server object to object in client//rmi://host:<port>/correlator
    ebillRMIInterface ebillserver = (ebillRMIInterface) Naming.lookup("rmi://"+serverName+"/myebillRMIImpl");
    //invoke method on server object
    System.out.println("Date on server is " + d);*/
                                  String str="select * from Stock where itemid="+itemid;
                                  res=ebillserver.select(str);
    while(res.next())
    jTextField2.setText(res.getString(2));
    Float price=res.getFloat(4);
    String pr=String.valueOf(price);
    jTextField3.setText(pr);
    catch(Exception e)
    System.out.println("Exception occured: " + e);
    System.exit(0);
    System.out.println("RMI connection successful");
    }

  • Exception: "Could not validate SAML Token"

    We have an evaluation system setup that we are using to generate PDF from PS. We're connecting via the EJB client, and typically have had no problems. Until today. At some point today we began seeing exceptions being thrown on the client:
    Caused by: com.adobe.idp.um.api.UMException | [com.adobe.idp.um.api.impl.AuthenticationManagerImpl] errorCode:16421 errorCodeHEX:0x4025 message:Could not validate SAML Token --- Assertion has expired and hence not valid for user [administrator@DefaultDom]. Its valid till time [Tue Feb 04 10:58:45 MST 2014] was found to be before the current time [Tue Feb 04 16:04:41 MST 2014]
    Simply bouncing the app server where the client code is running solved the problem, however we'd like to better understand what is going on and why. Nothing that I can find in the docs seems to indicate the cause/solution, and possible solutions have links that appear to no longer function: http://cookbooks.adobe.com/post_Renewing_the_context_to_handle_session_expiry-16410.html
    Any suggestions and/or insight would be greatly appreciated. Thanks!

    PROBLEM
    Using the same instance of ServiceClientFactory to remotely invoke the services exposed by the LiveCycle container can lead to
    exception related to assertion expiry
    Solution
    To handle the timeout use the ThrowHandler mechanism provided by the ServiceClientFactory framework
    Detailed explanation
    LiveCycle provides a client sdk for java based client to invoke its services remotely.
    An invocation involves Creation of a ServiceClientFactory instance Setting the user credential in thefactory instance Pass that factory to a service client or use that to create InvocationRequest directly
    Use the client to make the actual request.
    For more details refer to Invoking
    LiveCycle ES Using the Java API .
    A ServiceClientFactory instance once created is valid for a ceratin
    period of time which is by default 120 min. if the same instance is used to invoke beyond this period then it would lead to an exception stating that
    the session has expired [com.adobe.idp.um.api.impl.AuthenticationManagerImpl]
    errorCode:16421 errorCodeHEX:0x4025 message:Could not validate SAML
    Token --- Assertion has expired and hence not valid for user
    [administrator@DefaultDom]. Its valid till time [Thu Oct 22
    17:07:53 IST
    2009] was found to be before the current time [Thu Oct
    22 17:58:18 IST 2009]
    This is not an issue if the ServiceClientFactory instance is used for short duration. However if you are going to perform a long
    running task like converting large number of documents to pdf ,applying policies to them etc then it would be an issue.
    Session Expiry
    Before fxing the issue some info on what is session expiry.
    When you use a ServiceClientFactory instance to invoke the service following fow happens
    You set the credentials in the properties and invoke theservice
    LiveCycle on server side validates the credentials and issues a Context. It is sort of a ticket which can be reused later instead of the actual credentials.
    Upon receiving the response from the server the ServiceClientFactory instance deletes its own copy of credentials and instead stores the Context For later invocations this Context instance is passed instead of the user credentials
    This whole fow is done to ensure that user's credentials are not sent for each remote call thus improving the security.
    For more information on Context refer to
    User Identity in LiveCycle .
    Solution
    To fx this issue you would have to re authenticate to LiveCycle and get the Context reissued. the best way to do that is to make use of the ThrowHandler provided by the ServiceClientFactory framework
    STEP1 -  Create a Throwhandler
    * This ThrowHandler caches the user credentials and uses them
    to refresh the Context in the
    * ServiceClientFactory upon expiry.
    private static class SimpleTimeoutThrowHandler implements
    ThrowHandler {
    private String username;
    private String password;
    public SimpleTimeoutThrowHandler(String username, String
    password) {
    this.username = username;
    this.password = password;
    public boolean handleThrowable(Throwable t, ServiceClient
    sc,
    ServiceClientFactory scf, MessageDispatcher md,
    InvocationRequest ir, int numTries) throws
    DSCException {
    if(timeoutError(t)){
    //The call to AuthenticationManager do not require
    authentication so the default properties
    //are suffcient
    AuthenticationManager am =
    new
    AuthenticationManagerServiceClient(ServiceClientFactory.createInstance (getDefaultProperties()));
    AuthResult ar = null;
    try {
    ar =
    am.authenticate(username,password.getBytes());
    } catch (UMException e) {
    throw new IllegalStateException(e);
    Context ctx = new Context();
    ctx.initPrincipal(ar);
    //Refresh the ServiceClientFactory instance with
    the new context
    scf.setContext(ctx);
    logger.info("Refreshed the context associated with
    ServiceCLientFactory");
    //Now tell SCF to try the invocation again
    return true;
    //Check so that we do not wrap the exception again
    if(t instanceof DSCException)
    throw (DSCException)t;
    if(t instanceof RuntimeException)
    throw (RuntimeException)t;
    // how is it possible to get this far?
    throw new IllegalStateException(t);
    private boolean timeoutError(Throwable t) {
    if(!(t.getCause() instanceof UMException)){
    return false;
    UMException ue = (UMException) t.getCause();
    //Check that UMException is due to the
    assertion/context expiry
    if(UMConstants.ErrorCodes.E_TOKEN_INVALID ==
    ue.getErrCode()){
    return true;
    return false;
    This ThrowHandler would be invoked by the ServiceClientFactory upon receiving any exception. The handler would then determine if its a timeout related exception and then would refresh the Context associated with the factory instance and tells it to retry the invocation.
    STEP - 2 Register the handler
    ServiceClientFactory.installThrowHandler(new
    SimpleTimeoutThrowHandler(username, password));
    Note: The handler should be registered only once in the application
    STEP 3 - Perform your invocation
    Following sample would try to apply policies on all the fles present in a directory
    Properties p = getDefaultProperties();
    p.setProperty(DSC_CREDENTIAL_USERNAME, username);
    p.setProperty(DSC_CREDENTIAL_PASSWORD, password);
    ServiceClientFactory scf =
    ServiceClientFactory.createInstance(p);
    //Now do some long running operation
    String inputDirName ="path-to-input-dir";
    String outDirName = "path-to-out-dir";
    String policyName = "the-policy-name";
    File inDir = new File(inputDirName);
    File outDir = new File(outDirName);
    RightsManagementClient rmClient = new
    RightsManagementClient(scf);
    DocumentManager docManager = rmClient.getDocumentManager();
    //Iterate over all the pdf in the inDir and apply the
    policies. If this takes a
    for(File pdfFile : inDir.listFiles()){
    Document inDoc = new Document(pdfFile, false);
    Document securedDoc = docManager.applyPolicy(inDoc,
    pdfFile.getName(), null, policyName, null, null);
    securedDoc.copyToFile(new
    File(outDir,pdfFile.getName()));
    Now the invocation would complete even if it takes a long time. if any session expiry occurs then our ThrowHandler would take care of that.
    here's a sample:
    TimeOutSample.zip

  • Exception while exposing Application Module Methods as Web Service

    Hello Everyone,
    I am working on Jdeveloper 11.1.1.3.0 version and tried to expose one method of application module as web service. To do this, i used "Service Interface" tab of Application module within Jdeveloper and Jdeveloper had generated all interfaces, stubs, code for the Session bean required for web service. I am now trying to "Test Web Service" from the implementation class generated then i am getting this error in Weblogic deployment. Any help/pointers would be highly appreciated.
    I used another installation of Jdeveloper same version at my collegues desktop but getting the same error. Not sure, if this version of Jdeveloper is having issue in exposing application module as web service. I think that database related exception can be ignored as no database call is being made by the application.
    [Running application SalaryControlService on Server Instance IntegratedWebLogicServer...]
    [10:41:26 AM] ---- Deployment started. ----
    [10:41:26 AM] Target platform is (Weblogic 10.3).
    [10:41:27 AM] Retrieving existing application information
    [10:41:27 AM] Running dependency analysis...
    [10:41:27 AM] Deploying 2 profiles...
    [10:41:27 AM] Wrote EJB Module to C:\Documents and Settings\sacggupt\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\SalaryControlService\ModelEJB.jar
    [10:41:28 AM] Wrote Enterprise Application Module to C:\Documents and Settings\sacggupt\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\SalaryControlService
    [10:41:29 AM] java.lang.NullPointerException
    [10:41:29 AM]      at oracle.j2ee.ws.tools.wsa.jaxws.AssemblerProcessor.getClassNamesFromEjb(AssemblerProcessor.java:180)
    [10:41:29 AM]      at oracle.j2ee.ws.tools.wsa.jaxws.AssemblerProcessor.processEjb(AssemblerProcessor.java:149)
    [10:41:29 AM]      at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsEjbAssembler.processEjb(JaxwsEjbAssembler.java:182)
    [10:41:29 AM]      at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsEjbAssembler.ejbAssemble(JaxwsEjbAssembler.java:152)
    [10:41:29 AM]      at oracle.j2ee.ws.tools.wsa.cli.Processor.jaxwsEjbAssemble(Processor.java:630)
    [10:41:29 AM]      at oracle.j2ee.ws.tools.wsa.cli.Processor.execute(Processor.java:327)
    [10:41:29 AM]      at oracle.j2ee.ws.tools.wsa.cli.Processor.execute(Processor.java:230)
    [10:41:29 AM]      at oracle.j2ee.ws.tools.wsa.Main.mainNoSystemExit(Main.java:84)
    [10:41:29 AM]      at oracle.j2ee.ws.tools.wsa.Main.main(Main.java:49)
    [10:41:29 AM] WARNING: Error while processing ejb-jar.xml for ejb module at "C:\Documents and Settings\sacggupt\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\SalaryControlService\ModelEJB.jar".
    [10:41:29 AM] INFO: Unable to load annotation weblogic.javaee.CallByReference for parsing. The annotation is ignored.
    [10:41:29 AM] INFO: Unable to load annotation weblogic.javaee.CallByReference for parsing. The annotation is ignored.
    [10:41:29 AM] INFO: GenericWSWarAnnotationListener.parseAnnotatedClass Adding Servlet Mapping with URL pattern /HrModuleService for annotated WebService class lt.andrejusb.model.server.serviceinterface.HrModuleServiceImpl
    [10:41:30 AM] WSA process exited with code 0
    [10:41:30 AM] Deploying Application...
    <Jan 3, 2011 10:41:31 AM IST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application SalaryControlService is not versioned.>
    <ServerMessages><warningMBeanRegisterError> Failed to register the web service Config MBeans for application: SalaryControlService endpoint: SalaryControlService the error is: oracle.as.jmx.framework.util.MissingConfigurationFileException: The configuration at URI "WEB-INF\oracle-webservices.xml" cannot be loaded.
    [10:41:36 AM] Application Deployed Successfully.
    [10:41:36 AM] The following URL context root(s) were defined and can be used as a starting point to test your application:
    [10:41:36 AM] http://10.176.162.16:7101/SalaryControlService
    [10:41:36 AM] Elapsed time for deployment: 9 seconds
    [10:41:36 AM] ---- Deployment finished. ----
    Run startup time: 9391 ms.
    [Application SalaryControlService deployed to Server Instance IntegratedWebLogicServer]
    Target URL -- http://localhost:7101/SalaryControlService/HrModuleService
    Edited by: LearningToFly on Jan 2, 2011 9:13 PM

    Hello,
    Is this resolved yet? The reason I am asking is that I'm getting the same error as yours. I am trying to run the StoreFront tutorial in JDeveloper 11.1.1.3 and here's what I got:
    [04:21:31 PM] ---- Deployment started. ----
    [04:21:31 PM] Target platform is (Weblogic 10.3).
    [04:21:32 PM] Retrieving existing application information
    [04:21:32 PM] Running dependency analysis...
    [04:21:32 PM] Deploying 4 profiles...
    [04:21:32 PM] Wrote MAR file to C:\Documents and Settings\ylin\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\StoreFrontModule\metadata1.mar
    [04:21:33 PM] Wrote Web Application Module to C:\Documents and Settings\ylin\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\StoreFrontModule\StoreFrontUIWebApp.war
    [04:21:38 PM] Wrote EJB Module to C:\Documents and Settings\ylin\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\StoreFrontModule\StoreFrontServiceEJB.jar
    [04:21:40 PM] Wrote Enterprise Application Module to C:\Documents and Settings\ylin\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\StoreFrontModule
    [04:21:41 PM] java.lang.NullPointerException
    [04:21:41 PM]      at oracle.j2ee.ws.tools.wsa.jaxws.AssemblerProcessor.getClassNamesFromEjb(AssemblerProcessor.java:180)
    [04:21:41 PM]      at oracle.j2ee.ws.tools.wsa.jaxws.AssemblerProcessor.processEjb(AssemblerProcessor.java:149)
    [04:21:41 PM]      at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsEjbAssembler.processEjb(JaxwsEjbAssembler.java:182)
    [04:21:41 PM]      at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsEjbAssembler.ejbAssemble(JaxwsEjbAssembler.java:152)
    [04:21:41 PM]      at oracle.j2ee.ws.tools.wsa.cli.Processor.jaxwsEjbAssemble(Processor.java:630)
    [04:21:41 PM]      at oracle.j2ee.ws.tools.wsa.cli.Processor.execute(Processor.java:327)
    [04:21:41 PM]      at oracle.j2ee.ws.tools.wsa.cli.Processor.execute(Processor.java:230)
    [04:21:41 PM]      at oracle.j2ee.ws.tools.wsa.Main.mainNoSystemExit(Main.java:84)
    [04:21:41 PM]      at oracle.j2ee.ws.tools.wsa.Main.main(Main.java:49)
    [04:21:41 PM] WARNING: Error while processing ejb-jar.xml for ejb module at "C:\Documents and Settings\ylin\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\StoreFrontModule\StoreFrontServiceEJB.jar".
    [04:21:41 PM] INFO: Unable to load annotation weblogic.javaee.CallByReference for parsing. The annotation is ignored.
    [04:21:41 PM] INFO: Unable to load annotation javax.interceptor.Interceptors for parsing. The annotation is ignored.
    [04:21:41 PM] INFO: Unable to load annotation weblogic.javaee.CallByReference for parsing. The annotation is ignored.
    [04:21:41 PM] INFO: Unable to load annotation javax.interceptor.Interceptors for parsing. The annotation is ignored.
    [04:21:41 PM] INFO: GenericWSWarAnnotationListener.parseAnnotatedClass Adding Servlet Mapping with URL pattern /StoreFron
    Can someone help with this? Thank you in advance!
    Edited by: 834077 on Mar 5, 2011 6:28 AM

Maybe you are looking for