10g preview SerialVersionUID

I am devloping an app using JAXB in jdev 10g. I added the JAXB libraries from JWSDP-1.3 to my project along with some jaxb source code I compiled with JWSDP. I am using JWSDP so I can use the xjc serializable extension to be able to store my classes as cmp fields.
When I use the embedded oc4j that comes with jdev 10g preview the app works fine. When I deploy to a standalone version of the same oc4j along with the same added libraries, it also works as expected. But when I deploy to the standalone 10g oc4j preview, along with the same added libraries, using this type of code:
ObjectFactory objFactory = new ObjectFactory();
MyObjectType myObject = objFactory.createMyObjectType();
I am getting an error saying:
java.lang.InternalError: com.sun.msv.datatype.xsd.XSDatatypeImpl; local class incompatible: stream classdesc serialVersionUID = 1, local class serialVersionUID = 48001797565480860 at com.sun.xml.bind.unmarshaller.DatatypeDeserializer.deserialize(DatatypeDeserialer.java:30)
Strangely it does not happen on most of the jaxb classes I try to invoke, only a few. I believe the error means that there is a different version some JAXB implementation classes in the OC4J preview than I added to the default embedded oc4j. Can anyone point me in the right direction on how to fix this?

I have a little more information. The problem was being caused by a custom datatype which used the <union/> tag. I'm still a little puzzled why it works in jwsdp-1.3 and the embedded version, but not the 10g preview. Does anyone know what libraries I can move from JWSDP-1.3 into oc4j 10g preview to get the union tag to work?

Similar Messages

  • Problem with running Applets in JDEV 10G Preview

    Our Jdeveloper project has a default run target which is an Applet HTML page.
    Sometimes when a you click Run/Debug the project runs in Applet Viewer and sometimes it spawns an OC4J process and runs it in the container. It seems the execution of our project has a mind of its own. You can run/debug the same project on different developer PCs and have different execution behavior.
    How do you configure the execution environment for applets?
    If possible, it would be nice to be able to create multiple execution profiles so that we could have this applet run in OC4J sometimes and in AppletViewer other times. But it does not seem like you have control of this under the project properties.
    Thanks,
    Paul Manning

    Hi Paul,
    In the 10g preview, the code that launches applet viewer has first crack at whether it should "run" your html file. If that code thinks it should not launch applet viewer, then the code that launches OC4J gets a chance. The applet viewer launcher looks at the contents of the html file and looks for the <applet> tag. Is it possible that the contents of your html file is changing in such a way that my applet viewer launcher code isn't able to find the <applet> tag? If so, can you possibly send me your html file, or describe the applet tag(s), so that I can improve my side? I'd really appreciate it.
    In the near term future (the 10g release), when the run target can be started in different ways (like your applet html), the user will get to choose which way when he/she clicks run/debug. If you use the context menu, the run and debug items will lead to a pull-right submenu that lists all the choices. However, if my applet viewer launcher code doesn't find the applet tag in your html file, you won't see applet viewer in the list of choices.
    In the long term future we will support real multiple execution profiles.
    -Liz Looney

  • 10g Preview: No way to rename view link usages in AM

    10g Preview (9.0.5.0.0 Build 1375), Win2k SP3.
    I generated the entity objects, view objects, associations, and view links from my DB structure. I created an application module with the default data model from the view objects and view links.
    I then renamed all of the view links using the Rename View Link dialog. The AM's xml file was correctly updated with the new names of the underlying view links, but the view link usages retained the old names.
    There does not appear to be a convenient way of renaming the view link usages in the AM. The workarounds are either to deconstruct the data model and then reconstruct it, or to manually edit the .java and .xml files.
    I would like to see, at minimum, the ability to rename the AM's usages via a right-click menu in the Structure pane. This would affect both view object and view link usages. Currently the only option available in the right-click menu is to edit the underlying business object, not the usage. It also would make sense to allow view link usages to be renamed from the Data Model page of the AM wizard.

    That worked beautifully. I didn't have the property inspector open originally, so it's nice to know there is a way to rename usages after all.
    I wonder if there's a usability issue here though... maybe it's just me, but with the ability to rename some things via the right-click menu in the navigator pane, it seemed natural to look in the very similar structure pane for the same sort of functionality. Now there's a third place to look. Perhaps if the right-click menu in the structure pane simply had a "Properties..." entry or something similar that brought focus to the Property Inspector, it would help the user understand that there's another place to try to make the desired changes.

  • DataAction class changed from 10g Preview version to Production

    I have been using the production version of JDeveloper to work through the "Creating a JSP Application using ADF Business Components and ADF DataBinding" tutorial that was written for the 10g Preview (http://otn.oracle.com/products/jdev/collateral/tutorials/9050/bizcomp_jsp_tut.html).
    In one section it instructs you to override the findForward() method of a DataAction. Unfortunately, there is no longer an overloaded version of findForward() in the DataAction class that returns an ActionForward object, only one that returns void. Overloading the method is not a problem per se, but it cannot return super.findForward() as is specified.
    There is also a problem with importing oracle.adf.controller.struts.actions.PageLifecycle; the class does not seem to be part of that package.
    Any help or guidance is greatly appreciated. Thanks!

    Ryan,
    Yes, some of the classes have changed between the preview and the production release. The extent of the changes are describe in the release note accessible from the help menu.
    As for the findForward method, the value of the action forward is now set to the context object. Look at the javadoc for StrutsPageLifecycle.findForward
    http://download.oracle.com/otn_hosted_doc/jdeveloper/905/adf_javadocs/oracle/adf/controller/struts/actions/StrutsPageLifecycle.html#findForward(oracle.adf.controller.lifecycle.LifecycleContext)

  • Terrible Performance with 10g preview

    I have serious performance problems with the 10g preview during basic operations.
    Very frequently, it just locks up, using 100% CPU for 5-10 seconds.
    It seems to occur every time I change window, for example
    - double click on an error message in either the Compiler window or the Structure window and I have to wait 10 seconds before the cursor is active in the code editor.
    - double click on a file in the navigator, 10 seconds before the opened file can be edited.
    - click on an item in the HTML component palette
    - close a code editor window. Can't use the next window for 10 seconds (this is less reliable than the others)
    I am running NT4 SP6 on a PIII 500Mhz with 512M of memory. According to task manager, I am not using all the memory yet.

    I hit the virus scanner problem when I first started using 903, but that is not the problem now.
    Here is a dump produced as described.
    Full thread dump OJVM Client VM (9.0.5.972 4dopv):
        "AWT-EventQueue-0"    prio: 6    state: runnable
        "AWT-Shutdown"    prio: 5    state: waiting for notification of monitor 0x1D1D7C24
            void java.lang.Object.wait(long)
                native code
            void java.lang.Object.wait()
                Object.java:426
            void sun.awt.AWTAutoShutdown.run()
                [locked monitor 0x1D1D7C24]
                AWTAutoShutdown.java:259
            void java.lang.Thread.run()
                Thread.java:536
        "Java2D Disposer"    prio: 10    state: waiting for notification of monitor 0x1D257D84
            void java.lang.Object.wait(long)
                native code
            java.lang.ref.Reference java.lang.ref.ReferenceQueue.remove(long)
                [locked monitor 0x1D257D84]
                ReferenceQueue.java:111
            java.lang.ref.Reference java.lang.ref.ReferenceQueue.remove()
                ReferenceQueue.java:127
            void sun.java2d.Disposer.run()
                Disposer.java:97
            void java.lang.Thread.run()
                Thread.java:536
        "WeakDataReference polling"    prio: 1    state: waiting for notification of monitor 0x1E4FB124
            void java.lang.Object.wait(long)
                native code
            java.lang.ref.Reference java.lang.ref.ReferenceQueue.remove(long)
                [locked monitor 0x1E4FB124]
                ReferenceQueue.java:111
            java.lang.ref.Reference java.lang.ref.ReferenceQueue.remove()
                ReferenceQueue.java:127
            void oracle.ide.util.WeakDataReference$Cleaner.run()
                WeakDataReference.java:88
            void java.lang.Thread.run()
                Thread.java:536
        "AWT-Windows"    prio: 6    state: runnable
            void sun.awt.windows.WToolkit.eventLoop()
                native code
            void sun.awt.windows.WToolkit.run()
                WToolkit.java:253
            void java.lang.Thread.run()
                Thread.java:536
        "IdeMinPriorityTimer"    prio: 1    state: waiting for notification of monitor 0x1F74216C
            void java.lang.Object.wait(long)
                native code
            void java.lang.Object.wait()
                Object.java:426
            void java.util.TimerThread.mainLoop()
                [locked monitor 0x1F74216C]
                Timer.java:403
            void java.util.TimerThread.run()
                Timer.java:382
        "IconOverlayTrackerTimer"    prio: 5    state: waiting for notification of monitor 0x1CFCA064
            void java.lang.Object.wait(long)
                native code
            void java.lang.Object.wait()
                Object.java:426
            void java.util.TimerThread.mainLoop()
                [locked monitor 0x1CFCA064]
                Timer.java:403
            void java.util.TimerThread.run()
                Timer.java:382
        "IconOverlayTrackerTimer"    prio: 5    state: waiting for notification of monitor 0x1E1D64E4
            void java.lang.Object.wait(long)
                native code
            void java.lang.Object.wait()
                Object.java:426
            void java.util.TimerThread.mainLoop()
                [locked monitor 0x1E1D64E4]
                Timer.java:403
            void java.util.TimerThread.run()
                Timer.java:382
        "TimerQueue"    prio: 5    state: waiting for notification of monitor 0x1D51E514
            void java.lang.Object.wait(long)
                native code
            void javax.swing.TimerQueue.run()
                [locked monitor 0x1D51E514]
                TimerQueue.java:231
            void java.lang.Thread.run()
                Thread.java:536
        "Finalizer"    prio: 8    state: waiting for notification of monitor 0x1CDFC134
            void java.lang.Object.wait(long)
                native code
            java.lang.ref.Reference java.lang.ref.ReferenceQueue.remove(long)
                [locked monitor 0x1CDFC134]
                ReferenceQueue.java:111
            java.lang.ref.Reference java.lang.ref.ReferenceQueue.remove()
                ReferenceQueue.java:127
            void java.lang.ref.Finalizer$FinalizerThread.run()
                Finalizer.java:159
        "Reference Handler"    prio: 10    state: waiting for notification of monitor 0x1CDFC124
            void java.lang.Object.wait(long)
                native code
            void java.lang.Object.wait()
                Object.java:426
            void java.lang.ref.Reference$ReferenceHandler.run()
                [locked monitor 0x1CDFC124]
                Reference.java:113
        "WaitCursorTimer"    prio: 5    state: waiting for notification of monitor 0x1F11E28C
            void java.lang.Object.wait(long)
                native code
            void java.lang.Object.wait()
                Object.java:426
            void java.util.TimerThread.mainLoop()
                [locked monitor 0x1F11E28C]
                Timer.java:403
            void java.util.TimerThread.run()
                Timer.java:382
        "main"    prio: 5    state: idle
        "VM Tasks"    prio: 1    state: runnable
        "Signal Dispatcher"    prio: 1    state: idle

  • Compile error with Jdev 10g Preview

    I am trying out Jdev 10g with JHeadstart. I followed the instruction on the Oracle JHeadstart 10g and Oracle JDeveloper 10g preview document, and then used the isnstructions on the NewJhsProjectInstructions.html document.
    The first time I tried to compile the project, I got a whole list of errors which looked like;
    /usr/oracle/jhs904/jheadstart/src/jhsruntime_source.zip!/oracle/jheadstart/model/bc4j/JhsApplicationModuleImpl.java
    Error(143,31): cannot access class oracle.cle.persistence.HandlerNotFoundException; file oracle/cle/persistence/HandlerNotFoundException.class not
    This was due to Jdeveloper trying to compile jhsruntime_source.zip. I removed this from the java source path and added jhsruntime.jar.
    I am now getting thisError(22,53): cannot access class oracle.jheadstart.model.bc4j.handler.DataObjectHandlerImpl; file oracle/jheadstart/model/bc4j/handler/DataObjectHandlerImpl.class not found error;
    I have checked, and cinfirmed that the class file oracle/jheadstart/model/bc4j/handler/DataObjectHandlerImpl.class is in jhsruntime.jar.
    The Java Source path in Jdeveloper is ;
    /home/chandana/jdevhome/mywork/JHS/src;/usr/oracle/jhs904/jheadstart/lib/jhsruntime.jar.
    Can some one tell me what is wrong ?

    Hi Chandana,
    You should not put jhsruntime.jar in the Java Source Path. It should be in the Additional Classpath.
    The Java Source Path (Project Settings - Common - Input Paths) should only contain /home/chandana/jdevhome/mywork/JHS/src .
    If you created the library JhsLibs the way it was described in the JDev 10g document, your project should now compile correctly. The JhsLibs library ensures that your project can compile against jhsruntime.jar (amongst others).
    Hope this helps,
    Sandra Muller
    JHeadstart Team

  • JDeveloper 10G Preview Feedback

    Hi, I've switiched over to 10G Preview. As a constant user of JDeveloper I thought I'd supply some requested feedback on some encountered bugs in this Preview release :
    [1] 'New View' Navigator restart : When I create a 'new view' of a project to open up in a new navigator, this navigator is displayed by is empty when JDeveloper 10G is restarted. It only displays a single non-expandable node of the .jpr file.
    [2] Sources tree in Projects always default back to 'File List' view on restart. Its irritating that it does not seem to restore to each sources tree view as set when the IDE was exited.
    [3] CVS Server in Connection Navigator. Created CVS connection which failed to connect to pserver (which it should of as all as was specified in WinCVS client which works fine.) Can delete CVS connection, but cannot create a new CVS connection (menu option disabled)
    Will send more as I encounter. Like the IDE though and look forward to the Prod release.
    Richard Bergquist

    Some more :
    [1] IDE Locks up when Root HTML input path is altered in Project settings while these source files are being editied.
    [2] The ability to trim down JDev's footprint via external tools is a great concept. But, why in 10G Preview is there nothing visible in the list. A bug ?
    RjB

  • JDev 10g preview is out!

    The JDev 10g preview is now available:
    http://otn.oracle.com/products/jdev/collateral/prodtour10g.html
    Oracle JDeveloper 10g includes a lot of a new UIX functionality, including a UIX visual editor. Check it out!

    I'm assumming the "operation timed out" error is from your browser?
    If you are using VPN or DHCP, you'll need to specify "localhost" as the hostname where OC4J will start, and subsequently, where you're JSP will be deployed. Go to Tools -> Embedded OC4J Server Preferences. Select Startup and specify the host name as "localhost". Redeploy and you'll be able to access your JSP using http://localhost:8988/simple_jsp-Project-context-root/simple.jsp
    Hope this helps,
    Lynn
    Java Tools Team

  • 10g Preview Problems

    Hello Everyone, we are hoping for some help in deploying one of the tutorial applications.
    Currently we are testing out the JDeveloper 10g preview application. We''ve been able to follow a few of the tutorials, although it seems that at least half have instructions that are only valid for previous versions of JDeveloper. Anyways, the ADF Web Application Tutorial seemed like a very simple example that shows one how to leverage this new technology. Specifically we followed the, "Developing a Web Application Using the Default Technology Scope Tutorial" tutorial. We are able to follow and run this tutorial quite easily using the embedded application server with JDeveloper 10g.
    We would like to deploy this very basic application to our application server sitting out on the network. The version of this application server is 9.0.3.0.0 . So, we create a .war file and deploy this to our OC4J instance. When we attempt to goto the customers.jsp page we receive this error:
    java.lang.NoSuchMethodError
    at oracle.adf.model.servlet.ADFBindingFilter.initializeBindingContext(ADFBindingFilter.java:228)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:84)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:556)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.AJPRequestHandler.run(AJPRequestHandler.java:148)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.AJPRequestHandler.run(AJPRequestHandler.java:72)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:479)
    Can anyone help us out?
    Thank you

    Thanks for the info Duncan.
    So when different documentation refers to Standalone OC4J that doesn't mean only include installations of the Oracle containers but also installations of the application server itself?
    In other words I thought that for development you might install the standalone Oracle containers but for a more production worthy environment you would run the application server suite. I was under the impression that where instructions specify updating/upgrading the standalone those instructions don't always apply to the Application server installation as well.
    Do you understand what I'm atttempting to say? I feel that since I'm very new to the J2EE environment my lack of knowledge regarding terminology and architecture is a hinderance. That said I'm not always adequately explaining my situation and or problems.
    So, in conclusion, even though we have installed the application server and not the standalone (Oracle Containers) we still need to install the adf runtimes.
    Is this correct?
    Thanks again

  • [PM] Looking for JDeveloper 10g preview users

    The JDeveloper Product Management team is looking for people who are currently using the preview version of Oracle JDeveloper 10g to develop their soon to be production applications.
    We want to get your feedback on a some questions.
    If you are using JDeveloper 10g Preview to develop what would become a production application please email us at:
    Jdeveloperbeta_us@ oracle.com , with the subject: Currently Using JDeveloper 10g.
    Thanks,
    Shay.
    Oracle Corporation.

    I am using JD 10g!
    I am following the steps to the tutorial: Developing J2EE application using EJB, Struts, JSP and ADF Databinding.
    JD10g does not bring up the New Gallery as the step labeled: Reverse engineer tables as CMP beans instructs.
    How can I can if my install in correct?
    How can I solve this issue?
    Thanks
    Patrick

  • Imbedded JSP runner in 10g preview error

    I attempt to run a JSP from inside 10g preview:
    I get:
    03/10/30 14:32:02 java.lang.UnsupportedClassVersionError: oracle/jdevimpl/runner/oc4j/Oc4jNotifier (Unsupported major.minor version 48.0)
    My java version is
    $ ./java -version
    java version "1.4.1_02"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_02-b06)
    Java HotSpot(TM) Client VM (build 1.4.1_02-b06, mixed mode)
    Running on Redhat Linux 9
    Cheers,

    I believe what you have should run okay.. but when I did a quick Google search I see that your problem is fairly common and seems to be indicative of a VM problem..
    http://www.artima.com/forums/flat.jsp?forum=61&thread=4792

  • Creating secure web apps in JDeveloper 10g preview

    Hi all,
    I am trying to set up a secure web application and test it within JDeveloper 10g preview. So far, I am able to set up the correct entries in web.xml and ???-oc4j-app.xml (actually had to add the role mapping manually in the last file). I am able to automotically bring up a login form, enter my username/password and get to the protected resources. What I am not able to do is the following:
    1. Display an error page when the login fails (I get a generic HTTP 403 page instead of the page I specified in web.xml).
    2. Enable SSL. I can set the write checkboxes, etc., but instead of displaying the login form, the browser asks me to open/save the file home.do (the protected resource). I think there is some setup that is messing, but what is it?
    Any help is appreciated. Thanks.
    Ara

    Sorry, I guess I shoud have made it clearer: I am using HTTP-FORM authentication and I have specified a login and error page there. Neither page is protected (i.e., their URI pattern is not specified in the servlet deployment descriptor).
    I get the login page fine. I am also able to log in,provided I submit the right username/password. The problem comes when I submit an incorrect name/password. In that case, I get a generic HTTP 403 page instead of the error page I specified.
    Hope this provides more clues.
    Ara

  • Report 10g - Preview - Character mode

    I have a lot of character reports (6i), which have to be print to a dot matrix printer. In 10g there is no more preview of report. Instead of the preview , i was thinking of creating a mimetype for a file .wri and open the result in wordpad at the cliente side. The user then prints do the printer. But when i print via wordpad, the escape character doesn´It seems to work.
    I've tried orarrp also, it works printing directy to the printer, but there is no preview.
    Is there another way to solve this?

    hi there
    go to property inspector of report and set correct setting in charactermode category.
    hope this helps
    asp

  • 10g preview : bc4j_framework_installer.jar has 0 bytes

    While searching for a class file in JAR files, the tool I used stumbled onto an empty JAR file (zero bytes):
    <JDEV_HOME>\jdev\doc\ohj\bc4j_framework_installer.jar
    I don't know if this is (un)intended or that it may cause problems somewhere, but since this is a preview release ... I thought, I just let them know.
    success
    -Jan

    This is a preview bug. It isn't harmful for running the Jdeveloper 10g and installer.

  • 10g preview? where's 9.0.4?

    Hi,
    The 10g (10.0.3) preview is up on OTN and the notes say:
    "OC4J 10g (10.0.3) [...] is due for production release in the summer of 2004". I remember reading that 9.0.4 would have a production release some time in Fall 2003. Is that still going to happen? Or do we have to wait till the Summer of 2004 for a next major release?
    regards
    George

    Here's an editorial response in the latest issue of Oracle Magazine (Sept/Oct 2003):
    "The Oracle9iAS 9.0.4 point release has been removed from the production schedule. All of the features planned for the Oracle9iAS 9.0.4 point release, and many more, have instead been incorporated into the upcoming major application server release: Oracle Application Server 10g."
    I guess that means we have to wait till summer 2004 (at least) before we see the next production release of Oracle9iAS.
    regards
    George

Maybe you are looking for