Remte JSP debugging for standalong OC4J 10.3.x not working

Follow the next steps:
1. Copying the ojc.jar, jdev-rt.jar and jdev-remote.jar to the OC4J_HOME/lib
directory
2. Add the next lines to the application.xml file
< !-- Remote Debug settings -->
< library path="../../../lib/jdev-rt.jar" />
< library path="../../../lib/ojc.jar" />
< library path="../../../lib/ojmisc.jar" />
3. Change the global-web-application.xml in a text editor.
From the following section:
< orion-web-app
jsp-cache-directory="./persistence"
servlet-webdir="/servlet"
development="false"
>
Change development="false" to development="true" to enable servlet
debugging.
4. In the global-web-application.xml file, modify the jsp servlet tags to be:
< servlet>
< servlet-name>jsp< /servlet-name>
< servlet-class>oracle.jsp.runtimev2.JspServlet< /servlet-class>
< init-param>
< param-name>debug_mode< /param-name>
< param-value>true< /param-value>
< /init-param>
< init-param>
< param-name>developer_mode< /param-name>
< param-value>true< /param-value>
< /init-param>
< init-param>
< param-name>encode_to_java< /param-name>
< param-value>true< /param-value>
< /init-param>
< init-param>
< param-name>emit_debuginfo< /param-name>
< param-value>true< /param-value>
< /init-param>
< init-param>
< param-name>jspjavacompiler< /param-name>
< param-value>oracle.jdevimpl.jsp.JspOjcCompiler< /param-value>
< /init-param>
< load-on-startup>0< /load-on-startup>
< /servlet>
5. Start the oc4j using the next command:
java -hotspot -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=4000 -jar oc4j.jar
6. Deploy the application
7. Select the Remote Debugging and Profiling option in the Run Configuration
for the project with the jsp to debug.
8. In the Debugger/Remote section of the run Configuration set the host, port
and timeout to the correct ones (name of the computer where you are running
the application).
When trying to run the jsp you are going to get the error:
STACK ERROR:
07/12/28 11:56:56
....\j2ee\home\application-deployments\MyJ2eeApp\MyJ2eeApp\persistence\_pages\_MyPage
error #552: illegal forward reference
07/12/28 11:56:56 /*@lineinfo:filename=/MyPage.jsp*/
07/12/28 11:56:56
2007-12-28 11:56:57.703 NOTIFICATION J2EE JSP-0008 Unable to dispatch JSP
Page : oracle.classloader.util.AnnotatedClassNotFoundException:
Missing class: _MyPage
Dependent class: oracle.jsp.runtimev2.JspPageInfo
Loader: oc4j:10.1.3
Code-Source: ..../j2ee/home/lib/ojsp.jar
Configuration: < code-source> in META-INF/boot.xml in ....\j2ee\home\oc4j.jar
This load was initiated at MyJ2eeAppInfo.web.MyJ2eeAppInfo.jsp26687282:0.0.0 using the loadClass() method.
The missing class is not available from any code-source or loader in the system.
at oracle.classloader.PolicyClassLoader.handleClassNotFound
(PolicyClassLoader.java:2068) [/C:/sw/oracle/oc4j101330/j2ee/home/lib/pcl.jar
(from system property java.class.path), by sun.misc.Launcher$AppClassLoader@9627532]
Reproduced the problem with the next products:
JDev OC4J Reproduced?
10.1.3.3.0 10.1.3.2.0 YES
10.1.3.3.0 10.1.3.3.0 YES
10.1.3.2.0 10.1.3.2.0 YES
When i try not use the following tags section
< init-param>
< param-name>emit_debuginfo< /param-name>
< param-value>true< /param-value>
< /init-param>
everything is working, but ojc not generate debug information for compiled JSP page and debugger doesn't stop at break points.
When i try use thise tags section, i got the next instructions for compiler in MyPage.java (it is generated from MyPage.jsp):
/*@lineinfo:filename=/MyPage.jsp*/
/*@lineinfo:generated-code*/
and compiler is generating next message in console:
error #552: illegal forward reference
07/12/28 11:56:56 /*@lineinfo:filename=/MyPage.jsp*/
and doesn't want to compile MyPage.java.
I need help with this problem! And i don't have any ideas how to solve it. People, help me, please!

Dear dvohra, have you ever try yourself the method, which you suggest?
It is not working!
If i try to configure OC4j like in blog, IDE doesn't stop in JSP's break points.
So, I need in 100% working solution for remote debugging on oc4j 10.3.x. The main reason of using remote debug for me is that i have to develop portlets, and i have to invoke my portlets from portal. It is posible only when i deploy my portlet on stand alone oc4j!
I really need remote debug! And i'll be very thankful someone for 100% working solution!

Similar Messages

  • I've been using the speaker feature for dictation. Suddenly it's not working. Any ideas?

    I've been using the speaker feature for dictation. Suddenly it's not working. Any ideas?

    Please follow this article:
    http://support.apple.com/kb/TS1567
    it should help
    let me know

  • HT1695 Wi-Fi to your iPhone does not work with the knowledge that I have worked Restart for the same purpose network does not work What is the solution please help as soon as

    Wi-Fi to your iPhone does not work with the knowledge that I have worked Restart for the same purpose network does not work What is the solution please help as soon as

    Okay, the Wi-Fi doesn't work.  Turn it on.
    Beyond that, we cannot offer any other assistance as you've failed to provide useful details of the problem.
    When responding, post in your native language as your English makes very little sense.

  • We have 2 versions of Portuguese in our application. The problem is only for Brazilian Portuguese and the other one is working just fine. Locale for portugese-brazil (pt-BR) is not working

    We have 2 versions of Portuguese in our application. The problem is only for Brazilian Portuguese and the other one is working just fine.
    Locale for portugese-brazil (pt-BR) is not working.

    No. Something else is going on.
    Your son may be hogging all the bandwidth but your wireless network should never simply disappear. Moreover, if your son isn't doing anything the available bandwidth for other devices should remain unaffected.
    I suspect that something is miswired, and from what you describe I suspect that link is between the Extreme and the "other computer".
    The way to accomplish what you propose is
    Modem > Ethernet cable to Extreme's WAN port
    Extreme's LAN ports > wired Ethernet devices.
    There should be nothing but an Ethernet cable linking an Extreme LAN port and any other wired device. If you run out of available LAN ports on the Extreme, you need to by an "Ethernet switch" - they are not expensive, but don't call it a "splitter" or you will only confuse yourself. The switch would be connected to one of the Extreme's LAN ports, and you would connect additional devices to it. You can also use one of your Expresses for that purpose, assuming it is the current generation model with two Ethernet ports.

  • Hot swap and JSP debugging for Weblogic in exploded format?

    Hi,
    I'm trying to use JDeveloper for JSF development to be deployed to a weblogic server.
    I must say JDeveloper is a great tool for JSF development as none of the free IDE in the market can do what JDeveloper does.
    However, I have a question on hot swap and JSP debugging.
    I have managed to setup JDeveloper to debug my JSF application deploy to my Weblogic server's applications folder in exploded format.
    I can step through the java code.
    However, I didn't manage to do a hot swap and the break point set in the JSF-JSP does not seems to take effect.
    I would appreciate any advice on the problem.
    Thanks.
    Han Ming

    How did you setup the server to handle exploded format? Appreciate the help. Sorry can't help with your question though.
    Thnx.
    Soni

  • JSP editor design palette in 10.3.2 not working

    Hi,
    Is there any way to enable the jsp editor Design Palette in Workspace Studio for WLP 10.3.2? I've added the Beehive NetUI, Beehive Controls, and Struts 1.2 facets to my portal web project, but the design palette for jsp editing is empty.
    Thanks.

    Thanks for that hint - the tags are in the palette now, but what does not work is autocompletion for expressions and all the nice netui wizards do not come up. Has this been removed in 10.3.2?
    With best regards,
    Florian
    Edited by: [email protected] on Mar 16, 2010 2:53 AM

  • After a Lion clean install, how do I retrieve my data from external back-up? Following Apple advice for use of Migration Assistant did not work creating similar issues leading to clean install.

    After a Lion clean install, how do I retrieve my data from external hard drive?
    Following Apple advice I used Migration Assistant which crashed new system twice which is why I had to clean install Lion in the first place.
    Is there a sure way of doing it?
    I have only a few programs that I will have to install myself and that should not be a problem.
    I just want my data, music and photos back where I can use them.

    Time machine backups. I went to migration assistant a few hours ago and limited my selection to "users", no need for applications, settings and other files.  Stuff started moving over at a fast pace but has now seemed to stall.
    I will let it run overnight as there are lots of songs and photos as well as a few movies.
    If that does not work, then I will go into TM and try restore. I have restored some things in the past such a mail files and it has worked well. 
    The Apple fellow at the store told me to go right into TM, he may have had a point. I'll get it eventually.

  • Check for Rentals on Apple TV does not work

    I have rented many movies in the past using Apple TV. I have not had a problem until now, right after I just updated my Apple TV software to the latest software v6.0 (6646.65).
    Last night (9/28) I rented World War Z. Roughly 20 minutes into the movie, I stopped the move by hitting the menu button. This exited me from the movie and back to the movies rentals screen.  I then rented another movie only a few minutes after exiting the first. I had no problem renting the second movie as I did not exit the movie once the streaming started.
    A few hours later I went back to watch the move by selecting the movie.  The rental option was still availabe. By selecting to rent the movie again and then selecting "Rent and watch now", the system told me I had already rented the movie and I should go to Settings->Downloads->Check for Downloads.  This options does NOT exist in the settings menu; however, I found a similar option under iTunes Store->Check for Rentals.
    This "Check for Rentals" option does absolutely nothing - or it doesn't show anything if it is doing something behind the scenes.  It just shows the spinning lines. I waited all night for something to happen. I restarted my router and modem to make sure there was nothing wrong with networking. Again, I had just watched another movie all the way through with no problems. I sent Apple Support an email with my issue and they refunded my $4.99 for the movie rental.
    So, tonight (9/29), I still wanted to watch the movie and I wanted to see if it would work. I went to the movie, selected to rent the movie and it gave me an optionsaying that I had already rented the movie and asking me if I wanted to rent it again. I selected to rent it again.  I was able to watch the movie all the way through with no problem. 
    I ended the movie during the credits by hitting the menu button. I immediately went back to the movie to see if I could continue the movie since I should be able to watch this movie in the next 24 hours.  The same situation happened again. I was told I could not rent the movie again, but to go to Settings->Download->Check for downloads. The "Check for Rentals" is doing the same thing.
    So, my question is how do I fix this or is there even a fix for this situation?  If I can't watch a movie without the fear of exiting the movie for whatever reason and not be able to return to the rented movie, I will not continue to rent movies from Apple TV. I enjoy renting them through Apple TV, but I definitely have multiple options (i.e. XBox Live, PS Network/Amazon, Redbox, etc.).  I really want to understand why this is happening and if it's going to be fixed.
    Thank you for any feedback!

    I have been working on this project for just one day.  Other people have suggested logging out and then logging back in.  I have had sucsess with this sollution today.
    Check this thread as well.
    https://discussions.apple.com/thread/5360214?start=0&tstart=0

  • Formatted Search for Delivery Date field in SO not working

    Hi All
    Can anyone help me as to why my formatted search is not working?
    I am currently using SAP B1A SP01 Patch 19.
    I have created a user query as follows:
    SELECT $ [$10.0.DATE] + 5
    When I add this to the delivery field within the Sales Order and bring through the saved query which I set to auto refresh when the Posting Date field changes and to Display Saved Values it doesn't work.
    Any ideas?
    Thanks and best wishes
    Gail

    HI Gail,
    If I am not mistaken you want to add days to the posting date...if that is so then try this out:
    SELECT $[ORDR.DocDate.DATE]+5 From ORDR T0 For Browse
    Set The indicator to Auto Refresh when the fields change
    Nagesh

  • I started working for ChaCha, and now firefox will not work unless I manually close it in the process tree every time I want to use it. I also cannot open more than 1 page at a time.

    I started working for ChaCha 11/26/2010, I had to download a program to take incoming questions.
    Ever since then, Firefox will not work correctly, even if I am totally logged out of ChaCha, and the page is closed, if I try to open my browser using Firefox, it will not open, I have to go into the processor tree and manually end Firefox, then it will work, but it will only let me open 1 page at a time. For example I have Firefox open now, but if I go and click on the icon to open it in a new browser, it will not open, I either have to close this, or use IE-I HATE IE lol.
    I cannot use the ChaCha add on you have because it is not for the new version of Firefox, please help, I love Firefox, but not being able to open more than one window/page at a time does not cut it, nor does having to manually stop it from processing. I have tried re-installing it too.
    Thank you, Melinda

    I should add that I face the same problem with Safari and Google Chrome.

  • Code is not working check for solution . The code is not working after look up table.

    In this code i am multiplying two binary images , one is a rectangle and another is an image. i am getting the rectangle, but not the image. The image part is not working after the look up table. Waiting for the solution
    Attachments:
    binary morphology.vi ‏33 KB

    Hey.  I'm thinking the problem is in theis block:
    LOOP AT C_T_DATA INTO WA_MC17I30HDR.
       READ TABLE LT_AFIH
         WITH KEY AUFNR = WA_MC17I30HDR-AUFNR
         INTO WA_AFIH BINARY SEARCH.
       IF SY-SUBRC = 0.
         WA_MC17I30HDR-ZZNPLDA = WA_MHIS-NPLDA.
         MODIFY C_T_DATA FROM WA_MC17I30HDR.
    ENDIF.
    ENDLOOP.
    You are reading LT_AFIH into WA_AFIH.  But then you are assigning NPLDS from WA_MHIS. From what I can see, WA_MHIS hasn't been filled with anything.  Try changing:
         WA_MC17I30HDR-ZZNPLDA = WA_MHIS-NPLDA.
    To:
         WA_MC17I30HDR-ZZNPLDA = WA_AFIH-NPLDA.
    Hope that does the trick.
    Thanks
    Edited by: Siboda_Eric on May 26, 2010 3:49 PM

  • Search for doc's on WIN7 Drive not working

    Hello, I am wondering if any of you know a work around for this. I cant seem to understand why the search for the names of documents does not look in the windows bootcam drive correctly. For example I open the HDD for windows 7 and say I search for a text document called serials.txt and I search for "serials" and serials.txt" and Finder does not find.... The document is there and inside the folder located on the WIN7 Partition I am searching. I do have Paragon NTFS installed... Confused.

    Sounds like Spotlight doesn't use Paragon which actually doesn't surprise me at all.
    Allan

  • Blackberry email: I've forgotten my username and password for blackberry internet services/ it's not working?

    I just got a replacement phone, and now when I try to set up my email again, it comes up with ''Existing users'' sign in blah blah. There aren't any other options. Either it's not working or I've completely forgotten my user name and/or password.
    Either way, I can't set up my email, and I've spent over an hour on the phone to Orange (to no avail), ending in them telling me to call them again later or tomorrow. Has anyone experienced this problem before and/or know what to do?

    Can you go to http://www.blackberry.orange.co.uk/, choose forgot password and follow the prompts?  I'm shocked the carrier could not reset this for you!
    Please click the Thumbs Up icon if this comment has helped you!
    If your issue is resolved, please click the solution button on the resolution!
    Every BlackBerry should have BlackBerry Protect, get it now! | Follow me on Twitter | Bring Back BBM Music!

  • Creating new logical ports for WSDL with several port types not working

    Hi all,
    I am trying to integrate some BODS webservice into the BPM. I am using CE 7.2 Kernel Version:     7.20.3710. When I am trying to assign a provider system in the application configuration I get following error:
    The provider system successfully found the needed service, but its wsdl is without webservice policy. Thus the generated client configuration might not work because of different configurations between service and client (most probable a difference in the security settings). Either assign a provider system with access to wsdl with policy or manually create the client configuration.
    The regarding provider system is using a communication profil where the authentication method is set to "none". Normally this configuration should work, but it isn't.
    So I started to create new logical ports for each port type. But then I get the error:
    Port type name of loaded WSDL does not match the port type name of the Service Reference.
    I checked already the port type names in the WSDL but they are 100% the same. What I found was that the configuration is always trying to use the first port type in the WSDL. So I am not able to configure the other port types in the service group.
    I also tried to do the same thing using a WSDL with just one port type and surprise it is working...
    I hope somebody can help me out
    Thanks in advance
    Andy

    Hi Andy,
    Please check this Link: https://cw.sdn.sap.com/cw/docs/DOC-45012
    Regards,
    Naresh B

  • Windows Backup for Windows Server 2008 R2 Standerd not working 2155348041

    Hi 
    When I am running backups via the Backup server feature I keep getting the following error in the event log:
    The backup operation that started at '‎2014‎-‎05‎-‎27T04:59:16.185618200Z' has failed with following error code '2155348041' (None of the source volumes were backed up.). Please review the event details for a solution, and then rerun the backup operation
    once the issue is resolved.
    The backup report gives me the following error:
    the request could not be performed because of an i/o
    I have tried using another Harddrive and have installed the Hotfix from windows but still get this error.
    I also tried Re Installing the Backup feature this also did not work.
    Regards
    Roan_B 

    Hi,
    Please run the command below to get the drive's sector size to check if the sector size is 512B. Windows Server Backup only support sector size of 512B.
    wmic partition get BlockSize, StartingOffset, Name, Index
    Backup fails with Error Code 2155348041
    http://social.technet.microsoft.com/Forums/en-US/fa704bd6-b76a-42b4-b8cb-0a93ceb6ce43/backup-fails-with-error-code-2155348041
    Regards,
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

Maybe you are looking for