RE: Tomcat 5.0.24 can't see third party packages?!

2004-06-03 Thread Nadia Kunkov
val = new ParameterFieldDiscreteValue();
// set report end date value
if (rptMonth == null) {
val.setValue(null);
} else {
val.setValue(rptMonth.getTime());
}
// get report end date parameter
field_old = (ParameterField)param_collection.getField(1);
// clone a parameter field
field_new = (ParameterField)field_old.clone(true);
// add a current value
field_new.getCurrentValues().add(val);
// replace old parameter with new one

rptDoc.getDataDefController().getParameterFieldController().modify(field_old, 
field_new);

// save the exported pdf file to the file asset
faName.setFileName(pdfName);
faName.setContentType(application/pdf);
InputStream istr = 
rptDoc.getPrintOutputController().export(ReportExportFormat.PDF);
faName.setLength(istr.available());
faName.setData(istr);
success = faName.update(theUser);
if (!success) {
message += Failed to update file asset.  + 
Data.makeJSAlert(faName.getExceptionString());
}

}
catch (Exception e) {
message += Failed on opening and creating report.  + 
Data.makeJSAlert(e.toString());
success = false;
}
} // end if report name
} else {  // end CR creation
message += No asset ID to run.;
success = false;
}
} else {
message += User does not have update access.;
success = false;
}

ras = null;

if (success) {
response.sendRedirect(containerAssetDualList.jsp?fpContainerID= + fpContainerID);
return;
}

%
html 
head
titleCTCMS - Run Report/title

link href=css/sitestyle.css rel=stylesheet type=text/css
/head
body
p class=header2Run Report/p
p
% if (listing.length()  0 ) { %
FORM METHOD=post NAME=frmAction
INPUT TYPE=hidden NAME=fpContainerID 
VALUE=%=request.getParameter(fpContainerID)%
INPUT TYPE=hidden NAME=fpAssetID VALUE=%=request.getParameter(fpAssetID)%
INPUT TYPE=hidden NAME=fpReturnTo VALUE=fileEdit.jsp
table
tr
td colspan=1nbsp;/td
/tr
%=listing.toString()%
tr
td colspan=1nbsp;/td
/tr
/TABLE
/FORM
% } else { %
p class=errorlabelError: %=message%/p
% } %
/p

/body
/html

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 02, 2004 12:58 PM
To: Tomcat Users List
Subject: RE: Tomcat 5.0.24 can't see third party packages?!



Hi,
Can you post your JSP?

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Nadia Kunkov [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 02, 2004 12:02 PM
To: Tomcat help (E-mail)
Subject: Tomcat 5.0.24 can't see third party packages?!

I have posted this before and got some pointers but still it didn't
help.
I narrowed the problem down and it is reflected in the new subject.
I run Tomcat5.0.24 on Fedora Core 1.  I have a jsp site that works
without
a problem on a Red Hat 9 box with Tomcat 4, but when I ran it on Fedora
and
Tomcat 5.0.24 I get the following error:

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: -1 in the jsp file: null

Generated servlet error:
[javac] Compiling 1 source file

/var/tomcat5/work/Catalina/localhost/WebTest/org/apache/jsp/someJsp_jsp
.jav
a:15: package com.crystaldecisions.sdk.occa.report does not exist
import com.crystaldecisions.sdk.occa.report.*;
^
1 error

I have about 5 jar files containing
com.crystaldecisions.sdk.occa.report.*
in  /var/tomcat5/webapps/WebTest/WEB-INF/lib
I have all other jsp working all of them reference packages that are
defined locally.
com.crystaldecisions.sdk.occa.report.*  is a third party package and
that
is what kills my app. I have seen a posting with the same exact
question
but there were no responses.

I would appreciate any help.
Thanks in advance
N.K.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED

Re: Tomcat 5.0.24 can't see third party packages?!

2004-06-03 Thread QM
On Thu, Jun 03, 2004 at 09:10:48AM -0400, Nadia Kunkov wrote:
: Here it is.  It breaks on the import statment in Tomcat 5.0.24 and Fedora but
: runs fine in Tomcat 4 and Red Hat.  Same exact setup.

I have a wild guess, so take that for what it's worth -- assuming the
files and dir structures are the same between the two machines, what
happens if you:

1/  rearrange or split the import list?

2/  remove the offending line?  (i.e. are there classes in the
occa.report package, or does it just have other
subpackages?)

-QM


-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 5.0.24 can't see third party packages!

2004-06-02 Thread Benjamin Armintor
What happens if you deploy this app as a WAR file? If that works, it
probably indicates that your jar files are misplaced.

Benjamin J. Armintor
Systems Analyst
ITS-Systems: Mainframe Group
University of Texas - Austin
tele: (512) 232-6562
email: [EMAIL PROTECTED]
 


-Original Message-
From: Nadia Kunkov [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 02, 2004 9:33 AM
To: Tomcat help (E-mail)
Subject: Tomcat 5.0.24 can't see third party packages! 


I have posted this before and got some pointers but still it didn't
help.  I narrowed the problem down and it is reflected in the new
subject. I run Tomcat5.0.24 on Fedora Core 1.  I have a jsp site that
works without a problem on a Red Hat 9 box with Tomcat 4, but when I ran
it on Fedora and Tomcat 5.0.24 I get the following error:

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: -1 in the jsp file: null

Generated servlet error:
[javac] Compiling 1 source file

/var/tomcat5/work/Catalina/localhost/WebTest/org/apache/jsp/someJsp_jsp.
java:15: package com.crystaldecisions.sdk.occa.report does not exist
import com.crystaldecisions.sdk.occa.report.*;
^
1 error

I have about 5 jar files containing
com.crystaldecisions.sdk.occa.report.* in
/var/tomcat5/webapps/WebTest/WEB-INF/lib 
I have all other jsp working all of them reference packages that are
defined locally. 
com.crystaldecisions.sdk.occa.report.*  is a third party package and
that is what kills my app. I have seen a posting with the same exact
question but there were no responses.

I would appreciate any help.
Thanks in advance
N.K.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 5.0.24 can't see third party packages?!

2004-06-02 Thread Shapira, Yoav

Hi,
Can you post your JSP?

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Nadia Kunkov [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 02, 2004 12:02 PM
To: Tomcat help (E-mail)
Subject: Tomcat 5.0.24 can't see third party packages?!

I have posted this before and got some pointers but still it didn't
help.
I narrowed the problem down and it is reflected in the new subject.
I run Tomcat5.0.24 on Fedora Core 1.  I have a jsp site that works
without
a problem on a Red Hat 9 box with Tomcat 4, but when I ran it on Fedora
and
Tomcat 5.0.24 I get the following error:

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: -1 in the jsp file: null

Generated servlet error:
[javac] Compiling 1 source file

/var/tomcat5/work/Catalina/localhost/WebTest/org/apache/jsp/someJsp_jsp
.jav
a:15: package com.crystaldecisions.sdk.occa.report does not exist
import com.crystaldecisions.sdk.occa.report.*;
^
1 error

I have about 5 jar files containing
com.crystaldecisions.sdk.occa.report.*
in  /var/tomcat5/webapps/WebTest/WEB-INF/lib
I have all other jsp working all of them reference packages that are
defined locally.
com.crystaldecisions.sdk.occa.report.*  is a third party package and
that
is what kills my app. I have seen a posting with the same exact
question
but there were no responses.

I would appreciate any help.
Thanks in advance
N.K.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]