EA3 tlds
I am using weblogic 7.0 sp2 (supports j2ee 1.3) and have found numerous
"bugs". These range from jsf tags not having setters for attributes declared in the tlds:
1. com.sun.faces.taglib.html_basic.FormTag
has no setter method for "accept-charset" attribute
2. com.sun.faces.taglib.html_basic.SelectOne_MenuTag
has no setter method for "class" attribute
3. com.sun.faces.taglib.html_basic.SelectMany_CheckboxListTag
has no setter method for "labelAlign" attribute
to missing tags declared in tlds:
1. javax.faces.webapp.EventHandlerTag
is declared in jsf_core.tld, but the class doesn't exist.
These are pretty glaring errors.
I find it hard to believe that EA3 was released with these kinds of bugs.
Am I doing something wrong, or missing something?
Thanks. It did help.
BEA does the right thing and makes sure that the tlds correctly describe the tag library.
Unfortunately, I now have to do the job that the jsf team should have done. Its a bit dissappointing. The java teams at sun do a really good job. I just expected the same high level of quality from the jsf team.
Similar Messages
-
Jakarta TLD in sun 1.3 ?
i'm trying to experiment with tld's. But i can't get jakarta (EA3) stuff running in sun's 1.3 container, there is an AccessControlException. I don't find any information in the jakarta docs.
actually there is some info, they say: use tomcat 4, because you need jsp 1.2 (draft). I guess that solves my problem...
-
Error while deploying EAR : TLDs not found?
Hi all,
I encountered this error while trying to deploy an EAR using the NWDS for Netweaver CE 7.1.
C:\usr\sap\MIT\J00\j2ee\cluster\server0\temp\deploy\work\deploying\ohs.ear1239681726594\convertwarfile\FCKeditor.tld (The system cannot find the file specified)
I doublechecked the WAR inside the EAR file, and I found that the TLD is indeed in the WEB-INF directory of the WAR. This is the correct place to put it, yes?
Should I reference to it in some other place? or should I move the TLDs to a different directory?
Thank you for your assistance,
RajendraHi, bojidar.
No I don't think there are multiple copies of the TLD in my archive. I suspect the problem lies on the fact that I imported the WAR from my tomcat deployment instead of building the archive directly from the Netweaver Development Studio. Some SAP specific deployment descriptors probably wasn't there.
I have switched to trying to deploy directly from the NWDS though, and although I still haven't managed to deploy successfully, the problem is now different. I'll post about it in another thread. -
Error in using tag library uri='weblogic.tld'
Hmmm...
I'm trying to config my userprofile by creating it in the tools application (myserver/tools/index.jsp),
but when I try to access the Unified Profile Types I get an Error 500 Internal
Server Error in my webbrowser. The weblogic.log prints out an errormessage that
sounds something like this:
####<30-Aug-01 16:30:14 CEST> <Error> <HTTP> <Ast-WT01> <server01> <ExecuteThread:
'14' for queue: 'default'> <system> <> <101020> <[WebAppServletContext(3530676,tools)]
Servlet failed with Exception>
weblogic.servlet.jsp.JspException: (line 24): Error in using tag library uri='weblogic.tld'
prefix='wl': For tag 'repeat', cannot load extra info class 'weblogicx.jsp.tags.RepeatTagInfo'
I'm running weblogic 6.0 and wlcs 3.5. I'm sure of that the tag libraries are
correct and they are located under tools/web-inf.Hmmm...
I'm trying to config my userprofile by creating it in the tools application (myserver/tools/index.jsp),
but when I try to access the Unified Profile Types I get an Error 500 Internal
Server Error in my webbrowser. The weblogic.log prints out an errormessage that
sounds something like this:
####<30-Aug-01 16:30:14 CEST> <Error> <HTTP> <Ast-WT01> <server01> <ExecuteThread:
'14' for queue: 'default'> <system> <> <101020> <[WebAppServletContext(3530676,tools)]
Servlet failed with Exception>
weblogic.servlet.jsp.JspException: (line 24): Error in using tag library uri='weblogic.tld'
prefix='wl': For tag 'repeat', cannot load extra info class 'weblogicx.jsp.tags.RepeatTagInfo'
I'm running weblogic 6.0 and wlcs 3.5. I'm sure of that the tag libraries are
correct and they are located under tools/web-inf. -
EA3: Performance (High CPU usage while editting PACKAGE BODYs)
EA3 seems to use a lot of processor time while editting PACKAGE BODYs. I created a simple test that repeatably (on my system) causes the EA3 to use over 90% CPU for about a minute. (Last test was 74 seconds.)
OS: XP 2002 SP2
Processor: P4 3GHz
Memory: 2GB
DB: Oracle 10 XE
In SQL*Plus:
SQL> create or replace package test as procedure a; end;
2 /
SQL> create or replace package body test as procedure a as begin null; end; end;
2 /
1) Opened EA3
2) Close Tip of the day
3) Click Connections
4) Click 10g XE
5) Click Packages
6) Click TEST
7) Right-click TEST Body and click Edit
8) Clicked before penultimate "end;"
9) Pasted:
null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;
null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;
null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;
null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;
null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;
null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;
null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;
null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;
null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;
null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;
null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;
null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;
null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;
null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;
null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;
null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;
null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;
null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;
null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;
null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;
null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;
null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;
null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;
null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;
null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;
null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;
null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;
null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;
null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;
null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;
null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;
null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;
null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;
null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;null;
Another test is just to hold down the Enter key. After a few seconds, it reached 99% CPU and mostly stays there while holding the key.Thanks, the developers are looking into this.
Sue -
Hello All,
I have migrated my 10.1.3.3.0 application to 11g Tp3, but it does not work
first of all in my jsps,
WEB-INF/struts-bean.tld is not a registered namespace
and all my custom libraries with same page
JAR for WEB-INF/lib/datatags.jar founr but not incluede in project classpath
Hoever, I do have Struts Libraries, custom libraries in my progect classpth datatags.jar
Can anyone advise me, whats wrong here
Thank you all in advance,
HardikAlso, I get this when I run
500 Internal Server Error
java.lang.NullPointerException
at org.apache.struts.taglib.TagUtils.retrieveMessageResources(TagUtils.java:1175)
at org.apache.struts.taglib.TagUtils.message(TagUtils.java:1038)
at org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:224)
at MenuFrameSet.ctru0_helper_1(_MenuFrameSet.java:84)
[MenuFrameSet.jsp]
at MenuFrameSet.jspService(_MenuFrameSet.java:49)
[MenuFrameSet.jsp]
at com.orionserver[Oracle Containers for J2EE 11g (11.1.1.0.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:60)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:488)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:706)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:627)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter$3.run(JAZNFilter.java:434)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:308)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:452)
at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:585)
at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:334)
at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:942)
at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:843)
at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:646)
at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:614)
at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:405)
at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:168)
at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:149)
at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:237)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:29)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:877)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595) -
Hi,
I'm getting the below mentioned error in my tld file
cvc-complex-type.2.4.b: The content of element 'tag' is not complete. One of '{"http://java.sun.com/xml/ns/javaee":tei-class, "http://java.sun.com/
xml/ns/javaee":body-content}' is expected.
tld file :
<taglib xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd"
version="2.1">
<tlib-version>1.0</tlib-version>
<short-name>privilager</short-name>
<uri>http://tags/privilager</uri>
<tag>
<name>check</name>
<tag-class>com.boss.jstl.Privilager</tag-class>
</tag>
</taglib>
Kindly help me to solve this issue.
Thanks in advanceHi,
I'm getting the below mentioned error in my tld file
cvc-complex-type.2.4.b: The content of element 'tag' is not complete. One of '{"http://java.sun.com/xml/ns/javaee":tei-class, "http://java.sun.com/
xml/ns/javaee":body-content}' is expected.
tld file :
<taglib xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd"
version="2.1">
<tlib-version>1.0</tlib-version>
<short-name>privilager</short-name>
<uri>http://tags/privilager</uri>
<tag>
<name>check</name>
<tag-class>com.boss.jstl.Privilager</tag-class>
</tag>
</taglib>
Kindly help me to solve this issue.
Thanks in advance -
Data Miner Extension in SQL Developer 4.0 EA3 Release: EA3 Repository Migration Failure
The Data Miner extension in the SQL Developer 4.0 EA3 release fails when attempting to migrate the repository to EA3. This posting contains instructions on how to recover from this failure as well as to successful migrate the repository from EA2 to EA3. There are no problems when just installing a fresh Data Miner repository.
Sorry about the difficulty if this has caused you any problems.
Mark
Failure message displayed in log when migrating to EA3:
Error report -
ORA-06550: line 96, column 40:
PLS-00382: expression is of wrong type
ORA-06550: line 96, column 7:
PL/SQL: Statement ignored
06550. 00000 - "line %s, column %s:\n%s"
*Cause: Usually a PL/SQL compilation error.
*Action:
Instructions on how to recover from failure and continue using original version of SQL Developer:
1) Execute the following sql as SYS in order to allow the Data Miner repository to be open for use again:
UPDATE ODMRSYS.ODMR$REPOSITORY_PROPERTIES
SET PROPERTY_STR_VALUE = 'LOADED'
WHERE PROPERTY_NAME = 'REPOSITORY_STATUS';
COMMIT;
2) During attempted migrationto EA3 failed, access priviliges to the Data Miner repository are revoked from users. In order to use Data Miner again, these grants must be reapplied. You can either use the UI guided process to accomplish this, which requires the SYS password, or you can run the usergrants.sql script, again as the SYS user. For instructions on how to run the usergrants.sql script, or any adminstrative script, review the instructions contained in the install_scripts_readme.html file. You can find this file in the SQL Developer directories created when you unzipped SQL Developer. It is located in the following relative directory: \<SQL Developer Install Directory>\sqldeveloper\dataminer\scripts.
Instructions on how to successfully migrate to EA3.
If you have already attempted to migrate to EA3 and failed, then you need to perform the recovery instructions noted above, after which you can continue with the instructions below.
If you have not yet attempted to migrate to EA3, then just following the instructions below.
1) Replace all contents the script file createxmlworkflowsbackup.sql with specification contained at the end of this posting. The file to edit can be found in the \<SQL Developer Install Directory>\sqldeveloper\dataminer\scripts directory.
2) After completing the edit to createxmlworkflowsbackup.sql, you can proceed with the UI guided migration or perform the migration using the appropriate migration script. Review the install_scripts_readme.html file in the /dataminer/scripts directory for instructions on how to perform the migration using the script. For the UI migration, simply open any user connection in your Data Miner navigator, and you will be prompted to perform the migration.
WHENEVER SQLERROR EXIT SQL.SQLCODE;
DEFINE MAX_VERSIONS = 30
EXECUTE dbms_output.put_line('Start Backup Data Miner Workflows ' || systimestamp);
DECLARE
table_cnt NUMBER;
BEGIN
SELECT count(*) INTO table_cnt FROM all_tables WHERE owner='ODMRSYS' AND table_name='ODMR$WORKFLOWS_BACKUP';
IF (table_cnt = 0) THEN
EXECUTE IMMEDIATE '
CREATE TABLE ODMRSYS.ODMR$WORKFLOWS_BACKUP
USER_NAME VARCHAR2(30 CHAR) NOT NULL
, PROJECT_ID NUMBER NOT NULL
, PROJECT_NAME VARCHAR2(30 CHAR) NOT NULL
, PJ_CREATION_TIME TIMESTAMP(6) NOT NULL
, PJ_LAST_UPDATED_TIME TIMESTAMP(6)
, PJ_COMMENTS VARCHAR2(4000 CHAR)
, WORKFLOW_ID NUMBER NOT NULL
, WORKFLOW_NAME VARCHAR2(30 CHAR) NOT NULL
, WORKFLOW_DATA SYS.XMLTYPE
, CHAIN_NAME VARCHAR2(30 CHAR)
, RUN_MODE VARCHAR2(30 CHAR)
, STATUS VARCHAR2(30 CHAR) NOT NULL
, WF_CREATION_TIME TIMESTAMP(6) NOT NULL
, WF_LAST_UPDATED_TIME TIMESTAMP(6)
, BACKUP_TIME TIMESTAMP(6) NOT NULL
, VERSION NUMBER NOT NULL
, WF_COMMENTS VARCHAR2(4000 CHAR)
, CONSTRAINT ODMR$WORKFLOWS_BACKUP_PK PRIMARY KEY
PROJECT_ID
, WORKFLOW_ID
, VERSION
ENABLE
LOGGING
PCTFREE 10
INITRANS 1
XMLTYPE COLUMN "WORKFLOW_DATA" STORE AS BASICFILE CLOB';
END IF;
END;
DECLARE
schema_old_ver VARCHAR2(30);
schema_ver VARCHAR2(30);
patch VARCHAR2(30);
db_ver VARCHAR2(30);
v_storage VARCHAR2(30);
schema_data CLOB;
v_db_11_2_0_2 NUMBER; -- db is <= 11.2.0.2?
row_cnt NUMBER;
ver_num NUMBER := 1;
maintaindom NUMBER;
workflow_rec ODMRSYS.ODMR$WORKFLOWS_BACKUP%ROWTYPE;
BEGIN
SELECT STORAGE_TYPE INTO v_storage FROM ALL_XML_TAB_COLS WHERE OWNER='ODMRSYS' AND TABLE_NAME='ODMR$WORKFLOWS' AND COLUMN_NAME='WORKFLOW_DATA';
if (db is >= 11.2.0.3 AND SQL Dev > 3.0) OR (db is <= 11.2.0.2 AND MAINTAIN_DOM_PATCH_INSTALLED)
back up all workflows
end if
IF (v_storage != 'BINARY') THEN
-- determine xml schema version
SELECT XMLSerialize(CONTENT SCHEMA AS CLOB) INTO schema_data
FROM DBA_XML_SCHEMAS WHERE schema_url = 'http://xmlns.oracle.com/odmr11/odmr.xsd' AND owner = 'ODMRSYS';
maintaindom := INSTR(schema_data, 'xdb:maintainDOM="false"', 1, 1);
-- determine database version
SELECT version INTO db_ver FROM product_component_version WHERE product LIKE 'Oracle Database%';
--- Check schema compatibility
schema_old_ver := '11.2.0.1.9'; -- default value
BEGIN
SELECT property_str_value INTO schema_ver
FROM "ODMRSYS"."ODMR$REPOSITORY_PROPERTIES" WHERE property_name = 'WF_VERSION';
IF schema_old_ver = schema_ver THEN
IF NOT (db_ver = '11.2.0.1' OR db_ver = '11.2.0.2') THEN
dbms_output.put_line('WARNING: The backup process can not be done, The workflows need to be migrated first');
RETURN;
END IF;
END IF;
EXCEPTION WHEN NO_DATA_FOUND THEN
schema_ver := schema_old_ver;
dbms_output.put_line('No WF_VERSION found. Defaults to: ' || schema_old_ver);
END;
-- determine if MAINTAIN_DOM_PATCH_INSTALLED
IF (INSTR(db_ver, '11.2.0.2') > 0 OR INSTR(db_ver, '11.2.0.1') > 0 OR INSTR(db_ver, '11.2.0.0') > 0) THEN
v_db_11_2_0_2 := 1;
BEGIN
SELECT PROPERTY_STR_VALUE INTO patch FROM ODMRSYS.ODMR$REPOSITORY_PROPERTIES WHERE PROPERTY_NAME = 'MAINTAIN_DOM_PATCH_INSTALLED';
patch := UPPER(patch);
EXCEPTION WHEN NO_DATA_FOUND THEN
patch := 'FALSE';
END;
ELSE
v_db_11_2_0_2 := 0;
END IF;
END IF;
IF ( v_storage = 'BINARY'
OR (v_db_11_2_0_2 = 0) -- db is >= 11.2.0.3
OR ((v_db_11_2_0_2 > 0) AND ((patch = 'TRUE') OR (maintaindom = 0))) ) THEN -- db is <= 11.2.0.2 AND (MAINTAIN_DOM_PATCH_INSTALLED OR maintaindom="true")
SELECT count(*) INTO row_cnt FROM ODMRSYS.ODMR$WORKFLOWS_BACKUP;
IF (row_cnt > 0) THEN
SELECT NVL(MAX(VERSION)+1,1) INTO ver_num FROM ODMRSYS.ODMR$WORKFLOWS_BACKUP;
END IF;
FOR wf IN (
SELECT
p.USER_NAME "USER_NAME",
p.PROJECT_ID "PROJECT_ID",
p.PROJECT_NAME "PROJECT_NAME",
p.CREATION_TIME "PJ_CREATION_TIME",
p.LAST_UPDATED_TIME "PJ_LAST_UPDATED_TIME",
p.COMMENTS "PJ_COMMENTS",
x.WORKFLOW_ID "WORKFLOW_ID",
x.WORKFLOW_NAME "WORKFLOW_NAME",
xmlserialize(DOCUMENT x.WORKFLOW_DATA as CLOB indent size = 2) "WORKFLOW_DATA",
x.CHAIN_NAME "CHAIN_NAME",
x.RUN_MODE "RUN_MODE",
x.STATUS "STATUS",
x.CREATION_TIME "WF_CREATION_TIME",
x.LAST_UPDATED_TIME "WF_LAST_UPDATED_TIME",
x.COMMENTS "WF_COMMENTS"
FROM ODMRSYS.ODMR$PROJECTS p, ODMRSYS.ODMR$WORKFLOWS x
WHERE p.PROJECT_ID = x.PROJECT_ID
LOOP
workflow_rec.USER_NAME := wf.USER_NAME;
workflow_rec.PROJECT_ID := wf.PROJECT_ID;
workflow_rec.PROJECT_NAME := wf.PROJECT_NAME;
workflow_rec.PJ_CREATION_TIME := wf.PJ_CREATION_TIME;
workflow_rec.PJ_LAST_UPDATED_TIME := wf.PJ_LAST_UPDATED_TIME;
workflow_rec.PJ_COMMENTS := wf.PJ_COMMENTS;
workflow_rec.WORKFLOW_ID := wf.WORKFLOW_ID;
workflow_rec.WORKFLOW_NAME := wf.WORKFLOW_NAME;
workflow_rec.WORKFLOW_DATA := SYS.XMLTYPE(wf.WORKFLOW_DATA);
workflow_rec.CHAIN_NAME := wf.CHAIN_NAME;
workflow_rec.RUN_MODE := wf.RUN_MODE;
workflow_rec.STATUS := wf.STATUS;
workflow_rec.WF_CREATION_TIME := wf.WF_CREATION_TIME;
workflow_rec.WF_LAST_UPDATED_TIME := wf.WF_LAST_UPDATED_TIME;
workflow_rec.BACKUP_TIME := SYSTIMESTAMP;
workflow_rec.VERSION := ver_num;
workflow_rec.WF_COMMENTS := wf.WF_COMMENTS;
BEGIN
-- Output the ids (proj name, workflow name, proj id, workflow id)
dbms_output.put_line('Backup workflow: ('||wf.PROJECT_NAME||', '||wf.WORKFLOW_NAME||', '||wf.PROJECT_ID||', '||wf.WORKFLOW_ID||')');
INSERT INTO ODMRSYS.ODMR$WORKFLOWS_BACKUP VALUES workflow_rec;
COMMIT;
EXCEPTION WHEN OTHERS THEN
dbms_output.put_line('Backup workflow failed: ('||wf.PROJECT_NAME||', '||wf.WORKFLOW_NAME||', '||wf.PROJECT_ID||', '||wf.WORKFLOW_ID||')');
END;
END LOOP;
END IF;
-- keep the latest 30 versions
EXECUTE IMMEDIATE 'DELETE FROM ODMRSYS.ODMR$WORKFLOWS_BACKUP WHERE VERSION <= :1' USING (ver_num - &MAX_VERSIONS);
COMMIT;
EXCEPTION WHEN OTHERS THEN
ROLLBACK;
RAISE_APPLICATION_ERROR(-20000, 'Workflow backup failed. Review install log.');
END;
EXECUTE dbms_output.put_line('End Backup Data Miner Workflows. ' || systimestamp);823006 wrote:
5.a. XLS export of big number columns looses precision, for example a number(38) column with all digits used.
I believe excel only holds 15 digits of precision.
Edited by: 823006 on Jan 18, 2011 8:14 AMThen it would be nice if you can define the "excel type" of each column. So you can make this number a "string" in the XLS.
Edited by: user9361780 on Jan 18, 2011 9:12 AM -
How to use tld files in iPlanet
Hai Friends,
I don't know basic stuff of iPlanet. plz help me. I have developed one application in tomcat. Now i need to move that application from tomcat to iPlanet 6.0(Solaris). When i deployed it in iPlanet i am geting following exceptions plz guide me
[02/May/2006:17:40:18] failure (26802): Internal error: servlet service function had thrown ServletException (uri=/ACM/jsp/bottom_pa
ge1.jsp): org.apache.jasper.compiler.ParseException: /user3/acm/iplanet/servers/ACM/jsp/bottom_page1.jsp(2,0) Page directive: Invali
d attribute, pageEncoding, stack: org.apache.jasper.compiler.ParseException: /user3/acm/iplanet/servers/ACM/jsp/bottom_page1.jsp(2,0
) Page directive: Invalid attribute, pageEncoding
at org.apache.jasper.compiler.JspUtil.checkAttributes(JspUtil.java:237)
at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:194)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1077)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1042)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:218)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadJSP(JspServlet.java:193)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$4(JspServlet.java:167)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:477)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:589)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:897)
at com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1065)
at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:959)
, root cause:
[02/May/2006:17:40:18] info (26802): JSP11 Log:Warning: Unknown element tag-class in tag
[02/May/2006:17:40:18] info (26802): JSP11 Log:Warning: Unknown element body-content in tag
[02/May/2006:17:40:18] info (26802): JSP11 Log:Warning: Unknown element variable in tag
[02/May/2006:17:40:18] info (26802): JSP11 Log:Warning: Unknown element variable in tag
[02/May/2006:17:40:18] info (26802): JSP11 Log:Warning: Unknown element variable in tag
[02/May/2006:17:40:18] info (26802): JSP11 Log:Warning: Unknown element variable in tag
[02/May/2006:17:40:18] info (26802): JSP11 Log:Warning: Unknown element variable in tag
[02/May/2006:17:40:18] info (26802): JSP11 Log:Warning: Unknown element variable in tag
[02/May/2006:17:40:18] info (26802): JSP11 Log:Warning: Unknown element tag-class in tag
[02/May/2006:17:40:18] info (26802): JSP11 Log:Warning: Unknown element body-content in tag
[02/May/2006:17:40:18] info (26802): JSP11 Log:Warning: Unknown element variable in tag
[02/May/2006:17:40:18] info (26802): JSP11 Log:Warning: Unknown element variable in tag
[02/May/2006:17:40:18] info (26802): JSP11 Log:Warning: Unknown element variable in tag
[02/May/2006:17:40:18] failure (26802): Internal error: servlet service function had thrown ServletException (uri=/ACM/jsp/header.js
p): org.apache.jasper.compiler.CompileException: /user3/acm/iplanet/servers/ACM/jsp/header.jsp(101,0) Unable to load class null, sta
ck: org.apache.jasper.compiler.CompileException: /user3/acm/iplanet/servers/ACM/jsp/header.jsp(101,0) Unable to load class null
at org.apache.jasper.compiler.TagBeginGenerator.init(TagBeginGenerator.java:128)
at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.init(JspParseEventListener.java:753)
at org.apache.jasper.compiler.JspParseEventListener.addGenerator(JspParseEventListener.java:132)
at org.apache.jasper.compiler.JspParseEventListener.handleTagBegin(JspParseEventListener.java:903)
at org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListener.java:188)
at org.apache.jasper.compiler.Parser$Tag.accept(Parser.java:825)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1077)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1042)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:218)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadJSP(JspServlet.java:193)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$4(JspServlet.java:167)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:477)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:589)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:897)
at com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1065)
at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:959)
, root cause:
(END)Thank u Very much.
And small doubt again. I am writing one custom tag in my application for that we need one tld file. In tomcat i wrote like this
<tag>
<name>Menu</name>
<tag-class>com.citigroup.acm.taglib.MenuTag</tag-class>
<body-content>JSP</body-content>
<variable><name-given>parentId</name-given></variable>
</tag>
but in iPlanet i modified(insted of tag-class i used tagclass) like the following, b'coz i got some exceptions
<tag>
<name>Menu</name>
<tagclass>com.citigroup.acm.taglib.MenuTag</tagclass>
<body-content>JSP</body-content>
<variable><name-given>parentId</name-given></variable>
</tag>
Now i am getting error at <variable> how to handle that plz help me -
How to install the struts-el jar and tld file
How can i install/configure the struts-el jar and struts-logic-el.tld. When I tried with the related sites, i couldn't get any jar files for struts-el tag.
I got only 404 status error.
From where and how to get the jar file and tld file for the struts-el tag .Please refer meThe jar file is part of the download of struts.
its in the /contrib/lib directory
You should need struts, jstl plus the struts-el jar files.
The tld files should not be necessary - just use the standard URIs for them.
eg http://struts.apache.org/tags-logic-el -
Getting tld file in servlet.
hi all,
now we cannot declare alias for tag lib tld in web.xml.so server will take tld from jar file which is there lib.
i want access these tld file in servlet. can any body tell how to get it.
thanks in advance...You could also use jsp, which provides you with JAVA functionality, however, omitting the printing. Here's an example:
<%@ page contentType="text/html; charset=ISO-8859-5" %>
<%
String name = request.getParameter("name");
%>
<html>
<header>
</header>
<body>
<p><%=name %></p>
</body>
</html> -
Xsl/stylesheet transformation problem in soap response(usinf xmlx-tags.tld)
Hi,
I have problem in transforming the soap response using xmlx-tags.tld.....
I was not able to read the <EmpName> value from the returned xml...
The stylesheet / xsl does not return any elements if I use other then "/" in match
attribute : <xsl:template match="/">
here is my soap call and stylesheet in JSP:
<x:xslt media="html">
<x:xml>
<ws:soap ttl="360000">
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
... making soap call here...
</soap:Body>
</soap:Envelope>
</ws:soap>
</x:xml>
<x:stylesheet media="html">
<xsl:stylesheet version='1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>
<xsl:output method="xmll" omit-xml-declaration="no"
doctype-public="-//W3C//DTD HTML 4.0 Transitional//EN" indent="yes" />
<xsl:template match="GetEmpResult">
<html>
<body>
Result: <B>Symbol <xsl:value-of select="EmpName"/></B>
</body
</html>
</xsl:stylesheet>
</x:stylesheet>
</x:xslt>
the SOAP response looks like this:
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetEmpResponse xmlns="http://ws.cdyne.com/">
<GetEmpResult>
<EmpID>string</EmpID>
<EmpName>string</EmpName>
<SalAmount>decimal</SalAmount>
<Error>boolean</Error>
</GetEmpResult>
</GetEmpResponse>
</soap:Body>
</soap:Envelope>
I tried all the possibilities of template matches, but not succeeded....
Can somebody help me the correct <xsl:template> to access EmpName from the above
SOAP responses...
regards
VijayHi,
Dynamic xslt are not quite supported in OSB, there are some approaches that may be helpful for your case though...
Have a look at these...
http://atheek.wordpress.com/2011/12/21/using-xalanevaluate-to-parametrize-xpath/
http://beatechnologies.wordpress.com/2010/12/01/dynamic-xquery-in-oracle-service-bus/
Let me know how you go...
Cheers,
Vlad -
How to interpret the class tag in tld file( in jdeveloper)
Hi,
I am getting the following error in one of my sample jsp program :
Error(23): Unable to instantiate tag: my:findBook (class: jsp2.examples.simpletag.FindBookSimpleTag) Make sure that the tag class is available and that the tag library containing the class is not excluded from this application.
Error(23): Unable to find class for bean: null defined by tag with class: jsp2.examples.simpletag.FindBookSimpleTag
when it runs the following line :
<%@ taglib prefix="my" uri="/WEB-INF/jsp2/jsp2-example-taglib.tld" %>
actually jsp2-example-taglib.tld contains the following code :
<tag>
<description>Populates the page context with a BookBean</description>
<name>findBook</name>
<tag-class>jsp2.examples.simpletag.FindBookSimpleTag</tag-class>
<body-content>empty</body-content>
<attribute>
<name>var</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
I do not understand the meaning of jsp2.examples.simpletag.FindBookSimpleTag.
can anyone explain this to me ?
Thanks in Advance !!!
BR
AnuragHi,
Thanks !!
How did you find that it is j2ee 1.4 ?
can you comment why I am not able to see the data in the form . The following is thecomplete jsp file code :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@ page contentType="text/html;charset=windows-1252"
errorPage="/general_error_page.jsp"%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib prefix="my" uri="/WEB-INF/jsp2/jsp2-example-taglib.tld" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
<title>JSP 2.0 Examples</title>
</head>
<body>
<h1>JSP 2.0 Examples - Book SimpleTag Handler</h1>
<hr>
<p>Illustrates a semi-realistic use of SimpleTag and the Expression
Language. First, a <my:findBook> tag is invoked to populate
the page context with a BookBean. Then, the books fields are printed
in all caps.</p>
<br>
<b><u>Result:</u></b><br>
<my:findBook var="book"/>
<table border="1">
<thead>
<td><b>Field</b></td>
<td><b>Value</b></td>
<td><b>Capitalized</b></td>
</thead>
<tr>
<td>Title</td>
<td>${book.title}</td>
<td>${my:caps(book.title)}</td>
</tr>
</table>
</body>
</html>
BR
Anurag -
How to configure tld file?
I am building a JSF application and created a new custom component with a new tag. I suspect the runtime isn't finding/loading my TLD file. I've tried putting the TLD file in the WEB-INF directory and with the source/class files; I get the same error. How can I figure out if my tld is loaded? what else can I try to get it to be recognzied properly?
The error is:
Attribute id invalid for tag TestTag according to TLDMy TLD file does specify id:
<attribute>
<name>id</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
<description>
The component identifier for this component. This value
must be unique within the closest parent component that
is a naming container.
</description>
</attribute>If I flat out delete the tld file, and restart my IDE and the web server, I get the exact same symptoms. My custom tag/component works perfectly with a value attribute but no id attribute. As soon as I add the id attribute, I get the error.
I can also put the tld file back, but delete the XML contents and type in garbage; this way, if something was trying to read that file it would error. I get no error, which tells me that nothing is reading that file. If I remove the id attribute, it works perfectly.
My import statement:
<%@ taglib uri="http://sample.com/taglibs/" prefix="xyz"%>My tag reference:
<td><xyz:rater value="#{sample.value}" /></td>Java: 1.5.0_06
Server: Apache Tomcat 5.5.12
JSF: Sun RI 1.1_01
IDE: Eclipse 3.1.1 + WTP 1.0RC5
Yes, in my web searches, I saw many places recommending adding a taglib section to web.xml, but it wouldn't validate and seemed to be obsolete. -
How to store the tld file somewhere else...
Is it possible to not be forced to always copy the tld file for a tag library into the WEB-INF directory but to pick up the file from a jar/linked resource/project instead.
The JSTL seems to be able to do it. Though it may be being referenced by some web.xml file that I can't find. The JSTL stores it's template file in the META-INF directory of its jar and then id's the tag file via the uri tag in the template.
Would doing something similar work for ones own tags?
I must apologise if this topic has already been dealt with but I did search the forum and on google before posting.The JSTL seems to be able to do it. Though it may be
being referenced by some web.xml file that I can't
find.
The JSTL stores it's template file in the
META-INF directory of its jar and then id's the tag
file via the uri tag in the template.
Would doing something similar work for ones own
tags?
Yes. Please take a look at post #11 in this thread http://forum.java.sun.com/thread.jspa?threadID=664068, specifically #3 that deals with packaging tag library classes.
Please note there needn't any references in any web.xml, all you have to is jar your tag classes, have the tlds in META-INF directory. The container picks up the tld definition either from web.xml or from the META-INF of a jar found in WEB-INF/lib (Please see the jsp 2.0 spec section 7.3. The spec itself can be downloaded from http://www.jcp.org/en/jsr/detail?id=152)
All thats then required to access the tags is the have the jar in the classpath and a taglib directive in jsps.
You can take a look at this IBM article http://www-128.ibm.com/developerworks/library/j-jsp09023.html?ca=dnt-435 (though it says you require a web.xml entry)
cheers,
ram.
Maybe you are looking for
-
Adobe Acrobat XI PRO crash in Maverics
Hello, My Adobe x and XI PRO will not run anymore since i upgraded to MAverics. I did a total removal and re-install of entire Adobe Creative Suite, and Adobe Acrobat. "Configuration error" "Error 16" Called apple seems to be a issue with Adobe Lice
-
Windows 8.1 ..Firefox download setup file locks up on "Installing" window
When the Firefox downloaded setup file is run (Firefox Setup Stub 31.0.exe) , 1st thing appearing is a window saying "Firefox Setup...Your about to enjoy..." It has a green moving downloading bar that continues to run forever without any result. I le
-
OIM 11g R1 API to create business rule
Hi, I have a requirement where new companies get created quite often and hence the roles for companies, access policies, authorization policies is to be created. I tried figuring out if there is any api to create business rules and authorization poli
-
Export a master-details tables to XML
Hi, here is my requirement : I'm having a page which shows data from 4 views as master details and need to have a command button to export the all these master details data into an xml structured file predefined by a xsd. Would like to get some help
-
Attempted to install Fix 3.2- onto Xcelsius Engage 5.3.1.0 Build 12,3,1,776 Got: Internal Error 2709 Ice64Component.431D74EC_62FB_40CE_8FE0_316E68FF00D3 Installation ended prematurely because of an error Fatal Error Explanation pls advise Steve W