BUG: OC4J recompiled JSPs can not be debugged in JDev 10.1.3.2
We are having problems on JSP which are modified while running on OC4J within JDev 10.1.3.2. The modified JSP are not correctly recompiled.
A similar thread discussing this problem is here:
Oracle JDeveloper 10.1.3.1's Internal OC4J JSP Recompile
We consider this to be a problem that may be related more to OC4J than to JDev and therefore I am asking for suggestions in this forum.
To explain what we observe:
In JDev 10.1.3.1 we found that big/complex JSP would not recompile after changes were made while OC4J was running. The compiled JSP files under \.jsps\_web_2d_inf\... changed from myfile.class and myfile.java to myfile.class, myfile.java and (a new file) myfile.jpa.
After installing JDev 10.1.3.2 we now observe that for any JSP that gets changed (also the small/simple ones) the constellation of three files (with the additional .jpa) gets created. Small files are compiled and can be used after changed in real time but code insight and variable inspection and modification needed for debugging no longer work. (Note that they worked on the unchanged file, and would work again if we stop and recompile the whole project).
I could certainly appreciate if someone has found a solution to this problem as migrating back to a JDev version previous to 10.1.3.1 is not wanted.
Thanks in advance!
Gonzalo
I have openned a SR with this issue.
Does nobody else has this problem?
To reproduce it try:
Run any application in JDeveloper which contains a JSP file where a scriptlet declares
and use some variables.
Run the application and set a breakpoint after some of the variables. Call the JSP from the browser to start its execution and after stopping at the breakpoint inspect the variables content. It works, you can see the variable contents.
Now make a change in the JSP (anything) and call it again from the browser without restarting OC4J.
After stopping at the breakpoint you will see that the variables can no longer be inspected, their content is no longer available.
Thanks for any suggestions,
Gonzalo
Similar Messages
-
Bug? Create Index can not edit index name
Hi,
when I want to create an index I can not edit the index name which is always tablename_index1 after I create the index with this name, delete it again and create a new one I can edit the indexname.
this happens when you use the tabs in edit table. It works when you use context menu create index
Regards, Juergen
Message was edited by:
Juergen.Schuster
Message was edited by:
Juergen.SchusterThis seems to be specific to Oracle 9. I could not reproduce in 10 but did just reproduce in 9. The only way to get the index created was to refresh the connection, just refreshing the table or all tables did not do it. I will log a bug now.
-- Sharon -
Why my JSP can not recogonize the JSTL tag??
My hello.jsp code is like follows:
<%@ include file="/WEB-INF/jsp/include.jsp" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
<html>
<head>
<title><fmt:message key="title"/></title>
</head>
<body>
<h1><fmt:message key="heading"/></h1>
<p><fmt:message key="greeting"/> <c:out value="${model.now}"/></p>
<h3>Products</h3>
<c:forEach items="${model.products}" var="prod">
<c:out value="${prod.description}"/> <i>$<c:out value="${prod.price}"/></i><br><br>
</c:forEach>
</body>
</html>
When I start the tomcat server and run my application ,the tomcat shows the error message:
org.apache.jasper.JasperException: /WEB-INF/jsp/hello.jsp(5,17) No tag "" defined in tag library imported with prefix "fmt"
But I do import the tag library, why it still show the error that No tag "" defined in tag library ???
Message was edited by:
Mellon
Message was edited by:
Mellon
Message was edited by:
Mellon
Message was edited by:
Mellon
Message was edited by:
Mellon
Message was edited by:
Mellon
Message was edited by:
MellonOk, now I have specify the <taglib> in my web.xml file and I have paste the fmt.ltd under WEB-INF/ like this:
<taglib>
<taglib-uri>http://java.sun.com/jstl/fmt</taglib-uri>
<taglib-location>/WEB-INF/fmt.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
<taglib-location>/WEB-INF/c.tld</taglib-location>
</taglib>
When I re-deploy my application and start the tomcat server, the error message now is still :
jsp/hello.jsp(6,17) No tag "" defined in tag library imported with prefix "fmt"
My include.jsp is used to import all the libraries that needed,like follows:
<%@ page session="false"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
My hello.jsp is like follows:
<%@ include file="/WEB-INF/jsp/include.jsp" %>
<html>
<head>
<title><fmt:message key="title"/></title>
</head>
<body>
<h1><fmt:message key="heading"/></h1>
<p><fmt:message key="greeting"/> <c:out value="${model.now}"/></p>
<h3>Products</h3>
<c:forEach items="${model.products}" var="prod">
<c:out value="${prod.description}"/> <i>$<c:out value="${prod.price}"/></i><br><br>
</c:forEach>
</body>
</html>
Why? I just import the fmt.ltd, everything seems correct, why this error? It seems that tomcat can not find the "fmt" prefix in tag library.
Please Help:(
Message was edited by:
Mellon
Message was edited by:
Mellon -
Can not enable Debugging Mode in NWDS 7.2
Hi,
I install SAP CE7.2 and NWDS 7.2.. I'd like to debug the WebDynPro App. So i set-up the setting for system instance in AS JAVA-Config Tool as the following :
- DebugMode : true
- DebugPort : 1024
- Debuggable : true
After that i restart it and come back to NWDS and go to Run -> Debug Configuration and choose Remote Java Application(Can not found WebDynPro App as the tutorial in the board). I set the parameter as following :
- Host : localhost
- Port : 1024
The error message show that 'Failed to connect to remote VM. Connection timed out.org.eclipse.jdi.TimeoutException'. How can i fix this issue. Please suggest me.
Thank you very much.Hi,
A couple of things jump to mind:
- Have you added your SAP CE server to NWDS server list?
- If I'm correct, you should use Debug -> SAP Application, and from there you could define your WD application debug configuration
In NWDS, open SAP Management Console perspective, from the process table select your debuggable server node, and hit 'Start debug session'
Hope this helps
Robin -
Modified jsp can not be work in WLS 9.1?
Dear all,
I deployed a war file into WLS 9.1. I directly modify the jsp file in the deployed war directory of WLS 9.1, but the WLS can not detect the jsp changed, compile it? Somebody any comment?
jlchenIf you can deploy your webapp directory rather than war into WLS9.1, WLS can
detect the change of your jsps.
<Julian Chen> wrote in message news:[email protected]..
> Dear all,
> I deployed a war file into WLS 9.1. I directly modify the jsp file in
> the deployed war directory of WLS 9.1, but the WLS can not detect the jsp
> changed, compile it? Somebody any comment?
> jlchen -
Bug(?) with iCal - Can not change the event time
Hello all,
First of all, let me preface my question by admitting that I'm new to the Mac world, transitioning from MS environment. So please, be a bit patient
Now, on to my problem:
I have created events in iCal and I can not change the time for any event. The time that's always displayed is 15:54! I have checked the time zone setting to on/off to se if it makes a difference, but to no avail. I have also gone into preferences and under the General Tab, the Day starts at and the Day ends at: show three (3) selections; Noon, 15:54, Midnight !!???
I have changed the Show hours at a time, to see if that makes a difference, but it does not.
To add to the above mystery, I have created events with my mobile SonyEricsson K850i, with the correct time(s), date, etc., synchronized with iCal and the time changed to 15:54!!
This is a new MacBook Pro, with the latest patches! For some reason the iCal applet does not allow any changes to the time.
Any suggestions/help will be greatly appreciated.Hi
I am having the exact same problem you discussed and was wondering whether you ever found a solution.
Cheers,
Anna -
I can not run application in Jdev 11g
hello,
I can not run my application in Jdev 11g.
[Running application mapsEditor on Server Instance IntegratedWebLogicServer...]
[02:33:39 PM] ---- Deployment started. ----
[02:33:39 PM] Target platform is (Weblogic 10.3).
[02:33:40 PM] Retrieving existing application information
[02:33:40 PM] Running dependency analysis...
[02:33:40 PM] Deploying 3 profiles...
[02:33:41 PM] Wrote Web Application Module to C:\Users\dema\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\mapsEditor\ViewControllerWebApp.war
[02:33:41 PM] Wrote EJB Module to C:\Users\dema\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\mapsEditor\ModelEJB.jar
[02:33:42 PM] Wrote Enterprise Application Module to C:\Users\dema\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\mapsEditor
[02:33:42 PM] Deploying Application...
<01.03.2010 14:33:42 MSK> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1267443222659' for task '0'. Error is: 'weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].'
weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].
at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:54)
Truncated. see log file for complete stacktrace
>
<01.03.2010 14:33:42 MSK> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'mapsEditor [Version=V2.0]'.>
<01.03.2010 14:33:42 MSK> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].
at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:54)
Truncated. see log file for complete stacktrace
>
[02:33:42 PM] #### Deployment incomplete. ####
[02:33:42 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
What is this?
Dema.Hi,
what is the content in your application's weblogic-application.xml file that references adf.oracle.domain ? Does it look like this?
<?xml version = '1.0' encoding = 'windows-1252'?>
<weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-application http://www.bea.com/ns/weblogic/weblogic-application/1.0/weblogic-application.xsd"
xmlns="http://www.bea.com/ns/weblogic/weblogic-application">
<listener>
<listener-class>oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener</listener-class>
</listener>
<listener>
<listener-class>oracle.mds.lcm.weblogic.WLLifecycleListener</listener-class>
</listener>
<library-ref>
<library-name>adf.oracle.domain</library-name>
</library-ref>
</weblogic-application>
Frank -
Why the ScrollDemo sample can not be debugged in Eclipse?
Hi, All,
I am an newer of the Swing/JFC. When I debugged the ScrollDemo in Eclipse 3.0.2, it always reported an exception at setRowHeaderView(...). But it could run perfectly. So I am confused. Who can tell me whether it is a bug of Eclipse or a bug of the ScrollDemo sample?
Thanks,
Terry NeeThe debug window displays:
Thread [DestroyJavaVM] (Running)
Thread [AWT-Shutdown] (Running)
Thread [AWT-Windows] (Running)
Thread [AWT-EventQueue-0] (Suspended (exception ArrayIndexOutOfBoundsException))
JViewport(Container).getComponent(int) line: not available
JViewport.getView() line: not available [local variables unavailable]
JViewport.getViewPosition() line: not available [local variables unavailable]
MetalScrollPaneUI(BasicScrollPaneUI).updateColumnHeader(PropertyChangeEvent) line: not available
BasicScrollPaneUI$Handler.scrollPanePropertyChange(PropertyChangeEvent) line: not available
BasicScrollPaneUI$Handler.propertyChange(PropertyChangeEvent) line: not available
PropertyChangeSupport.firePropertyChange(PropertyChangeEvent) line: not available
PropertyChangeSupport.firePropertyChange(String, Object, Object) line: not available
JScrollPane(Component).firePropertyChange(String, Object, Object) line: not available
JScrollPane.setColumnHeader(JViewport) line: not available
JScrollPane.setColumnHeaderView(Component) line: not available
ScrollDemo.<init>() line: 55
ScrollDemo.createAndShowGUI() line: 114
ScrollDemo.access$0() line: 105
ScrollDemo$1.run() line: 128
InvocationEvent.dispatch() line: not available [local variables unavailable]
EventQueue.dispatchEvent(AWTEvent) line: not available
EventDispatchThread.pumpOneEventForHierarchy(int, Component) line: not available
EventDispatchThread.pumpEventsForHierarchy(int, Conditional, Component) line: not available
EventDispatchThread.pumpEvents(int, Conditional) line: not available
EventDispatchThread.pumpEvents(Conditional) line: not available
EventDispatchThread.run() line: not available [local variables unavailable]
Thread [Java2D Disposer] (Running) -
SQL Data Sync Agent can not start - Debug error in windows 7 x86
Log file as per below
LocalAgentHost 1/3/2013 11:55:31 AM id:LocalAgentHost_Info, rId:, sId:00000000-0000-0000-0000-000000000000, traceLevel:Info, agentId:00000000-0000-0000-0000-000000000000, agentInstanceId:00000000-0000-0000-0000-000000000000, version:4.0.89.0, methodName:Main,
message:Microsoft SQL Data Sync Windows service is starting as a Windows Service.
LocalAgentHost 1/3/2013 11:55:31 AM id:LocalAgentHost_Info, rId:, sId:00000000-0000-0000-0000-000000000000, traceLevel:Info, agentId:00000000-0000-0000-0000-000000000000, agentInstanceId:00000000-0000-0000-0000-000000000000, version:4.0.89.0, methodName:OnStart,
message:Microsoft SQL Data Sync Windows service starting.
LocalAgentHost 1/3/2013 11:55:31 AM id:LocalAgentHost_Info, rId:, sId:00000000-0000-0000-0000-000000000000, traceLevel:Info, agentId:00000000-0000-0000-0000-000000000000, agentInstanceId:00000000-0000-0000-0000-000000000000, version:4.0.89.0, methodName:OnStart,
message:Starting a service worker thread.
LocalAgentHost 1/3/2013 11:55:32 AM id:LocalAgentHost_Info, rId:, sId:00000000-0000-0000-0000-000000000000, traceLevel:Info, agentId:6843e83c-6015-433c-97ae-4cb63815f4b5, agentInstanceId:bbd9490b-e160-4176-8988-9707b79ecd75, version:4.0.89.0, methodName:OnStart,
message:Started a service worker thread.
LocalAgentHost 1/3/2013 11:55:32 AM id:LocalAgentHost_Info, rId:, sId:00000000-0000-0000-0000-000000000000, traceLevel:Info, agentId:6843e83c-6015-433c-97ae-4cb63815f4b5, agentInstanceId:bbd9490b-e160-4176-8988-9707b79ecd75, version:4.0.89.0, methodName:OnStart,
message:Microsoft SQL Data Sync Windows service started successfully.
LocalAgentHost 1/3/2013 11:55:32 AM id:LocalAgentHost_Info, rId:, sId:00000000-0000-0000-0000-000000000000, traceLevel:Info, agentId:6843e83c-6015-433c-97ae-4cb63815f4b5, agentInstanceId:bbd9490b-e160-4176-8988-9707b79ecd75, version:4.0.89.0, methodName:StartUxWcfService,
message: Namedpipe bd54233d-16ce-46d3-8858-5e564732b21c, BaseAddress net.pipe://localhost/bd54233d-16ce-46d3-8858-5e564732b21c
LocalAgentHost 1/3/2013 11:55:32 AM id:LocalAgentHost_Info, rId:, sId:00000000-0000-0000-0000-000000000000, traceLevel:Info, agentId:6843e83c-6015-433c-97ae-4cb63815f4b5, agentInstanceId:bbd9490b-e160-4176-8988-9707b79ecd75, version:4.0.89.0, methodName:StartUxWcfService,
message: Opened WCF Host
LocalAgentHost 1/3/2013 11:55:32 AM id:LocalAgentHost_Info, rId:, sId:00000000-0000-0000-0000-000000000000, traceLevel:Info, agentId:6843e83c-6015-433c-97ae-4cb63815f4b5, agentInstanceId:bbd9490b-e160-4176-8988-9707b79ecd75, version:4.0.89.0, methodName:StartServiceThread,
message: GetEntryAssembly().Location: C:\Program Files (x86)\Microsoft SQL Data Sync\bin\LocalAgentHost.exe, GetExecutingAssembly().Location: C:\Program Files (x86)\Microsoft SQL Data Sync\bin\LocalAgentHost.exe, Process.GetCurrentProcess().StartInfo.WorkingDirectory:
LocalAgentHost 1/3/2013 11:55:37 AM id:LocalAgentHost_Info, rId:, sId:00000000-0000-0000-0000-000000000000, traceLevel:Info, agentId:6843e83c-6015-433c-97ae-4cb63815f4b5, agentInstanceId:bbd9490b-e160-4176-8988-9707b79ecd75, version:4.0.89.0, methodName:AgentConfigDataManager.DownloadAndCacheServiceUrisFromLocator,
message:Scale unit found
AgentCore 1/3/2013 11:55:40 AM id:AgentCore_InstanceStarted, rId:, sId:65915150-1284-4a17-9c13-d58e2830fcd9, agentId:6843e83c-6015-433c-97ae-4cb63815f4b5, agentInstanceId:bbd9490b-e160-4176-8988-9707b79ecd75, version:4.0.89.0
ThreadId:40. Dispatcher started. Waiting
ThreadId:43. GetRequest started.
ThreadId:40. Dispatcher calling GetRequest
ThreadId:46. GetRequest started.
ThreadId:41. GetRequest started.
ThreadId:48. GetRequest started.
ThreadId:45. GetRequest started.
ThreadId:42. GetRequest started.
ThreadId:47. GetRequest started.
ThreadId:44. GetRequest started.
ThreadId:49. GetRequest started.
ThreadId:50. GetRequest started.
ThreadId:51. GetRequest started.
ThreadId:52. GetRequest started.
ThreadId:53. GetRequest started.
ThreadId:54. GetRequest started.
ThreadId:55. GetRequest started.
ThreadId:56. GetRequest started.
ThreadId:57. GetRequest started.
ThreadId:58. GetRequest started.
ThreadId:59. GetRequest started.
ThreadId:60. GetRequest started.
ThreadId:61. GetRequest started.
ThreadId:62. GetRequest started.
ThreadId:63. GetRequest started.
ThreadId:64. GetRequest started.
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequest
ThreadId:40. Dispatcher calling GetRequestHi,
I believe that your issue is resolved by now. Please try this step is the issue still persists.
its security issues and re-install the data sync with domainname\Myaccount user and give the user as adminitsrator privileges and change the time of your system.
http://social.technet.microsoft.com/wiki/contents/articles/2655.sql-azure-data-sync-troubleshooting-guide.aspx
Girish Prajwal -
Hello Friends, Our environment is SERVER : ORACLE 10G , OS : WINDOWS 2003. I am preparing a test database for training purposes by export full database by FULL =Y. All functions are working fine except an job is not able to run. I found the package called by the job is invalid. I am trying to recompile, it can not. its showing
PLS-00201 : identifier 'v$INSTANCE' must be declared. Please note that, this package having a procedure that is loading a text files rows to table. Its using UTL_FILE package.
And directories are used to load the data. I created the directories in the TEST database and create the physical directory in the TEST database host machine.
Kinldy help me to resolve it.Hi,
PLS-00201 : identifier 'v$INSTANCE' must be declared. Please note that, this package having a procedure that is loading a text files rows to table. Its using UTL_FILE package.
And directories are used to load the data. I created the directories in the TEST database and create the physical directory in the TEST database host machine. 1. when issuue was raised from pl/sql - have you check the code ?
2. Have you tested code independently - instead of executing from job. ?
3. Forget about production system for a while, try to check the pre-requisites required for the things to run. ?
4. what is the pacakge code dependent on v$instance error - have you checked across ?
5. Have you tried to debug the code or not ?
- Pavan Kumar N -
Can not properly view cover flow in full screen in external display
My mac is the new Mac book pro 15.4 inch screen and I connect my mac pro to external display e.g. Samsung LCD monitor 24 inches.
The bug is that I can not PROPERLY view full screen (in external display) for some application e.g. iTunes, and Front Row.
- When I use iTunes, I can not properly view Cover Flow view in full screen (in the external display screen) except the case of mirror display.
- For Front Row, I can not view full screen in external display but only my mac display.
However, for other DVD or VDO players, I can view movie on external display in full screen and I still be able to do other works on my mac screen.
Please let me know how to solve it.found the likely issue! are you participating in youtube's html5 trial? go here and it will tell you if you are:
http://www.youtube.com/html5
exit the trial and it should fix the issue. it worked for me! -
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! -
Help: OJSPC can not compile the JSP with struts tag
Hi,
I am trying to precompile the JSP page with EAR package but OJSPC can not parse the Struts tags.
I always get oracle.jsp.parse.JspParseException:
Error: org.apache.struts.taglib.html.MessgesTei while reading TLD /WEB-INF/tld/struts-html.tld
My OC4J version is 10.1.3.2 and I did tried putting the struts-taglib.jar to /opt/oracle/product/app10g/j2ee/home/jsp/lib or /lib/taglib
but still do not work.
Can anyone tell me how to configure the OJSPC and let it support customerized taglibs?
Thanks a lot!This is a new problem with jdk1.4 when compiling with tomcat.
The solution is to ensure that any classes in WEB-INF/classes are in a package structure and the relevant jsp calls the same using the package name.
best
kev -
Date can not display correctly in excel from .jsp
Hi,
I create a .jsp report to export the data to excel. the report run OK, except the date field can not display correctly.
for example in database :start date ='01-oct-2003'
in the except it displays to 02/06/02.
It seem all the date field can not be control in the report, and control by somthing else
Doese anyone come accross this problem?
ThanksHi Rong,
Are you using the following demonstration to build your JSP?
http://otn.oracle.com/products/reports/htdocs/getstart/demonstrations/index.html
(Output to Excel with Oracle9i Report)
I tried to do the same, and inserted a database date field in the JSP using Reports. I found the following:
While making the template inside Excel, if I make sure that the format of the date cells is "Date" - some particular date format, the date field values from Reports does not get exported correctly.
However, if you make sure that inside the template, the format of the date cells is not date, but "General", then the date field values are correctly exported to Excel.
Pl try it and let us know.
Navneet. -
Java class bean can not access to DB in JSP file
Hi, I wrote a java class bean in order to access to MySql database ,and this bean is used in a JSP file,so that the bean can query from DB and then display the queried information on the JSP file,but it can not work correctly,the following is the source code and error message popup by the system,
does anybody has experience in solving thus question,Please reply ,Thank you for your help.
%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import = "java.sql.*" %>
<jsp:useBean id="conn" scope="page" class="news.conn"/>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>1</title>
<style>
<!--
A:link {
COLOR: #993399
.s {
FONT-SIZE: 13px; LINE-HEIGHT: 170%; FONT-FAMILY: "utf-8"
-->
</style>
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1">
<tr>
<td width="100%">
<img border="0" src="images/ruanjian.jpg" width="770" height="154"></td>
</tr>
<tr>
<td width="100%">@</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2">
<tr>
<td width="13%">@</td>
<td width="87%">
<img border="0" src="images/mid-rdxw2.gif" width="101" height="18"><p>
<%
ResultSet rs,rsNest;
String strSql=null;
strSql = "select * from news where TYPE=1";
rs = conn.executeQuery(strSql);
while (rs.next()){
%>
<span class="s"> <a href="newsContent.jsp?newsId=<%=rs.getInt(id")%">"><%=rs.getString("Title")%></a><br>
<%
%>
<p>
<img border="0" src="images/mid-hyxw2.gif" width="94" height="19"></p>
<%
strSql="select * from news where TYPE=2";
rs = conn.executeQuery(strSql);
while (rs.next()){
%>
<span class="s"> <a href="newsContent.jsp?newsId=<%=rs.getInt("id")%>"><%=rs.getString("Title")%></a><br>
<%
%>
<p>@</td>
</tr>
</table>
<p align="center">Study Online</p>
<p align="center">@</p>
</body>
</html>
Error message:
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Exception in JSP: /newsMain.jsp:47
44: strSql = "select * from news where TYPE=1";
45: rs = conn.executeQuery(strSql);
46:
47: while (rs.next()){
48:
49: %>
50:
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:451)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
root cause
java.lang.NullPointerException
org.apache.jsp.newsMain_jsp._jspService(newsMain_jsp.java:98)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.27 l</a>nogoodatcoding wrote:
Tolls wrote:
Is that Jasper Exception telling us where the problem is in the jsp, though?
If it is, then "rs" is null in the call rs.next()...which means conn.executeQuery() is returning null. Which means that whatever class conn is (news.conn?) has a problem maybe?That's possible. Though, it may just be the case that the 'conn' object itself is null! That line is the first place where it's being used and there are no checks that I can see...we'll have to wait for the OP to investigate and reply I guess.That's what I originally thought, then I noticed it was saying line 47, which is the rs.next() line. Assuming Jasper is correct in its choice of line, then it's the rs that's null. Which means the conn is doing strange things.
Edit: Now that I think about it, going by the previous thread the OP posted, I'm wondering whether news.conn class is their attempt to move the JDBC stuff out of the JSP page, and it's grabbing the "real" connection (java.sql.Connection) and getting the result set and returning it...or getting something wrong and returning null.
Edited by: Tolls on 11-Jun-2009 12:24
Maybe you are looking for
-
i spilled coffee onto the keyboard of my HP G62-340US laptop a couple of months ago. i flipped it over quickly and dried it with a hair dryer, but the keys no longer work. the computer is working, currently with a USB keyboard, but that limits my por
-
Pricing Net Value error in Billing Document
Hi, I have to make only items in delivery to get copied into the billing document. I am able to get the header and item quantity, but I can't seem to copy the net value field at all. Can someone please help me with this?
-
How to find my iPod nano in iTunes?
I can´t find my old ipod nano when I open itunes.. I have tried to reset the pod, and I have the latest version on my macbook air. Can anyone help me before I go crazy...?
-
Amazon.co.uk homepage is displaying tiny icons instead of the normal size ones
Until a week ago everything was fine. I think I may have accidentally hit a key while the page was loading and now everyting shown (icons, wording, graphics etc) is tiny and unreadable.
-
Okay, I have put some artwork on my iTunes, and it didn't show up on my iPod, so I went in and unchecked the "Display Artwork..." and applied that. Then, I went in and rechecked the box, and applied it again. When I did that, a box popped up that sai