Jdeveloper patches for jsp?
Hi
Is there a patch for jdeveloper 3.0 that makes the debugging of JSPs possible? Right now the line numbers that are shown are way off.
Where can I find the patches on this site?
ORACLE - Isn't it possible that such a big e-business company could design the site so you don't need to ask where the patch pages are located ?
Regards
/Joachim
JDeveloper 3.0 supports JSP (Java Server Pages ) Debugging. No need of any additional patches.
Right now the line numbers that are shown are way off.
(What exactly is the meaning of this , I am not clear, please explain).
In JDeveloper 3.1 it is possible to do the remote debugging of JSP's and Servlets running on another web servers.
One restriction is that
When debugging JSP's (either locally or remotely), any debugging feature which uses expression evaluation will not be available. This includes conditional breakpoints,
expression logging for breakpoint occurrence, and the Run->Evaluate/Modify dialog.
The above is mentined in the Release Notes for Oracle JDeveloper 3.1.
null
Similar Messages
-
Jdeveloper Patch for Ebusiness Suite 11.5.10
Dear Members,
I am confused regarding the JDeveloper patch i need to download from metalink pertaining to our version of e business suite and OA Frame Work.
OA Frame work version we have is :
Product/Component Version
OA Framework - 11.5.10 4RUP
Oracle Applications Extension - 9.0.3.8.13 - build 1541
Business Components - 9.0.3.13.87
UIX (Cabo) - 2_2_24
BiBeans Runtime - 3.1.0.70 nondebug BI Beans OAF 11.5.10 Production Release
MDS - 9.0.5.4.89_555
XML - Oracle XDK Java 9.0.4.0.0 Production
AOL/J - Applications Object Library, Core Java Roll Up Patch J
Servlet - 2.2
Java - 1.4.2
JDBC Driver - 9.2.0.6.0
Database - Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production
Operating System - AIX 5.3
Browser - Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; GTB6; .NET CLR 2.0.50727; InfoPath.1)
From Metalink i found the below information:
Release 11i
OA Framework 5.10 patch ---- JDeveloper 9i Patch
ATG.PF.H (patch 3438354 or Oracle Applications 11.5.10) -- Patch 4045639 9IJDEVELOPER WITH OA EXTENSION ARU FOR FWK.H
ATG PF CU1 (patch 4017300) -- Patch 4141787 9IJDEVELOPER WITH OA EXTENSION ARU FOR CU1
ATG PF CU2 (patch 4125550) -- Patch 4573517 Oracle9i JDeveloper with OA Extension for 11.5.10 CU2
11i.ATG_PF.H RUP3 (patch 4334965) -- Patch 4725670 9IJDEVELOPER WITH OA EXTENSION ARU FOR 11i10 RUP3
11i.ATG_PF.H RUP4 (patch 4676589) -- Patch 5455514 9IJDEVELOPER WITH OA EXTENSION ARU FOR 11i10 RUP4
11i.ATG_PF.H RUP5 (patch 5473858) -- Patch 6012619 9IJDeveloper With OA Extension ARU FOR 11i10 RUP5
11i.ATG_PF.H.RUP6 (patch 5903765) -- Patch 6739235 9IJDeveloper With OA Extension ARU FOR 11i10 RUP6
AS you can see we are on 11.5.10 4RUP version of OA Framework, but in metalink when i see, i am confused between two patches :
ATG.PF.H (patch 3438354 or Oracle Applications 11.5.10) -- Patch 4045639 9IJDEVELOPER WITH OA EXTENSION ARU FOR FWK.H
11i.ATG_PF.H RUP4 (patch 4676589) -- Patch 5455514 9IJDEVELOPER WITH OA EXTENSION ARU FOR 11i10 RUP4
Should i download Patch 4045639 or Patch 5455514 for Jdeveloper. Both of them seems like related to 11.5.10 version of ebusiness suite.
Thanks
Sandeep11i.ATG_PF.H RUP4 (patch 4676589) -- Patch 5455514 9IJDEVELOPER WITH OA EXTENSION ARU FOR 11i10 RUP4
-
Error while running a OAF page with 12.1.1 (jdeveloper patch 8431482)
Hi,
I am working on Oracle apps R12.1.1
i m using jdeveloper with patch 8431482 which is mentioned in metalink Doc Id 416708.1
i have tried to run the page from jdeveloper.
it is giving me the following error.
i have checked the DBC file and it is correct.
can anyone please throw any pointers?
Regards
Hitesh
Logout
Error Page
Exception Details.
oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.lang.NullPointerException;
at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(Unknown Source)
at oracle.apps.fnd.framework.CreateIcxSession.createSession(Unknown Source)
at runregion.jspService(_runregion.java:132)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
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:298)
at java.lang.Thread.run(Thread.java:595)
## Detail 0 ##
java.lang.NullPointerException
at oracle.apps.fnd.security.SessionManager.recordSuccess(SessionManager.java:3820)
at oracle.apps.fnd.security.SessionManager.validateLogin(SessionManager.java:2082)
at oracle.apps.fnd.security.SessionManager.validateLogin(SessionManager.java:1946)
at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(Unknown Source)
at oracle.apps.fnd.framework.CreateIcxSession.createSession(Unknown Source)
at runregion.jspService(_runregion.java:132)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
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:298)
at java.lang.Thread.run(Thread.java:595)
java.lang.NullPointerException
at oracle.apps.fnd.security.SessionManager.recordSuccess(SessionManager.java:3820)
at oracle.apps.fnd.security.SessionManager.validateLogin(SessionManager.java:2082)
at oracle.apps.fnd.security.SessionManager.validateLogin(SessionManager.java:1946)
at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(Unknown Source)
at oracle.apps.fnd.framework.CreateIcxSession.createSession(Unknown Source)
at runregion.jspService(_runregion.java:132)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
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:298)
at java.lang.Thread.run(Thread.java:595)
Logout
Copyright (c) 2006, Oracle. All rights reserved.Hi All,
There is the issue with newly relased jdeveloper patch for 12.1. We have raised an SR with Oracle and they have responded back saying : Set profile "Sign-On:Notification" to "No" at site level, which resloves the issue.
--Mukul -
The correct patch for JDeveloper 9i
The correct patch for JDeveloper 9i
I do not identify the corect version of JDeveloper patch that is needed for my OA Framework . I identified my OA framework version , 11.5.10.5RUP (on my About page) . I have read note 416708.1 (How to find the corect version of JDeveloper to use with eBusiness Suite 11i or Release 12.x) but I do not know what version of JDevelper 9i to use (I can not find the right one that have my OA Framework) . Someone may want to help me?
Many thanks,
AurelAccording to your output you have ATG RUP5 installed on your 11i system. Per MOS Doc 787209.1 (How to find the correct version of JDeveloper to use with eBusiness Suite 11i or Release 12), you will need patch 6012619 of JDeveloper.
HTH
Srini -
hello,
After installing the Adobe reader, I got the following error message:
Error 1328.Error applying patch to fileC:/Config.Msi/PTEADA.tmp.It has probably been updated by other means, and can no longer be modified by this patch.For more information contact your patch vendorFor AA XI, you only need the 11.0.09 patch. Download from http://www.adobe.com/support/downloads/product.jsp?product=1&platform=Windows (Use "MAC" if a MAC is used).
-
Problem in applying the 6078836 OS Library Patch for Oracle HTTP Server
Hi ,
While installing Oracle ebusiness suite R12on a RHEL5 linux box (2.6.32-300.10.1.el5uek)
After running the installation, the post-installation System checks revealed that the HTTP, Virtual Directory, Login Page, Help Page & JSP services were failing. All the errors have the same error code RW-50015. ! Require Installing an OS Library patch for HTTP server according to Note ID
Oracle Applications Installation and Upgrade Notes Release 12 (12.0.4) for Linux (32-bit) [ID 402310.1]
I am unable to stop the Database after stopping the Apps tier services. while trying to login into sqlplus hitting up this Error ! Please Advise
sqlplus: error while loading shared libraries: /oracle/VIS/db/tech_st/11.1.0/lib/libnnz11.so: cannot restore segment prot after reloc: Permission denied
[Oracle@OracleLinuxServer 11.1.0]$ cd
sqlplus / as sysdba
sqlplus: error while loading shared libraries: /oracle/VIS/db/tech_st/11.1.0/lib/libnnz11.so: cannot restore segment prot after reloc: Permission denied
Following is the Output of some commands which may help in understanding the Issue !
*[Oracle@OracleLinuxServer ~]$ cd /oracle/VIS/db/tech_st/11.1.0*
*[Oracle@OracleLinuxServer 11.1.0]$ find / -name libclntsh\* -ls 2>/dev/null*
*142017047 13416 -rwxr-xr-x 1 applmgr oinstall 13712482 Dec 19 01:27 /oracle/VIS/apps/tech_st/10.1.3/lib/libclntsh.so.10.1*
*142016603 0 lrwxrwxrwx 1 applmgr oinstall 17 Dec 19 01:27 /oracle/VIS/apps/tech_st/10.1.3/lib/libclntsh.so -> libclntsh.so.10.1*
*142443526 13400 -rwxr-xr-x 1 applmgr oinstall 13696149 Dec 19 01:28 /oracle/VIS/apps/tech_st/10.1.2/lib/libclntsh.so.10.1*
*142443190 0 lrwxrwxrwx 1 applmgr oinstall 17 Dec 19 01:28 /oracle/VIS/apps/tech_st/10.1.2/lib/libclntsh.so -> libclntsh.so.10.1*
*89850399 36348 -rwxrwx--- 1 Oracle oinstall 37174788 Sep 12 2008 /oracle/VIS/db/tech_st/11.1.0/inventory/prereqs/bin/linux/libclntsh.so.11.1*
*89719502 0 lrwxrwxrwx 1 Oracle oinstall 17 Dec 18 23:33 /oracle/VIS/db/tech_st/11.1.0/lib/libclntsh.so -> libclntsh.so.11.1*
*89719501 36276 -rwxr-xr-x 1 Oracle oinstall 37100033 Dec 18 23:33 /oracle/VIS/db/tech_st/11.1.0/lib/libclntsh.so.11.1*
id
uid=2000(Oracle) gid=2000(oinstall) groups=2000(oinstall) context=root:system_r:unconfined_t:SystemLow-SystemHigh
*[Oracle@OracleLinuxServer 11.1.0]$ env|egrep 'ORA|PATH' | sort*
LD_LIBRARY_PATH=/oracle/VIS/db/tech_st/11.1.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/oracle/VIS/db/tech_st/11.1.0/lib:/usr/dt/lib:/oracle/VIS/db/tech_st/11.1.0/ctx/lib
LIBPATH=/oracle/VIS/db/tech_st/11.1.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/oracle/VIS/db/tech_st/11.1.0/lib:/usr/dt/lib:/oracle/VIS/db/tech_st/11.1.0/ctx/lib
ORACLE_HOME=/oracle/VIS/db/tech_st/11.1.0
ORACLE_SID=VIS
ORA_NLS10=/oracle/VIS/db/tech_st/11.1.0/nls/data/9idata
ORA_TZFILE=/oracle/VIS/db/tech_st/11.1.0/oracore/zoneinfo/timezlrg.dat
PATH=/oracle/VIS/db/tech_st/11.1.0/perl/bin:/oracle/VIS/db/tech_st/11.1.0/bin:/usr/bin:/usr/sbin:/oracle/VIS/db/tech_st/11.1.0/appsutil/jre/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/Oracle/bin:.
SHLIB_PATH=/oracle/VIS/db/tech_st/11.1.0/lib:/usr/lib:/oracle/VIS/db/tech_st/11.1.0/ctx/libAlso I 've checked the /oracle/VIS/db/tech_st/11.1.0/cfgtoollogs/opatch/ opatch_history.txt
Find that the Patch version is same for every Patch: Please suggest..... Thanks!
Following is the all contents of the file:
*[Oracle@OracleLinuxServer opatch]$ vi opatch_history.txt*
Command : apply -verbose -silent /nfs/bld/d26/PRDXBLD9/apps/apps_st/comn/autobuild/patch/patch/7639602/7639602
Log File : /nfs/bld/d26/PRDXBLD9/db/tech_st/11.1.0/cfgtoollogs/opatch/opatch2009-03-25_23-17-01PM.log
Date & Time : Wed Mar 25 23:18:41 PDT 2009
Oracle Home : /nfs/bld/d26/PRDXBLD9/db/tech_st/11.1.0
OPatch Ver. : 11.1.0.6.2
Current Dir : /nfs/bld/d22/AB/autobuild/passwd
Command : apply -verbose -silent /nfs/bld/d26/PRDXBLD9/apps/apps_st/comn/autobuild/patch/patch/7627743/7627743
Log File : /nfs/bld/d26/PRDXBLD9/db/tech_st/11.1.0/cfgtoollogs/opatch/opatch2009-03-25_23-18-41PM.log
Date & Time : Thu Mar 26 01:23:19 PDT 2009
Oracle Home : /nfs/bld/d26/PRDXBLD9/db/tech_st/11.1.0
OPatch Ver. : 11.1.0.6.2
Current Dir : /nfs/bld/d26/PRDXBLD9/db/tech_st/11.1.0
Command : lsinventory
Log File : /nfs/bld/d26/PRDXBLD9/db/tech_st/11.1.0/cfgtoollogs/opatch/opatch2009-03-26_01-23-19AM.log
Date & Time : Tue Mar 31 03:13:12 PDT 2009
Oracle Home : /nfs/bld/d26/PRDXBLD9/db/tech_st/11.1.0
OPatch Ver. : 11.1.0.6.2
Current Dir : /nfs/bld/d22/AB/autobuild/passwd
Command : lsinventory -invPtrLoc /nfs/bld/d26/PRDXBLD9/db/tech_st/11.1.0/oraInst.loc
Log File : /nfs/bld/d26/PRDXBLD9/db/tech_st/11.1.0/cfgtoollogs/opatch/opatch2009-03-31_03-13-12AM.log
Date & Time : Tue Mar 31 03:13:18 PDT 2009
Oracle Home : /nfs/bld/d26/PRDXBLD9/db/tech_st/11.1.0
OPatch Ver. : 11.1.0.6.2
Current Dir : /nfs/bld/d22/AB/autobuild/passwd
Command : lsinventory -invPtrLoc /nfs/bld/d26/PRDXBLD9/db/tech_st/11.1.0/oraInst.loc
Log File : /nfs/bld/d26/PRDXBLD9/db/tech_st/11.1.0/cfgtoollogs/opatch/opatch2009-03-31_03-13-18AM.log
Date & Time : Wed Dec 19 19:59:52 GMT+05:30 2012
Oracle Home : /oracle/VIS/db/tech_st/11.1.0
OPatch Ver. : 11.1.0.6.2
Current Dir : /oracle/VIS/db/tech_st/11.1.0/OPatch
Command : lsinventory
Log File : /oracle/VIS/db/tech_st/11.1.0/cfgtoollogs/opatch/opatch2012-12-19_19-59-52PM.log
Date & Time : Thu Dec 20 00:03:59 GMT+05:30 2012
Oracle Home : /oracle/VIS/db/tech_st/11.1.0
OPatch Ver. : 11.1.0.6.2
Current Dir : /home/Oracle/6078836
Command : apply
Log File : /oracle/VIS/db/tech_st/11.1.0/cfgtoollogs/opatch/opatch2012-12-20_00-03-59AM.log
Date & Time : Thu Dec 20 01:28:42 GMT+05:30 2012
Oracle Home : /oracle/VIS/db/tech_st/11.1.0
OPatch Ver. : 11.1.0.6.2
Current Dir : /home/Oracle
Command : lsinventory -detail
Log File : /oracle/VIS/db/tech_st/11.1.0/cfgtoollogs/opatch/opatch2012-12-20_01-28-42AM.log -
JDeveloper 9i for Oracle 11i 10 with RUP4
Hi,
I am trying to download JDeveloper patch 9i with OAF extension for Oracle Apps 11i 10 framework with RUP4. I am having issues with finding the right patch number as metalink says different patches in different pages. With the one I downloaded, I am having some database connection problem which gives me "IO Exception: The Network Adapter Could not Establish Connection".
Can some help? Pls?
Thanks.5455514 is the patch for rup 4 based system.
As for the error, it is very generic. Either try to follow the steps for hello world carefully or search on forum, you will find many similar threads on this topic.
--Shiv -
Jdeveloper OA for 11.5.7
I have a TestProject based on HelloWorld from tutorial, it runs fine on 11.5.10 (Jdev OA patch 4573517), but with 11.5.7 it gives error (see the log behind).
Using older Jdev p4045639 it gives "No suitable driver" for the same TestProject in 11.5.7.
I really need to develop for 11.5.7, does exist some specific patch for it ?
Thanks in advance.
Rogerio
(log when using Jdev OA patch 4573517 on 11.5.7)
Exception Details.
oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: ORA-01003: no statement parsed
; (Could not lookup message because there is no database connection)
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:862)
at oracle.apps.fnd.framework.server.OAExceptionUtils.processAOLJErrorStack(OAExceptionUtils.java:980)
at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:352)
at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144)
at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
at runregion.jspService(runregion.jsp:96)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
at java.lang.Thread.run(Thread.java:534)
## Detail 0 ##
java.sql.SQLException: ORA-01003: no statement parsed
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1983)
at oracle.jdbc.ttc7.TTC7Protocol.executeFetch(TTC7Protocol.java:1002)
at oracle.jdbc.dbaccess.DBAccess.executeFetchNeedDefines(DBAccess.java:283)
at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2604)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2854)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:622)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:550)
at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1328)
at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:384)
at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:210)
at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:169)
at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:148)
at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1147)
at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1008)
at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:977)
at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:944)
at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:931)
at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:570)
at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:873)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:858)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:827)
at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:686)
at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:846)
at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:351)
at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144)
at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
at runregion.jspService(runregion.jsp:96)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
at java.lang.Thread.run(Thread.java:534)
java.sql.SQLException: ORA-01003: no statement parsedtks for all till now.
OA Framework Version 5.7.H.V5
MDS Version 9.0.3.6.7 (build 772)
UIX Version 2.1.19
BC4J Version 9.0.3.10.62
Build Date January 20, 2004
I couldnt be able to find the proper version to handle even after note 416708.1.
I trying to develop in 4573517 patch with 11.5.10 application version but soon I'll need to implement in the version above.
I'd really appreciate some help to find the exact version.
Regards. -
Patch for error code 2131 when burning CDs in itunes for Toshiba computers:
Just today, Toshiba posted patch for the infamous "error code 2131" when trying to burn CDs in itunes on many Toshiba laptops. Lucky for me, today was the first time I tried to do so, but I feel for all you other folks who have been very frustrated about this issue. Here is the link to it on the Toshiba support page:
http://www.csd.toshiba.com/cgi-bin/tais/su/susc_dtlViewDL.jsp?soid=2024958&moid=1909174&rpn=PSAF3U&BV_SessionID=@@@@043462335 6.1208403240@@@@&BV_EngineID=cccgadedlgfhkdecgfkceghdgngdgnn.0&ct=DL&alldocs=false
I'm going to install it now and report back if there is anything tricky about it (I read in another forum that someone had already gotten the patch and had posted a link to it at a private website where there were a few different options and you had to figure out which was the right one, but this should be easier and "official")
Hope this helps!Dell Inc. Dell DM051
hmmmmm. i'm proceeding under the assumption that you've got a Dell 5150/E510. if i'm wrong about that, please check in with Dell to confirm your model prior to applying any updates.
i had a look at the support site for your model (or at least, what i'm assuming your model is). your firmware appears to be up to date for the HL-DT-ST DVD+-RW GWA4164B that you're getting the error on, but there does seem to be newer firmware available for the SONY DVD-ROM DDU1615. so it might be worth getting that, just in case there some kind of odd interaction happening between the drives.
Dimension 5150/E510
otherwise, we'd better check on some of the other usual suspects with this sort of thing:
iTunes for Windows doesn't recognize my audio CDs
... and these resources might be helpful with that:
Using CD Diagnostics in iTunes for Windows to troubleshoot CD/DVD drive issues
Updating the drivers on your Windows PC -
First patch for the non-released 9iAS 9.0.4
Today I mentioned the first patch is released for 9ias 9.0.4 (patch 3089193). Strange that Oracle already releases patches for a product that itself has not been released yet. Is it that difficult to implement that patch into the base version? I heard that we may expect 9iAS 9.0.4 around september/october so there should be time enough.
Well -- to respond to the patches...
9.0.2.1 core patchset breaks my Jdev/BC4J application with an error indicating the BC4J tables couldn't be updated
So, I try 9.0.2.2 patch. Can't get past installation instructions (posted message yesterday about this -- no response yet).
javax.naming.CommunicationException: webdev1.softmatic.esoftmatic.com:4031. Root exception is java.lang.IllegalArgumentException: object is not an instance of declaring class
Patches have definitely not helped here.
To be constructive:
1) Looking for 9.0.4 release to allow clustering of OC4J processes even if installed with reports/forms (i.e. allow me to use EM to cluster, even if EM can't cluster the reports servers). It would be nicer to have EM cluster reports services too, but probably need smart way of updating CGICMD.DAT, for example. I could deal with just clustering the OC4J portions, but to prevent me from doing it because I've installed the "business intelligence" is frustrating because I know the capability is there -- I just can't get there because we use the reports too.
2) Looking for text/xml/configuration files on NT to use Windows CRLF (cgicmd.dat, opmn.xml, etc). Annoying, especially since I have to document the installation procedures for disaster recovery and need to include unix to dos type utilities, etc. Getting a real editor isn't my problem, it's the disaster recovery plan where you can't count on people knowing how to deal with it themselves.
3) Looking for way to deploy 9.0.3 JDeveloper BC4J to 9.0.2 safely (docs say you can't)...As a generalization, allow deployment of newer jdev/bc4j libraries with the applications. The "tightness" of BC4J within 9iAS causes issues. Development environments are updated more regularly than production -- hence the ability to fully deploy newer applications to the older app servers is key.
There are probably others... but those topics seem to not come up in the forums.
Jeff -
GW Monitor and new DST patch for webaccess, now shows Unknown
It seems that after we installed the DST patch for webaccess the now our
GroupWise Monitor shows the Webaccess agent as an unknown status? Anyone
else have this issue? Is there maybe something else I can look at to fix
this?
ThanksLifeFitness,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
- Check all of the other support tools and options available at
http://support.novell.com.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://support.novell.com/forums)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://support.novell.com/forums/faq_general.html
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://support.novell.com/forums/ -
Good IDE for JSP/Servlets Development
Guys, I was looking for a good IDE for JSP/Sevlets development. I for myself wouldn't need or atleast wouldn't want to have one, but for our production they say they need one. So please can u guys advise one. I have downloaded and tried JDeveloper but it just hangs, dont know but looks like its too memory intensive. Any suggestions??? Thanks in advance
IBM's Websphere Studio Application Developer (WSAD) is a good one. It can also connect to any CVS servers, which allows you to control the versions. Hope this may help you...
-
Patches for Sun Studio 12 Update 1
Dear all,
I have recently installed Sun Studio 12 Update 1 on an x86 system and have some questions pertaining to the required patches. According to my understanding of the text on the homepage for SS12U1 (http://developers.sun.com/sunstudio/downloads/patches/ss12u1_patches.jsp) it should be possible to download these also without a service contract, but this does not seem to be possible. The SunOS 5.10_x86: Microtasking libraries (libmtsk) patch 120754-6 distributed with the SS12U1 does not seem to be sufficient for 64-bit OpenMP programs. For correct functionality of the compiler patch 120754-7 appears to be needed.
My question thus is if it should be possible to access the required Sun Studio 12 Update 1 patches without a service contract?
Any help regarding this is highly appreciated.Tthe recent lockdown of all patches by Oracle, making them available only under a support contract, makes the issue of Sun Studio 12.1 patches discussed here quite important. If 120754-07 is required for proper SS12.1 functionality, then users without support contracts must not upgrade their systems to more recent Solaris versions, as SS12.1 will have to be re-installed, and the 07 patch will be unavailable. When will SS12.2 or SS13 (?) be released? If Oracle really wants to make some money, they will never release any further SS updates, thus requiring customers to buy contracts to get the darn patch.
Check these prices for SS support contracts:
Sun Studio 12 Update 1 Standard Sun Software Service Plan 1-year
$1,015.00
Sun Studio 12 Update 1 Premium Sun Software Service Plan 1-year
$1,218.00
http://developers.sun.com/sunstudio/downloads/index.jsp -
AAC/MPEG-4 support patch for abcde
I got bored to day and made up this patch for abcde that adds support for AAC using the M4A extension.
It uses FAAC as the encoder and also patches abcde to version 2.2.3
I have not tested it yet so bear with me...i'll post my test results later.
You'll have to manually add the "M4AENCOPTS=" variable to the config
usage is: abcde -o m4a
UPDATED: fixed a plethora of typos
another side note is the fact FAAC must be compiled with mpeg-4 support, the Archlinux package for FAAC isn't, so therefore this could be a problem unless you compile FAAC yourself. I submitted a feature request to get mp4 support added.
the following is the 2.2.0 to 2.2.3 update+AAC patch. I will submit a AAC patch for the newest release to the developers of abcde later on.
--- abcde-old-2.2.0 2005-03-08 12:42:14.000000000 -0500
+++ abcde2 2005-03-08 12:11:07.000000000 -0500
@@ -11,7 +11,7 @@
# Copyright for this work is to expire January 1, 2010, after which it
# shall be public domain.
-VERSION="2.2.0"
+VERSION="2.2.3"
usage ()
@@ -21,7 +21,7 @@
echo "-1 Encode the whole CD in a single file"
echo "-a <action1[,action2]...>"
echo " Actions to perform (cddb,read,normalize,encode,tag,move,playlist,clean)"
-echo "-A Experimental actions (retag, transcode)"
+#echo "-A Experimental actions (retag, transcode)"
echo "-b Batch mode: enable album normalization and nogap encoding"
echo "-c <file>"
echo " Specify a configuration file (overrides system and user config files)"
@@ -366,6 +366,9 @@
mpc)
run_command tagtrack-$1 true
+ m4a)
+ run_command tagtrack-$1 true
+ ;;
esac
done
@@ -489,6 +492,10 @@
## FIXME ## to the encoder ends up empty.
run_command encodetrack-$OUTPUT-$1 nice $ENCNICE $MPPENCODER $MPPENCODEROPTS --artist "$TRACKARTIST" --album "$DALBUM" --title "$TRACKNAME" --track "$1" --genre "$CDGENRE" --year "$CDYEAR" --comment "$COMMENT" "$IN" "$OUT"
+ m4a)
+ # AAC/MPEG-4 format (.m4a) is done locally, with inline tagging.
+ run_command encodetrack-$OUTPUT-$1 nice $ENCNICE $M4AENCODER $M4AENCODEROPTS --artist "$TRACKARTIST" --album "$DALBUM" --title "$TRACKNAME" --track "$1" --genre "$CDGENRE" --year "$CDYEAR" --comment "$COMMENT" -w "$IN" -o "$OUT"
+ ;;
esac
done
# Only remove .wav if the encoding succeeded
@@ -737,6 +744,9 @@
if [ "$INTERACTIVE" = "y" ]; then
while [ "$DONE" != "y" ]; do
read ERASEPLAYLIST
+ if [ "$ERASEPLAYLIST" = "" ]; then
+ ERASEPLAYLIST=e
+ fi
case $ERASEPLAYLIST in
e|E|a|A|k|K) DONE=y ;;
@@ -764,7 +774,7 @@
ARTISTFILE=$(mungefilename "$TRACKARTIST")
# If we want to start the tracks with a given number, we need to modify the
# TRACKNUM value before evaluation
- if [ -n $STARTTRACKNUMBER ] ; then
+ if [ -n "$STARTTRACKNUMBER" ] ; then
# Get the trackpadding from the current track
CURRENTTRACKPADDING=$(echo -n $UTRACKNUM | wc -c)
TRACKNUM=$( printf %0.${CURRENTTRACKPADDING}d $(expr ${UTRACKNUM} + ${STARTTRACKNUMBER} - 1 ))
@@ -843,7 +853,7 @@
cdparanoia|debug)
if [ "$WEHAVEACD" = "y" ]; then
vecho "Querying the CD for audio tracks..."
- TRACKS=$( $CDROMREADER -Q 2>&1 | egrep '^[[:space:]]+[[:digit:]]' | tail -n 1 | awk '{print $1}' | tr -d "." | tr 'n' ' ' )
+ TRACKS=$( $CDROMREADER -d $CDROM -Q --verbose 2>&1 | egrep '^[[:space:]]+[[:digit:]]' | tail -n 1 | awk '{print $1}' | tr -d "." | tr 'n' ' ' )
CDPARANOIAAUDIOTRACKS="$TRACKS"
else
if [ -f "$ABCDETEMPDIR/status" ] && checkstatus cdparanoia-audio-tracks ; then
@@ -1354,7 +1364,7 @@
EDITCDDB=n
fi
if [ "$EDITCDDB" = "y" ]; then
- CDDBDATAMD5SUM=$($MD5SUM "$CDDBDATA" | cut -d " " -f 1);
+ CDDBDATAMD5SUM=$($MD5SUM "$CDDBDATA" | cut -d" " -f1);
# Use the debian sensible-editor wrapper to pick the editor that the
# user has requested via their $EDITOR environment variable
@@ -1387,7 +1397,7 @@
# Some heuristics first. Look at Disc Title, and if it starts with
# "Various", then we'll assume Various Artists
- if [ "$(grep ^DTITLE= "$CDDBDATA" | cut -f2 -d= | egrep -ci '^(various|soundtrack|varios|sonora|ost)')" != "0" ]; then
+ if [ "$(grep ^DTITLE= "$CDDBDATA" | cut -f2- -d= | egrep -ci '^(various|soundtrack|varios|sonora|ost)')" != "0" ]; then
echo "Looks like a Multi-Artist CD" >&2
VARIOUSARTISTS=y
else
@@ -1470,7 +1480,7 @@
echo "variousartiststyle=$VARIOUSARTISTSTYLE" >> "$ABCDETEMPDIR/status"
if [ "$EDITCDDB" = "y" ] && [ "$UNINTENTIONALLY_ANGER_THE_FREEDB_PEOPLE" = "y" ]; then
- if [ $CDDBDATAMD5SUM != "" ] && [ $CDDBDATAMD5SUM != $($MD5SUM "$CDDBDATA" | cut -d " " -f 1) ]; then
+ if [ $CDDBDATAMD5SUM != "" ] && [ $CDDBDATAMD5SUM != $($MD5SUM "$CDDBDATA" | cut -d" " -f1) ]; then
# This works but does not have the necessary error checking
# yet. If you are familiar with the CDDB spec
# (see http://www.freedb.org/src/latest/DBFORMAT)
@@ -1577,7 +1587,7 @@
WAVDATA="$ABCDETEMPDIR/track$UTRACKNUM.wav"
OUTDATA="$ABCDETEMPDIR/track$UTRACKNUM.$OUTPUTTYPE"
if [ -r "$CDDBDATA" ]; then
- TRACKNAME=$(grep ^TTITLE$CDDBTRACKNUM= "$CDDBDATA" | head -n 1 | cut -f2 -d= | tr -d [:cntrl:])
+ TRACKNAME=$(grep ^TTITLE$CDDBTRACKNUM= "$CDDBDATA" | head -n 1 | cut -f2- -d= | tr -d [:cntrl:])
echo "Grabbing track $UTRACKNUM: $TRACKNAME..." >&2
else
echo "Grabbing track $UTRACKNUM..." >&2
@@ -1692,6 +1702,7 @@
SPEEXENCODERSYNTAX=default
MPPENCODERSYNTAX=default
NORMALIZERSYNTAX=default
+M4AENCODERSYNTAX=default
OUTPUTFORMAT='${ARTISTFILE}-${ALBUMFILE}/${TRACKNUM}.${TRACKFILE}'
# Use the following VAOUTPUTFORMAT to revert to 2.0.x VA format:
@@ -1738,6 +1749,7 @@
SPEEXENC=speexenc
# mpp (Musepack)
MPPENC=mppenc
+M4AENC=faac
ID3=id3
ID3V2=id3v2
@@ -1773,6 +1785,7 @@
SPEEXENCOPTS=
# mpc
MPPENCOPTS=
+M4AENCOPTS=
ID3OPTS=
ID3V2OPTS=
@@ -2039,6 +2052,7 @@
spx) [ "$SPEEXENCODERSYNTAX" = "default" ] && SPEEXENCODERSYNTAX=speexenc ;;
mpc) [ "$MPPENCODERSYNTAX" = "default" ] && MPPENCODERSYNTAX=mppenc ;;
+ m4a) [ "$M4AENCODERSYNTAX" = "default" ] && M4AENCODERSYNTAX=faac ;;
*) echo "abcde error: Invalid OUTPUTTYPE defined" >&2
exit 1
@@ -2100,6 +2114,12 @@
MPPENCODER="$MPPENC"
esac
+case "$M4AENCODERSYNTAX" in
+ faac)
+ M4AENCODEROPTS="$M4AENCOPTS"
+ M4AENCODER="$M4AENC"
+ ;;
+esac
# and which tagger
@@ -2144,7 +2164,7 @@
${NEEDCOMMENTER+$VORBISCOMMENT} ${NEEDMETAFLAC+$METAFLAC}
${NEEDNORMALIZER+$NORMALIZER} ${NEEDEJECT+$EJECT}
${NEEDDISKTOOL+disktool} ${NEEDCDSPEED+$CDSPEED}
- ${NEEDVORBISGAIN+$VORBISGAIN}
+ ${NEEDVORBISGAIN+$VORBISGAIN} $M4AENCODER
do
# Cut off the command-line options we just added in
X=$(echo $X | cut -d' ' -f2)
@@ -2207,37 +2227,6 @@
esac
fi
-if [ "$STRIPDATATRACKS" = "y" ] && [ ! "$ONETRACK" = "y" ]; then
- case "$CDROMREADERSYNTAX" in
- cdparanoia|debug)
- # cdparanoia can query the CD, so let's process the TRACKQUEUE list with the results.
- if checkstatus cdparanoia-audio-tracks; then
- CDTRACKQUEUE=$( cat $ABCDETEMPDIR/cdparanoia-audio-tracks )
- else
- ## FIXME ##
- vecho "Querying the CD to obtain a list of valid audio tracks..."
- $CDROMREADER -Q > $ABCDETEMPDIR/cdparanoia-query 2>&1
- # Obtain a list of valid audio tracks from the results of the query
- CDTRACKQUEUE=$( cat $ABCDETEMPDIR/cdparanoia-query | egrep '^[[:space:]]+[[:digit:]]' | awk '{print $1}' | tr -d "." | tr 'n' ' ' )
- fi
- # Obtain the track padding value from the before-processing list and pad the CD list
- TRACKNUMPADDING=$( echo $TRACKQUEUE | awk '{print $1}' | tr -d " n" | wc -c )
- for TRACK in $CDTRACKQUEUE ; do
- TRACKNUM=$(printf %0.${TRACKNUMPADDING}d $(expr ${TRACK} + 0 ))
- PADNEWTRACKQUEUE=$(echo $PADNEWTRACKQUEUE $TRACKNUM)
- done
- CDTRACKQUEUE=$PADNEWTRACKQUEUE
- # Now, compare if the values in the list are valid tracks in the CD
- for TRACK in $TRACKQUEUE; do
- if echo $CDTRACKQUEUE | grep $TRACK >/dev/null ; then
- NEWTRACKQUEUE="$NEWTRACKQUEUE $TRACK"
- fi
- done
- TRACKQUEUE="$NEWTRACKQUEUE"
- esac
-fi
# Create playlist if needed (backgroundable) and start reading in tracks
@@ -2446,7 +2435,7 @@
# TRACKNUM=$(printf %0.${TRACKNUMPADDING}d $(expr ${UTRACKNUM} + 0))
TRACKNUM=$UTRACKNUM
CDDBTRACKNUM=$(expr $UTRACKNUM - 1)
- TRACKNAME=$(grep ^TTITLE$CDDBTRACKNUM= "$CDDBDATA" | cut -f2 -d= | tr -d [:cntrl:] | sed 's/ +$//')
+ TRACKNAME=$(grep ^TTITLE$CDDBTRACKNUM= "$CDDBDATA" | cut -f2- -d= | tr -d [:cntrl:] | sed 's/ +$//')
splitvarious
fi
fi
the patches can also be found here http://www2.rudefyet.com:8080/patch
please post any other issues you havenot yet, i'm going to work all the kinks out before i submit it
as of right now I noticed some major typos, on my part, that cause it to fail...i'm working on that right now -
How to fix 'class' or 'interface' expected for jsp
below is the stack trace
org.apache.jasper.JasperException: Unable to compile class for JSP
Generated servlet error:
/home/sherali/.netbeans/5.5/apache-tomcat-5.5.17_base/work/Catalina/localhost/UVSDataSearch/org/apache/jsp/pager_002ddemo_jsp.java:7: 'class' or 'interface' expected
import java.util.*;
^
Generated servlet error:
/home/sherali/.netbeans/5.5/apache-tomcat-5.5.17_base/work/Catalina/localhost/UVSDataSearch/org/apache/jsp/pager_002ddemo_jsp.java:8: 'class' or 'interface' expected
import java.io.*;
^
2 errors
thanks a lot in advance.
my jsp is
<%@ page session="false" %>
<%@ page import="tauvex.*;" %>
<%@ page import="java.util.*" %>
<%@ page import="java.io.*" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://jsptags.com/tags/navigation/pager" prefix="pg" %>
<html>
<head>
<title>Tauvex Search Results</title>
<%
* Pager Tag Library
* Copyright (C) 2002 James Klicman <[email protected]>
* The latest release of this tag library can be found at
* http://jsptags.com/tags/navigation/pager/
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
%>
<style type="text/css">
A.nodec { text-decoration: none; }
</style>
</head>
<body bgcolor="#ffffff">
<%
String style = getParam(request, "style", "simple");
String position = getParam(request, "position", "top");
String index = getParam(request, "index", "center");
int maxPageItems = getParam(request, "maxPageItems", 3);
int maxIndexPages = getParam(request, "maxIndexPages", 3);
%>
<%
String query1=(String)request.getAttribute("query1");
String query=(String)request.getAttribute("query");
String ShowFile=(String)request.getAttribute("ShowFile");
String ShowRA=(String)request.getAttribute("ShowRA");
String ShowDEC=(String)request.getAttribute("ShowDEC");
String Telescope=(String)request.getAttribute("Telescope");
String ObservationDates=(String)request.getAttribute("ObservationDates");
String Filter=(String)request.getAttribute("Filter");
String RA=(String)request.getAttribute("RA");
String DEC=(String)request.getAttribute("DEC");
String DATE=(String)request.getAttribute("DATE");
String DATE1=(String)request.getAttribute("DATE1");
String Radious=(String)request.getAttribute("Radious");
String FILTER[]=(String[])request.getAttribute("FILTER");
String OrderBy1=(String)request.getAttribute("OrderBy1");
String OrderBy2=(String)request.getAttribute("OrderBy2");
String OrderBy3=(String)request.getAttribute("OrderBy3");
%>
<%
out.println("<form action=\"PlainSQLQuery\" method=POST>");
out.println("<textarea rows = 5 cols = 40 name=query id=\"query\">");
out.println(query);
out.println("</textarea>");
out.println("<input type = submit value = \"Submit\">");
out.println("<input type = reset value = \"Reset\">");
out.println("</form>");
%>
<center>
<table border="0" width="90%" cellpadding="4">
<tr>
<td colspan="2" align="left" valign="top">
<table border="0" cellspacing="2" cellpadding="0">
<tr><td>Max. Page Items </td>
<td><input type="text" size="4" name="maxPageItems" value="<%= maxPageItems %>" onChange="this.form.submit();"></td></tr>
<tr><td>Max. Index Pages </td>
<td><input type="text" size="4" name="maxIndexPages" value="<%= maxIndexPages %>" onChange="this.form.submit();"></td></tr>
</table>
</td>
</tr>
</table>
<pg:pager
index="<%= index %>"
maxPageItems="<%= maxPageItems %>"
maxIndexPages="<%= maxIndexPages %>"
url="TauvexDataServlet"
export="offset,currentPageNumber=pageNumber"
scope="request">
<%-- keep track of preference --%>
<pg:param name="style"/>
<pg:param name="position"/>
<pg:param name="index"/>
<pg:param name="maxPageItems"/>
<pg:param name="maxIndexPages"/>
<pg:param name="RA"/>
<pg:param name="DEC"/>
<pg:param name="DATE"/>
<pg:param name="DATE1"/>
<pg:param name="Radious"/>
<pg:param name="FILTER"/>
<pg:param name="ShowRA"/>
<pg:param name="ShowDEC"/>
<pg:param name="Telescope"/>
<pg:param name="ObservationDates"/>
<pg:param name="Filter"/>
<pg:param name="OrderBy1"/>
<pg:param name="OrderBy2"/>
<pg:param name="OrderBy3"/>
<%-- save pager offset during form changes --%>
<input type="hidden" name="pager.offset" value="<%= offset %>">
<%-- warn if offset is not a multiple of maxPageItems --%>
<% if (offset.intValue() % maxPageItems != 0 &&
("alltheweb".equals(style) || "lycos".equals(style)) )
%>
<p>Warning: The current page offset is not a multiple of Max. Page Items.
<br>Please
<pg:first><a href="<%= pageUrl %>">return to the first page</a></pg:first>
if any displayed range numbers appear incorrect.</p>
<% } %>
<%-- the pg:pager items attribute must be set to the total number of
items for index before items to work properly --%>
<% if ("top".equals(position) || "both".equals(position)) { %>
<br>
<pg:index>
<% if ("texticon".equals(style)) { %>
<jsp:include page="/WEB-INF/jsp/texticon.jsp" flush="true"/>
<% } else if ("jsptags".equals(style)) { %>
<jsp:include page="/WEB-INF/jsp/jsptags.jsp" flush="true"/>
<% } else if ("google".equals(style)) { %>
<jsp:include page="/WEB-INF/jsp/google.jsp" flush="true"/>
<% } else if ("altavista".equals(style)) { %>
<jsp:include page="/WEB-INF/jsp/altavista.jsp" flush="true"/>
<% } else if ("lycos".equals(style)) { %>
<jsp:include page="/WEB-INF/jsp/lycos.jsp" flush="true"/>
<% } else if ("yahoo".equals(style)) { %>
<jsp:include page="/WEB-INF/jsp/yahoo.jsp" flush="true"/>
<% } else if ("alltheweb".equals(style)) { %>
<jsp:include page="/WEB-INF/jsp/alltheweb.jsp" flush="true"/>
<% } else { %>
<jsp:include page="/WEB-INF/jsp/simple.jsp" flush="true"/>
<% } %>
</pg:index>
<% } %>
<hr>
<form action="ZipServlet" method="get" name="download" onsubmit="return Form1_Validator(this)">
<table id="output">
<CAPTION><EM>Fits file Search Results</EM></CAPTION><tr>
<%
out.println("<th>Check Box</th>");
out.println("<th>File Name</th>");
if(ShowRA != null && "on".equals(ShowRA))
out.println("<th>RA_START</th>");
if(ShowRA != null && "on".equals(ShowRA))
out.println("<th>RA_END</th>");
if(ShowDEC != null && "on".equals(ShowDEC))
out.println("<th>DEC_START</th>");
if(ShowDEC != null && "on".equals(ShowDEC))
out.println("<th>DEC_END</th>");
if(Telescope!=null && "on".equals(Telescope))
out.println("<th>Telescope</th>");
if(ObservationDates !=null && "on".equals(ObservationDates))
out.println("<th>STARTOBS</th>");
if(ObservationDates !=null && "on".equals(ObservationDates))
out.println("<th>ENDOBS</th>");
if(Filter!=null && "on".equals(Filter))
out.println("<th>FILTER</th>");
out.println("</tr>");
%>
<%--
<table width="90%" cellspacing="4" cellpadding="4">
Since the data source is static, it's easy to offset and limit the
loop for efficiency. If the data set size is not known or cannot
be easily offset, the pager tag library can count the items and display
the correct subset for you.
The following is an example using an enumeration data source of
unknown size. The pg:pager items and isOffset attributes must
not be set for this example:
--%>
<%
Enumeration myDataList1 = (Enumeration)request.getAttribute("myDataList1");
if (myDataList1 == null)
throw new RuntimeException("myDataList1 is null");
%>
<% while (myDataList1.hasMoreElements()) { %>
<% TauvexData elem = (TauvexData)myDataList1.nextElement(); %>
<pg:item> <%
out.println("<tr>");
%>
<td><input type= "checkbox" name="cb" value="<%=elem.getDownload()%>"></td>
<td><a href="<%= elem.getDownload() %>"><%= elem.Fitsfilename %></a></td>
<%
// out.println("<td> "+elem.Fitsfilename+" </td>");
if(ShowRA != null && "on".equals(ShowRA))
out.println("<td> "+elem.RA_START+" </td>");
if(ShowRA != null && "on".equals(ShowRA))
out.println("<td> "+elem.RA_END+"</td>");
if(ShowDEC != null && "on".equals(ShowDEC))
out.println("<td> "+elem.DEC_START+" </td>");
if(ShowDEC != null && "on".equals(ShowDEC))
out.println("<td> "+elem.DEC_END+" </td>");
if(Telescope!=null && "on".equals(Telescope))
out.println("<td> "+elem.telescope+" </td>");
if(ObservationDates !=null && "on".equals(ObservationDates))
out.println("<td> "+elem.STARTOBS+" </td>");
if(ObservationDates !=null && "on".equals(ObservationDates))
out.println(" <td> "+elem.ENDOBS+" </td>");
if(Filter!=null && "on".equals(Filter))
out.println("<td> "+elem.FILTER+" </td>");
out.println("</tr>");
%> </pg:item>
<% } %>
</table>
<input type="button" name="CheckAll" value="Check All Boxes" onclick="modify_boxes(true,3)">
<input type="button" name="UnCheckAll" value="UnCheck All Boxes" onclick="modify_boxes(false,3)">
<input type="submit" value="Download">
</form>
<hr>
<pg:pages>
<a href="<%= pageUrl %>"><%= pageNumber %></a>
</pg:pages>
<pg:last>
<a href="<%= pageUrl %>">[ Last >| (<%= pageNumber %>) ]</a>
</pg:last>
<% if ("bottom".equals(position) || "both".equals(position)) { %>
<pg:index>
<% if ("texticon".equals(style)) { %>
<jsp:include page="/WEB-INF/jsp/texticon.jsp" flush="true"/>
<% } else if ("jsptags".equals(style)) { %>
<jsp:include page="/WEB-INF/jsp/jsptags.jsp" flush="true"/>
<% } else if ("google".equals(style)) { %>
<jsp:include page="/WEB-INF/jsp/google.jsp" flush="true"/>
<% } else if ("altavista".equals(style)) { %>
<jsp:include page="/WEB-INF/jsp/altavista.jsp" flush="true"/>
<% } else if ("lycos".equals(style)) { %>
<jsp:include page="/WEB-INF/jsp/lycos.jsp" flush="true"/>
<% } else if ("yahoo".equals(style)) { %>
<jsp:include page="/WEB-INF/jsp/yahoo.jsp" flush="true"/>
<% } else if ("alltheweb".equals(style)) { %>
<jsp:include page="/WEB-INF/jsp/alltheweb.jsp" flush="true"/>
<% } else { %>
<jsp:include page="/WEB-INF/jsp/simple.jsp" flush="true"/>
<% } %>
</pg:index>
<% } %>
</pg:pager>
</center>
</body>
</html>
<%!
private static int num =1;
private static String getName(){
String str="cb";
str=str+num;
num++;
return str ;
private static final String getParam(ServletRequest request, String name,
String defval)
String param = request.getParameter(name);
return (param != null ? param : defval);
private static final int getParam(ServletRequest request, String name,
int defval)
String param = request.getParameter(name);
int value = defval;
if (param != null) {
try { value = Integer.parseInt(param); }
catch (NumberFormatException ignore) { }
return value;
private static void radio(PageContext pc, String name, String value,
boolean isDefault) throws java.io.IOException
JspWriter out = pc.getOut();
String param = pc.getRequest().getParameter(name);
out.write("<input type=\"radio\" name=\"");
out.write(name);
out.write("\" value=\"");
out.write(value);
out.write("\" onChange=\"this.form.submit();\"");
if (value.equals(param) || (isDefault && param == null))
out.write(" checked");
out.write('>');
%>Well, putting all that Java code into a JSP was a bad idea in the first place, just on general design principles. But you've done it in such a way that the result of compiling the JSP is malformed Java code. Frankly I would just throw it away and put the Java code into a servlet or some other Java class, where it belongs.
But if you're really working in a place where nobody has learned anything since 2003, and you're forced to support that old junk, then I would point out that the error occurs before the place which generates this line:
import java.util.*;You only need to look at two of the thousand lines of code you posted.
Maybe you are looking for
-
Multiple Standalone Persistence Manager Servers in a single JVM?
Greetings [Kodo 3.4.1, Oracle9i] I am currently working on introducing the Kodo Standalone Persistence Manager Server into our architecture. One issue is that our application accesses several different databases, each via a separate PersistenceManage
-
I have a 2.2Ghz Core Duo 160HDD 2Gig Ram w Leopard 10.5.1 i was surfing the net yesterday and my the system crashed - screen went black and it turned itself off immediatly. So this happened twice before in the last 2 month, but i didnt read much into
-
RFC - Java Proxy (Synchronous) invoking method
Hi, I have problems to call my inbound java proxy. My scenario consist of send RFC -> Java Proxy (Synchronous) Proxy this registered http://hcp095.intra.csc.es:50100/ProxyServer/register?ns=http://csc.es/xi/rca&interface=Z_RCA_SCS&bean=ZRCASCS_PortTy
-
Hi, I would like to get the source for the Work Protect Mode pop up that we see in the portal. Can anyone point out where can I get the actual source code? Regards J
-
Try this solution.