JSP Build Problem
I am trying to build the following jsp page:
<jsp:include page="/reports/RWServlet" flush="true" >
<jsp:param name="desformat" value="<%= session.getId() %>" />
</jsp:include>
It will not build with the following error:
Error: variable reports$_jsp_StaticText not found in class reports.reports
Any advice?
Thanks
Tis a defect in the way jasper/ant handles subdirectories in the packages that needs to be resolved. If you have your jsp files in a flat directory, you're fine. If you don't, you'll need this bug resolved: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4750
Please feel free to vote for it. :)
A workaround is to create a separate ant <jspc> task for each directory and subdirectory.
Similar Messages
-
Re: [iPlanet-JATO] sp3 jsp compiler problem
Weiguo,
First, Matt is correct, the regular expression tool is perfect for general text
substitution situations, and as a completely independent tool its use is not
restricted to migration situations (or file types for that matter).
Second, I sympathize with the unfortunate trouble you are experiencing due to
Jasper's (perhaps more strict) compilation, but in what way did the iMT
automated translation contribute to these inconsistencies that you cited?
1. Changed the case of the tag attribute to be the same as what's
defined in tld.
example: changed OnClick to onClick
The iMT does not generate any OnClick or onClick clauses per se. In a
translation situation, the only way "OnClick" would have been introduced was if
it had been part of the pre-existing project's "extraHTML" (which was written
by the original customer and just passed through unchanged by the iMT) or if it
was added manually by the post-migration developer.
2. Removed attributes which are not defined in tld.
example: escape attribute only defined in three tags
but in some pages, it's used although it's not defined as an
attribute
of certain tags. The jasper compiler doesn't like it.Can you give soem examples? Is there a definite pattern? Again, this might be
similar to the OnClick situation described above?
3. In an end tag, there can't be any space.
example: </content > doesn't work. </content> works.
Again, the content tag would never have been generated by the iMT. There was no
equivalent in the NetDynamics world, so any content tags in your code must have
been introduced by your developers manually. Its a shame that jasper is so
particular, but the iMT could not help you out here even if we wanted to. The
constants that are used by the iMT are defined in
com.iplanet.moko.jsp.convert.JspConversionConstants. From what I can see, the
only situation of a closing tag with any space in it is
public static final String CLOSE_EMPTY_ELEMENT = " />";
But that should not cause the type of problem you are referring to.
Mike
----- Original Message -----
From: Matthew Stevens
Sent: Thursday, September 06, 2001 10:16 AM
Subject: RE: [iPlanet-JATO] sp3 jsp compiler problem
Weiguo,
Others will chime in for sure...I would highly recommend the Regex Tool from
the iMT 1.1.1 for tackling this type of problem. Mike, Todd and myself have
posted to the group (even recently) on directions and advantages of creating
your own RULES (rules file) in XML for arbitary batch processing of source.
matt
-----Original Message-----
From: weiguo.wang@b...
[mailto:<a href="/group/SunONE-JATO/post?protectID=125056020108194190033029175101192165174144234026000079108238073194105057099246073154180137239239223019162">weiguo.wang@b...</a>]
Sent: Thursday, September 06, 2001 12:25 PM
Subject: [iPlanet-JATO] sp3 jsp compiler problem
Matt/Mike/Todd,
We are trying to migrate to sp3 right now, but have had a lot of
issues with the new jasper compiler.
The following workaround has been employed to solve the issues:
1. Changed the case of the tag attribute to be the same as what's
defined in tld.
example: changed OnClick to onClick
2. Removed attributes which are not defined in tld.
example: escape attribute only defined in three tags
but in some pages, it's used although it's not defined as an
attribute
of certain tags. The jasper compiler doesn't like it.
3. In an end tag, there can't be any space.
example: </content > doesn't work. </content> works.
As I see it, we have two options to go about solving this problem:
1. Write a script which will iterate through all the jsp files and
call jspc on them. Fix the errors manually when jspc fails. Jspc will
flag the line number where an error occurs.
2. Write a utility which scans the jsp files and fix the errors when
they are encountered. We should define what's an error and how to
correct it. It's best if we combine this with solution 1 since we
might miss an error condition.
Actually, there might be another option, which is seeking help from
you guys since you have better understanding of JATO and iAS. Can you
do anything to help us?
We would be happy to hear your thoughts.
At last, I would like to suggest modifying the moko tool so that
these rules are enforced and the generated JSPs work with the new
compiler. This is for the benefit of any new migration projects.
Thanks a lot.
Weiguo
[email protected]
Choose from 1000s of job listings!
[email protected]
[Non-text portions of this message have been removed]Thanks a lot Matt and Mike for your prompt replies.
I agree completely that iMT doesn't introduce the inconsistencies.
About the three cases I mentioned, the third one happens only in
manually created JSPs. So it has nothing to do with iMT. The first
two are mainly due to the existing HTML code, as you rightly pointed
out.
The reason I made the suggestion is since we know that case 1 and 2
won't pass the japser compiler in sp3, we have to do something about
it. The best place to do this, in my mind, is iMT. Of course, there
might be some twists that make it impossible or difficult to do this
kind of case manipulation or attribute discard.
Weiguo
--- In iPlanet-JATO@y..., "Mike Frisino" <Michael.Frisino@S...> wrote:
Weiguo,
First, Matt is correct, the regular expression tool is perfect for general text substitution situations, and as a completely independent
tool its use is not restricted to migration situations (or file types
for that matter).
>
Second, I sympathize with the unfortunate trouble you are experiencing due to Jasper's (perhaps more strict) compilation, but
in what way did the iMT automated translation contribute to these
inconsistencies that you cited?
>
1. Changed the case of the tag attribute to be the same as what's
defined in tld.
example: changed OnClick to onClick
The iMT does not generate any OnClick or onClick clauses per se. In a translation situation, the only way "OnClick" would have been
introduced was if it had been part of the pre-existing
project's "extraHTML" (which was written by the original customer and
just passed through unchanged by the iMT) or if it was added manually
by the post-migration developer.
>
2. Removed attributes which are not defined in tld.
example: escape attribute only defined in three tags
but in some pages, it's used although it's not defined as an
attribute
of certain tags. The jasper compiler doesn't like it.Can you give soem examples? Is there a definite pattern? Again, this might be similar to the OnClick situation described above?
>
>
3. In an end tag, there can't be any space.
example: </content > doesn't work. </content> works.
Again, the content tag would never have been generated by the iMT. There was no equivalent in the NetDynamics world, so any content tags
in your code must have been introduced by your developers manually.
Its a shame that jasper is so particular, but the iMT could not help
you out here even if we wanted to. The constants that are used by the
iMT are defined in
com.iplanet.moko.jsp.convert.JspConversionConstants. From what I can
see, the only situation of a closing tag with any space in it is
public static final String CLOSE_EMPTY_ELEMENT = " />";
But that should not cause the type of problem you are referring to.
Mike
----- Original Message -----
From: Matthew Stevens
Sent: Thursday, September 06, 2001 10:16 AM
Subject: RE: [iPlanet-JATO] sp3 jsp compiler problem
Weiguo,
Others will chime in for sure...I would highly recommend the Regex Tool from
the iMT 1.1.1 for tackling this type of problem. Mike, Todd and myself have
posted to the group (even recently) on directions and advantages of creating
your own RULES (rules file) in XML for arbitary batch processing of source.
>
matt
-----Original Message-----
From: weiguo.wang@b...
[mailto:<a href="/group/SunONE-JATO/post?protectID=125056020108194190033029175101192165174048139046">weiguo.wang@b...</a>]
Sent: Thursday, September 06, 2001 12:25 PM
Subject: [iPlanet-JATO] sp3 jsp compiler problem
Matt/Mike/Todd,
We are trying to migrate to sp3 right now, but have had a lot of
issues with the new jasper compiler.
The following workaround has been employed to solve the issues:
1. Changed the case of the tag attribute to be the same as
what's
defined in tld.
example: changed OnClick to onClick
2. Removed attributes which are not defined in tld.
example: escape attribute only defined in three tags
but in some pages, it's used although it's not defined as an
attribute
of certain tags. The jasper compiler doesn't like it.
3. In an end tag, there can't be any space.
example: </content > doesn't work. </content> works.
As I see it, we have two options to go about solving this problem:
>>
1. Write a script which will iterate through all the jsp files and
call jspc on them. Fix the errors manually when jspc fails. Jspc will
flag the line number where an error occurs.
2. Write a utility which scans the jsp files and fix the errors when
they are encountered. We should define what's an error and how to
correct it. It's best if we combine this with solution 1 since we
might miss an error condition.
Actually, there might be another option, which is seeking help from
you guys since you have better understanding of JATO and iAS. Can you
do anything to help us?
We would be happy to hear your thoughts.
At last, I would like to suggest modifying the moko tool so that
these rules are enforced and the generated JSPs work with the new
compiler. This is for the benefit of any new migration projects.
Thanks a lot.
Weiguo
[email protected]
Choose from 1000s of job listings!
[email protected]
Service.
>
>
>
[Non-text portions of this message have been removed] -
Hi all,
I tried to use the migration to EJB 3.0 of the Adventure Builder 1.01 from Debu Panda and had some build problems.
Does anybody know if this demo was tested with the production version of 10.1.3?
I used the standalone version and had to tweak a lot of entries in ant-oracle.xml.
Is it possible that the migration was done with a preview release? Have there been so many changes? I had to include a bunch of additional JARs e.g ${J2EE_HOME}/lib/adminclient.jar, ${ORACLE_HOME}/webservices/lib/wsclient.jar. ${ORACLE_HOME}/lib/xmlparserv2.jar
and others.
Also I had to change some task definitions as I guess that the contents of ${ORACLE_HOME}/j2ee/utilities/ant-oracle-classes.jar must have changed...
If I did not do something terribly wrong it would be nice if you could update the example to save other people from this nightmare of running from one build error to the next!
Regards,
EricHi Debu,
thanks for your reply. I've used an previously installed ant 1.6.5 from ant.apache.org, but I don't think this should matter, or?
As far as I could see one of the problems is related to the version of ant-oracle-classes.jar in ${ORACLE_HOME}/j2ee/utilities which the example relies on.
In the adventure builder ant-oracle.xml you'll find task definitions like that:
taskdef resource="oracle/ant/taskdefs/deploy/antlib.xml" uri="http://www.oracle.com/ant/taskdefs" loaderRef="oracle.tasks.loader">which does not match with what one can find in ${ORACLE_HOME}/j2ee/utilities/ant-oracle-classes.jar
So from my point of view this has to be changed to
<taskdef resource="oracle/antlib.xml" uri="antlib:oracle" loaderRef="oracle.tasks.loader">I also had to change some libs... That's why I thought this example was made and tested with an earlier version of oc4j 10.1.3 (maybe a preview version).
Regards,
Eric -
Adobe InDesign CC 2014 Custom Panel Built With Extension Builder - Problem: Can't tab from one entry field to the next; Hitting tab instead hides all palettes; Is there a fix? This didn't happen in Adobe Indesign CC
This is planned to be fixed in the next release.
-
Application Builder problem on one server but not another
I am having an Application Builder problem. When I get into App Express and go inside the builder and try to edit a listed application, I get an “http 404 the page cannot be found. The page might have had its name changed or is temporarily unavailable” situation. I can get into SQL commands, utilities, and administrative activities. I can also run the application. Also, if I go onto a different server with App Express on it, I can get into the builder and edit applications with no trouble. Our DBA had the server in question rebooted a little over a week ago and that took care of the problem for a couple days. Any ideas? Is this an Express problem or a server problem? He had also tried restarting Express before he had the reboot done and that didn’t help.
Thank you for any help.
Cordially,
Robert J. SmithI have messages from the Apache error log files from the dates I was getting the builder error. For future reference, I will post them below. The builder has been working fine lately.
Robert Smith
** error log messages follow **
[Mon Jul 16 07:25:12 2007] [error] [client 147.159.5.134] [ecid:
79143788610,1] File does not exist:
/app/oracle/oraappsrv10g/forms/java/java/awt/KeyboardFocusManager.class
[Mon Jul 16 07:25:12 2007] [error] [client 147.159.5.134] [ecid:
79143788611,1] File does not exist:
/app/oracle/oraappsrv10g/forms/java/java/awt/event/MouseWheelListener.class
[Mon Jul 16 07:25:13 2007] [error] [client 147.159.5.134] [ecid:
83438757083,1] File does not exist:
/app/oracle/oraappsrv10g/forms/java/oracle/forms/registry/default.dat -
Revision: 2142
Author: [email protected]
Date: 2008-06-18 15:17:01 -0700 (Wed, 18 Jun 2008)
Log Message:
swfutils: Somehow a Java 1.5 API (Integer.valueOf(int)) slipped into the 30x branch, and has only sporadically caused build problems.
* By "somehow" I mean it was my injection :)
* Apparently this compiles in 1.4.2 on a Mac, go figure? I assume Windows JDK doesn't accept it.
* Replaced it with 'new Integer(int)'
Reviewer: Matt, community folks
Bugs: n/a
QA: no
Doc: no
Modified Paths:
flex/sdk/branches/3.0.x/modules/swfutils/src/java/flash/swf/tools/SwfxPrinter.javaRevision: 2142
Author: [email protected]
Date: 2008-06-18 15:17:01 -0700 (Wed, 18 Jun 2008)
Log Message:
swfutils: Somehow a Java 1.5 API (Integer.valueOf(int)) slipped into the 30x branch, and has only sporadically caused build problems.
* By "somehow" I mean it was my injection :)
* Apparently this compiles in 1.4.2 on a Mac, go figure? I assume Windows JDK doesn't accept it.
* Replaced it with 'new Integer(int)'
Reviewer: Matt, community folks
Bugs: n/a
QA: no
Doc: no
Modified Paths:
flex/sdk/branches/3.0.x/modules/swfutils/src/java/flash/swf/tools/SwfxPrinter.java -
Hi,
Could someone please help on the above mentioned?
I'm using JDeveloper 3.2.3 for my program development under Chinese windows platform. I have created a simple JSP page, which contains few static Chinese words and I have included the line
<%@ page contentType="text/html;charset=UTF-8"%>
at the top of the page. When I tried to compile it using encoding "UTF8" (under compiler option), the compiler gave me this error:
C:\Program Files\Oracle\JDeveloper 3.2.3\myhtml\Chinese_html\ChineseList.jsp
Error: (0) sun.io.MalformedInputException.
Btw, when I have removed the line <%@ page contentType="text/html;charset=UTF-8"%> from the page and compile, I've got this error:
C:\Program Files\Oracle\JDeveloper 3.2.3\myhtml\Chinese_html\ChineseList.jsp
Warning: (0) ISO-8859-1 character set may not match project compiler setting.
C:\Program Files\Oracle\JDeveloper 3.2.3\myhtml\Chinese_html\ChineseList.java
Error: (0) malformed input character in C:\Program Files\Oracle\JDeveloper 3.2.3\myhtml\Chinese_html\ChineseList.java.
I do appreciate your help on this. Thank you.Here's some info one of the JSP Developers sent me:
1. HELP.....!!!!! Chinese jsp compilation problem.....
The customer is trying to parse a document generated by
Windows's notepad. When saved in UTF-8, the byte
order mark is saved too. We have a know bug that
JSP parser doesn't recognize Byte Order Mark. The
bug is : 1915285.
2. CHINESE CHARACTER ON JSP
. SQLPLUS depends on NLS_LANG setting. If you
check the windows registry, the default of NLS_LANG
depends on the OS. The user environment is Traditional
Chinese, so does NLS_LANG. If we set NLS_LANG
to .UTF8, SQLPLUS dumps the data in UTF8, however,
the command prompt will have problem displaying them.
. For JSP, as mentioned in a previous mail:
<%@ page contentType="text/html;charset=UTF-8" %> for all languages
<%@ page contentType="text/html;charset=GB2312" %> for simplified Chinese
<%@ page contentType="text/html;charset=Big5" %> for traditional Chinese
. When you enter Chinese characters on a browser,
the data is automatically converted to page encoding
(UTF-8 in your case) before sent back to the server.
But your receiving servlet/JSP needs to have request
encoding set correctly.
I'm not sure about the JDeveloper environment,
but here is a simple JSP you may try to verify your
OC4J environment:
a. To set up the schema:
connect scott/tiger
create table tab01(col varchar2(100));
b. Edit the connect string in nls.jsp
c. Run the nls.jsp in oc4j instance.
<!-- nls.jsp -->
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ page import="oracle.jdbc.*,java.sql.*,java.io.*"%>
<HTML>
<HEAD>
<TITLE>Hello</TITLE></HEAD>
<BODY>
<%
request.setCharacterEncoding("UTF-8");
String sampledata="\u7D20";
String paramValue = request.getParameter("myparam");
String connStr = "jdbc:oracle:thin:@dlsun478:5521:j2ee01";
String user = "scott";
String passwd = "tiger";
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Connection conn = DriverManager.getConnection(connStr, user, passwd);
if (paramValue == null || paramValue.length() == 0) { %>
<FORM METHOD="GET">
Please input your name: <INPUT TYPE="TEXT" NAME="myparam"
value="<%=sampledata%>" size=20>
<BR>
<INPUT TYPE="SUBMIT" value="Insert Data">
</FORM>
<%
selectData(conn, out);
else
%>
<H1> Insert Data: <%= paramValue %> </H1>
<br/>
<%
insertData(conn, paramValue);
%>
<a href="nls.jsp">back</a>
<%
%>
</BODY>
</HTML>
<%!
public void insertData(Connection aConn, String myval)
try {
PreparedStatement stmt = aConn.prepareStatement("insert into tab01
values(?)");
stmt.setString(1, myval);
stmt.executeUpdate();
aConn.close();
catch (SQLException e) {
e.printStackTrace();
public void selectData (Connection aConn, JspWriter out)
try {
Statement stmt = aConn.createStatement( );
ResultSet r = stmt.executeQuery("SELECT col FROM tab01");
out.println("<H1>List of Data:</H1>");
while (r.next()) {
out.println(r.getString(1)+"<br/>");
aConn.close();
catch (SQLException e) {
e.printStackTrace();
catch (IOException e) {
e.printStackTrace();
%> -
JavaFx2 Samples DataApp Build Problems
Download Samples
http://download.oracle.com/otn/java/javafx/2.1.1-b04/javafx_samples-2_1_1-windows.zip
From:http://www.oracle.com/technetwork/java/javafx/downloads/index.html
And follow : DataApp Installation Guide
---Running the Sample
---Start the server:
---In NetBeans, right-click the DataAppServer project.
---Select Run.
---Wait until a browser window opens that says: YOU ARE DONE!
A : Build Problem?
ant -f D:\\DataApp\\DataAppServer -DforceRedeploy=false -Ddirectory.deployment.supported=true -Dnb.wait.for.caches=true run
check-mysql-drivers-installed:
D:\DataApp\DataAppServer\build.xml:72: D:\DataApp\DataAppServer\${j2ee.server.home}\lib does not exist.
构建失败 (总时间: 0 秒)
I have install C:\Program Files\glassfish-3.1.2
Any suggestions?ant -f D:\\DataApp\\DataAppServer -DforceRedeploy=false clean dist
check-mysql-drivers-installed:
init:
undeploy-clean:
deps-clean:
DataAppClient.init:
DataAppClient.deps-clean:
Updating property file: D:\DataApp\DataAppClient\build\built-clean.properties
DataAppLibrary.init:
DataAppLibrary.deps-clean:
Updating property file: D:\DataApp\DataAppClient\build\built-clean.properties
Deleting directory D:\DataApp\DataAppLibrary\build
DataAppLibrary.clean:
Duplicated project name in import. Project jfx-impl defined first in D:\DataApp\DataAppClient\nbproject\jfx-impl.xml and again in D:\DataApp\DataAppPreloader\nbproject\jfx-impl.xml
DataAppPreloader.init:
DataAppPreloader.deps-clean:
Updating property file: D:\DataApp\DataAppClient\build\built-clean.properties
Deleting directory D:\DataApp\DataAppPreloader\build
DataAppPreloader.clean:
Deleting directory D:\DataApp\DataAppClient\build
DataAppClient.clean:
DataAppLibrary.init:
DataAppLibrary.deps-clean:
Created dir: D:\DataApp\DataAppLibrary\build
Updating property file: D:\DataApp\DataAppLibrary\build\built-clean.properties
Deleting directory D:\DataApp\DataAppLibrary\build
DataAppLibrary.clean:
do-clean:
check-clean:
clean:
check-mysql-drivers-installed:
init:
deps-module-jar:
DataAppClient.init:
DataAppClient.deps-jar:
Created dir: D:\DataApp\DataAppClient\build
Updating property file: D:\DataApp\DataAppClient\build\built-jar.properties
DataAppLibrary.init:
DataAppLibrary.deps-jar:
Created dir: D:\DataApp\DataAppLibrary\build
Updating property file: D:\DataApp\DataAppClient\build\built-jar.properties
Created dir: D:\DataApp\DataAppLibrary\build\classes
Created dir: D:\DataApp\DataAppLibrary\build\classes\META-INF
Copying 1 file to D:\DataApp\DataAppLibrary\build\classes\META-INF
Created dir: D:\DataApp\DataAppLibrary\build\empty
Created dir: D:\DataApp\DataAppLibrary\build\generated-sources\ap-source-output
Compiling 29 source files to D:\DataApp\DataAppLibrary\build\classes
警告: [options] 未与 -source 1.6 一起设置引导类路径
注: Creating non-static metadata factory ...
注: Found Option : eclipselink.canonicalmodel.use_static_factory, with value: false
注: Optional file was not found: META-INF/orm.xml continuing with generation.
注: Optional file was not found: META-INF/eclipselink-orm.xml continuing with generation.
注: Found Option : eclipselink.canonicalmodel.use_static_factory, with value: false
注: Optional file was not found: META-INF/orm.xml continuing with generation.
注: Optional file was not found: META-INF/eclipselink-orm.xml continuing with generation.
警告: 以下选项未被任何处理程序识别: '[eclipselink.canonicalmodel.use_static_factory]'
注: 某些输入文件使用了未经检查或不安全的操作。
注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
1 个警告
Copying 1 file to D:\DataApp\DataAppLibrary\build\classes
DataAppLibrary.compile:
Created dir: D:\DataApp\DataAppLibrary\dist
Copy libraries to D:\DataApp\DataAppLibrary\dist\lib.
Building jar: D:\DataApp\DataAppLibrary\dist\DataAppLibrary.jar
To run this application from the command line without Ant, try:
C:\Program Files\Java\jdk1.7.0_05/bin/java -jar "D:\DataApp\DataAppLibrary\dist\DataAppLibrary.jar"
DataAppLibrary.jar:
Duplicated project name in import. Project jfx-impl defined first in D:\DataApp\DataAppClient\nbproject\jfx-impl.xml and again in D:\DataApp\DataAppPreloader\nbproject\jfx-impl.xml
DataAppPreloader.init:
DataAppPreloader.deps-jar:
Created dir: D:\DataApp\DataAppPreloader\build
Updating property file: D:\DataApp\DataAppClient\build\built-jar.properties
Created dir: D:\DataApp\DataAppPreloader\build\classes
Created dir: D:\DataApp\DataAppPreloader\build\empty
Created dir: D:\DataApp\DataAppPreloader\build\generated-sources\ap-source-output
Compiling 2 source files to D:\DataApp\DataAppPreloader\build\classes
Copying 5 files to D:\DataApp\DataAppPreloader\build\classes
DataAppPreloader.compile:
Created dir: D:\DataApp\DataAppPreloader\dist
Copying 1 file to D:\DataApp\DataAppPreloader\build
Not copying library D:\DataApp\DataAppPreloader\dist\DataAppPreloader.jar , it can't be read.
Nothing to copy.
Building jar: D:\DataApp\DataAppPreloader\dist\DataAppPreloader.jar
To run this application from the command line without Ant, try:
C:\Program Files\Java\jdk1.7.0_05/bin/java -jar "D:\DataApp\DataAppPreloader\dist\DataAppPreloader.jar"
Detected JavaFX Ant API version 1.1
DataAppPreloader.jfx-deployment:
DataAppPreloader.jar:
Created dir: D:\DataApp\DataAppClient\build\classes
Created dir: D:\DataApp\DataAppClient\build\empty
Created dir: D:\DataApp\DataAppClient\build\generated-sources\ap-source-output
Compiling 19 source files to D:\DataApp\DataAppClient\build\classes
注: 某些输入文件使用了未经检查或不安全的操作。
注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
Copying 27 files to D:\DataApp\DataAppClient\build\classes
DataAppClient.compile:
Created dir: D:\DataApp\DataAppClient\dist
Copying 27 files to D:\DataApp\DataAppClient\dist\lib
Moving 1 file to D:\DataApp\DataAppClient\dist
Expanding: D:\DataApp\DataAppClient\dist\lib\DataAppLibrary.jar into D:\DataApp\DataAppClient\build\classes
Expanding: D:\DataApp\DataAppClient\dist\lib\jackson-core-asl-1.7.1.jar into D:\DataApp\DataAppClient\build\classes
Expanding: D:\DataApp\DataAppClient\dist\lib\jackson-jaxrs-1.7.1.jar into D:\DataApp\DataAppClient\build\classes
Expanding: D:\DataApp\DataAppClient\dist\lib\jackson-mapper-asl-1.7.1.jar into D:\DataApp\DataAppClient\build\classes
Expanding: D:\DataApp\DataAppClient\dist\lib\jackson-xc-1.7.1.jar into D:\DataApp\DataAppClient\build\classes
Expanding: D:\DataApp\DataAppClient\dist\lib\jersey-client-1.8.jar into D:\DataApp\DataAppClient\build\classes
Expanding: D:\DataApp\DataAppClient\dist\lib\jersey-core-1.8.jar into D:\DataApp\DataAppClient\build\classes
Expanding: D:\DataApp\DataAppClient\dist\lib\jersey-json-1.8.jar into D:\DataApp\DataAppClient\build\classes
Deleting directory D:\DataApp\DataAppClient\dist\lib
D:\DataApp\DataAppServer\nbproject\build-impl.xml:860: The following error occurred while executing this line:
D:\DataApp\DataAppClient\build.xml:48: Problem: failed to create task or type javafx:com.sun.javafx.tools.ant:application
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
No types or tasks have been defined in this namespace yet
构建失败 (总时间: 25 秒) -
Revision: 17245
Revision: 17245
Author: [email protected]
Date: 2010-08-09 17:20:33 -0700 (Mon, 09 Aug 2010)
Log Message:
Fix build problems for Zeri Certification Projects.
Modified Paths:
osmf/trunk/apps/certification/zeri/FlexUnit4UIListener/flexunit4uilistener-build-config-1 0-1.xml
osmf/trunk/apps/certification/zeri/ZeriCertificationPlayer/zericertificationplayer-build- config-10-1.xml
osmf/trunk/apps/certification/zeri/ZeriCertificationTest/src/ZeriCertificationTest.mxml
osmf/trunk/apps/certification/zeri/ZeriCertificationTest/src/ZeriTests.mxml
osmf/trunk/apps/certification/zeri/ZeriCertificationTest/zericertificationtest-build-conf ig-10-1.xmlRevision: 17245
Revision: 17245
Author: [email protected]
Date: 2010-08-09 17:20:33 -0700 (Mon, 09 Aug 2010)
Log Message:
Fix build problems for Zeri Certification Projects.
Modified Paths:
osmf/trunk/apps/certification/zeri/FlexUnit4UIListener/flexunit4uilistener-build-config-1 0-1.xml
osmf/trunk/apps/certification/zeri/ZeriCertificationPlayer/zericertificationplayer-build- config-10-1.xml
osmf/trunk/apps/certification/zeri/ZeriCertificationTest/src/ZeriCertificationTest.mxml
osmf/trunk/apps/certification/zeri/ZeriCertificationTest/src/ZeriTests.mxml
osmf/trunk/apps/certification/zeri/ZeriCertificationTest/zericertificationtest-build-conf ig-10-1.xml -
Hi,
I recently installed a new version of NWDS on my workstation. This was an upgrade to Version 7.0.10 For some reason my DC will no longer build successfully since using the 7.0.10 version of NWDS. The error I get is:
/userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,main]] ERROR: /mydc : Build failed for /mydc in variant "default": null
Thanks,
BrianHi All
I facing same problem. Can you help me how to resolve this. I want to convert existing WebDynpro project into NWDI. I followed two ways to achieve it.
1) I followed step by step in this help link
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/42/c8204dd57f136fe10000000a1553f7/frameset.htm">http://help.sap.com/saphelp_nw04s/helpdata/en/42/c8204dd57f136fe10000000a1553f7/frameset.htm</a>.
2) I newly created one DC (WebDynpro) project and there is an option "Import from existing local project" option.
I used both of them still there build problems in my DC. -
Build JSP-structure problem in JspC
Hi,
I am trying to deploy my project and I need to compile JSPs and create WEB-INF directory and web.xml file.
My build environment:
Win 2000
Java 1.4.1
Tomcat 4.0.3
My problem is as follows:
I use an ANT script :
<java classname="org.apache.jasper.JspC" classpath="${jsp.classpath}" fork="yes" failonerror="yes">
<jvmarg value="-Dcatalina.home=${catalina.home}"/>
<arg line="-d ${jsp.path.precompile.src} -uriroot ${jsp.path.webapp} -webxml ${jsp.path.precompile}\web.xml -webapp ${jsp.path.webapp}"/>
</java>
I have an an compile this JSP structure:
-main_folder
- folder_1
- folder_2
- folder_2_1
- folder_3
- folder_3_1
- folder_3_1_1
but every time I start the script, the JSPs are compiled to JAVA in one default package. But I have in some subfolders the same JSPa like in the other folders ("index.jsp, error_page.jsp") and after compiling to JAVA this JSP are lost, because are overwritten from the other ...
In the old Tomcat 3.2 was OK!
I don't know how to tell to the JspC to use the folder structure as a package definition for the JAVA files.
Please help me !!!Tis a defect in the way jasper/ant handles subdirectories in the packages that needs to be resolved. If you have your jsp files in a flat directory, you're fine. If you don't, you'll need this bug resolved: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4750
Please feel free to vote for it. :)
A workaround is to create a separate ant <jspc> task for each directory and subdirectory. -
Hi,
I'm triyng to build a Web Service for WLS6.1SP2, using Ant 1.4.1.
Because our WS project should compile with other Projects, I cannot use WebLogic's
ant and thus 'wsgen' task.
I tried
<taskdef name="wsgen"
classpath="${ANT_HOME}/lib/ant.jar;${WL_HOME}/lib/weblogic.jar;${WL_HOME}/lib/xmlx.jar"
classname="weblogic.ant.taskdefs.ejb.WSGen"/>
.. it doen't work for me.
So, I tried to assemble WS EAR 'manually' (using Ant 1.4.1). It would work OK, if
not one problem: utility-generated WSDL JSP contains a wrong URI to the service.
This URI in the very last line of the JSP contains an unnecessary slash in the end.
For example:
<java classname="weblogic.soap.wsdl.Remote2WSDL" fork="yes"
output="${dir.build.war}/${MYBEAN_JNDI}/wsdl.jsp">
<arg line="mypackage.MyBean webservice/mybeanuri -protocol http"/>
..will generate a JSP with SOAP-address like
<soap:address location="http://<%= request.getServerName() %>:<%= request.getServerPort()
%>/webservice/mybeanuri/"/>
Client obtains a remote interface, but cannot perform any call, because of
java.lang.reflect.UndeclaredThrowableException: java.io.FileNotFoundException: http://myserver.agfa.be:80/webservice/mybeanuri/
Although, if I edit the JSP and remove the last '/' from the path, it works OK.
Is there any workaround to automate the WS EAR generation without using WebLogic's
ant?
thanks,
VitalyHi,
I've just discovered 'replace' task of ANT, which solves my (and possibly someone
else's) problem.
Vitaly
>
Hi,
I'm triyng to build a Web Service for WLS6.1SP2, using Ant 1.4.1.
Because our WS project should compile with other Projects, I cannot use
WebLogic's
ant and thus 'wsgen' task.
I tried
<taskdef name="wsgen"
classpath="${ANT_HOME}/lib/ant.jar;${WL_HOME}/lib/weblogic.jar;${WL_HOME}/lib/xmlx.jar"
classname="weblogic.ant.taskdefs.ejb.WSGen"/>
... it doen't work for me.
So, I tried to assemble WS EAR 'manually' (using Ant 1.4.1). It would work
OK, if
not one problem: utility-generated WSDL JSP contains a wrong URI to the
service.
This URI in the very last line of the JSP contains an unnecessary slash
in the end.
For example:
<java classname="weblogic.soap.wsdl.Remote2WSDL" fork="yes"
output="${dir.build.war}/${MYBEAN_JNDI}/wsdl.jsp">
<arg line="mypackage.MyBean webservice/mybeanuri -protocol http"/>
...will generate a JSP with SOAP-address like
<soap:address location="http://<%= request.getServerName() %>:<%= request.getServerPort()
%>/webservice/mybeanuri/"/>
Client obtains a remote interface, but cannot perform any call, because
of
java.lang.reflect.UndeclaredThrowableException: java.io.FileNotFoundException:
http://myserver.agfa.be:80/webservice/mybeanuri/
Although, if I edit the JSP and remove the last '/' from the path, it works
OK.
Is there any workaround to automate the WS EAR generation without using
WebLogic's
ant?
thanks,
Vitaly -
JSP recompilation problem - losing text fragments
Hi,
I'm working on Oracle JDeveloper 10G and Oracle App Server 10G (9.0.4). Have the same problem on both. The following JSP fragment:
<tr<%= (idx.intValue()%2==0)?" class=bg3":"" %> height="30">
is in a loop where idx is incremented by 1. The page compiles and runs fine initially. If it is changed, then OC4J recompiles it resulting that the even rows print properly
<tr class=bg3 height="30">
but the odd rows instead of printing
<tr height="30">
it only prints
height="30">
i.e. doesn't print the "<tr" and the empty string. If the project is re-build in JDeveloper, that fixes the situation. My problem is that now the same happened on the Oracle App Server deployment, and I cannot force it to compile the JSP properly.
Any suggestions?
Thanks.Well I found out how to get EL to be ignored:
<%@ page contentType="text/html; charset=UTF-8" isELIgnored="true" %>
but output is now
+hello ${name}+
when before it was
hello
*So the tag is receiving the template text, but it's not evaluating the ${name} parameter.*
Reading the J2EE Tutorial, I don't think I'm doing anything wrong - but I obviously am! anyone shed any light, even a suggestion?
I'm using Tomcat 5.5 and servlet 2.4
"When used to specify a fragment attribute, the body of the jsp:attribute element can contain only static text and standard and custom tags; it cannot contain scripting elements"
"JSP fragments can be parametrized via expression language (EL) variables in the JSP code that composes the fragment. _The EL variables are set by the tag handler, thus allowing the handler to customize the fragment each time it is invoked_" -
I have problem when I want to redirect a page, inputparam2test.jsp back to the perious
page, inputparam1test.jsp. Everything works until I
add a "if" statement in the inputparam1test.jsp.
The error is "Error 500--Internal Server Error".
Can anybody help me out? Thanks a lot!
inputparam1test.jsp:
<html>
<head>
<title>create a patameter input form</title>
</head>
<body>
<%!
String dataset;
String modeltype;
%>
<%
dataset = request.getParameter("dataset");
modeltype = request.getParameter("modeltype");
%>
<center>
<form action="inputparam2test.jsp" method="post">
<table cellspacing=10>
<tr>
<td colspan=2>
Please enter model parameters
</td>
</tr>
<tr>
<td>
Dell LRI
</td>
<td>
<select name="DellLRI">
<option value="1">1
<option value="0">0
</select>
</td>
</tr>
<%
if(modeltype.equals("Direct")) {
out.println("in if");
%>
<tr>
<td>
</td>
<td>
<input type="submit" value="Next>" name="Next>">
</td>
</tr>
</form>
</center>
</body>
</html>
inputparam2test.jsp:
<html>
<head>
<title>continue input parameters </title>
</head>
<body>
<%
response.sendRedirect("inputparam1test.jsp");
%>
</body>
</html>
You do not check if the modelType is null and
if(modeltype.equals("Direct")) {
out.println("in if");
will result in a NullPointerException when it is null.
Almond Huang <[email protected]> wrote:
> I have problem when I want to redirect a page, inputparam2test.jsp back to the perious
> page, inputparam1test.jsp. Everything works until I
> add a "if" statement in the inputparam1test.jsp.
> The error is "Error 500--Internal Server Error".
> Can anybody help me out? Thanks a lot!
> inputparam1test.jsp:
> <html>
> <head>
> <title>create a patameter input form</title>
> </head>
> <body>
> <%!
> String dataset;
> String modeltype;
> %>
> <%
> dataset = request.getParameter("dataset");
> modeltype = request.getParameter("modeltype");
> %>
> <center>
> <form action="inputparam2test.jsp" method="post">
> <table cellspacing=10>
> <tr>
> <td colspan=2>
> Please enter model parameters
> </td>
> </tr>
> <tr>
> <td>
> Dell LRI
> </td>
> <td>
> <select name="DellLRI">
> <option value="1">1
> <option value="0">0
> </select>
> </td>
> </tr>
> <%
> if(modeltype.equals("Direct")) {
> out.println("in if");
> }
> %>
> <tr>
> <td>
> </td>
> <td>
> <input type="submit" value="Next>" name="Next>">
> </td>
> </tr>
> </form>
> </center>
> </body>
> </html>
> inputparam2test.jsp:
> <html>
> <head>
> <title>continue input parameters </title>
> </head>
> <body>
> <%
> response.sendRedirect("inputparam1test.jsp");
> %>
> </body>
> </html>
Dimitri
-
XML Forms Builder - problem with checkbox
Hi,
I have created many checkboxes in XML Forms Builder and if I want to create a new document based on this "Form" I have still checked one of checkboxes. I would like to have all empty checkboxes becasue user should check the appropriate checkboxes.
Do you know how to resolve this problem?
Thaks for help!
Regards,
Andrzej TabaraHi,
is it always the same checkbox that is already filled in? Is this ckeckbox based on a metadata-definition?
If yes: You could maybe have a look at the metadata-definition. Is there maybe a default-value defined?
Kind reagrds
Karin
Maybe you are looking for
-
Purchase info record(PIR).
Hi Folks, I have some questions regarding the archiving of purchase info records. 1. what are the functional dependencies that we need to check for before Archiving a PIR. 2.bold I was unable to Archive some Purchase info records even after it is mar
-
Log4j.properties with OAF R12
I am writing OAF R12 components that integrate/extend existing R12 pages. I need to deploy a log4j.properties file for logging. I have a dependent jar file that uses log4j. This file is usually placed on the classpath in WEB-INF/classes for a servlet
-
Since updating to FireFox 29. there are a lot of FaceBook Friend's posted photos are blank now. How do I make them show?
-
MacBook Pro keyboard. Doing the key combination in the Bootcamp manual just maximizes the windows. I had to connect an external PC keyboard to do a print screen. How can I do this from the MacBook Pro keyboard?
-
Fms 5.0 Sound Video Delay
My video chat program on fms 3.5 windows server 2003 run sound when the screen is not delayed, but the program is placed in fms 5.0 window when server64-bit operating system will generate sound and picture 6-15 second delay, how is this problems goin