473,378 Members | 1,393 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

XML extension to Trac/java


I am creating an extension in java for my style sheet.
I want to return a series of nodes containing dynamic data from an extension
function.

At the top of the style sheet I have

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:java="http://xml.apache.org/xalan/java" version="1.0"
exclude-result-prefixes="java">
<xsl:output method="html" encoding="iso-8859-1"/>
and call a static function as follows.

<xsl:variable name="test" select="java:TestClass2.TestFunc($items)"/>

Now this works fine. but as soon as I place the class in a package structure
ie softgame.fastcars.TestClass2, the Transform says

[09/Feb/2004:14:28:58] info (25366): vs(https-testportal)servlet 'MmsPortal'
class = 'com.mig.mmsportal.MmsPortal' load
d in context = '/'
[09/Feb/2004:14:28:58] info (25366): MmsPortal: init
[09/Feb/2004:14:29:25] failure (25366): Internal error: servlet service
function had thrown ServletException (uri=/msn)
javax.servlet.ServletException: javax.xml.transform.TransformerException:
javax.xml.transform.TransformerException: ja
a.lang.ClassNotFoundException: softgame.fastcars, stack:
javax.servlet.ServletException: javax.xml.transform.Transforme
Exception: javax.xml.transform.TransformerException:
java.lang.ClassNotFoundException: softgame.fastcars
at com.mig.mmsportal.MmsPortal.service(MmsPortal.java :176)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
at
com.iplanet.server.http.servlet.NSServletRunner.in vokeServletService(NSServl
etRunner.java:919)
at
com.iplanet.server.http.servlet.WebApplication.ser vice(WebApplication.java:1
061)
at
com.iplanet.server.http.servlet.NSServletRunner.Se rviceWebApp(NSServletRunne
r.java:981)
, root cause:
What am I doing wrong ?

[09/Feb/2004:14:38:08] info (25366): Shutdown (): running destroy methods on
all active servlets ...



Jul 20 '05 #1
0 2399

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: erwan | last post by:
It seesm impossible to use the java extension on Mac OS X due to the 'special' file locations of the Java JDK in OS X... am I right ? if not, where can I get some good info or feedback on it ? I...
1
by: Roberts | last post by:
Hi, I managed to get the Java extension working on php 4.3.10 after following various bits of advice from http://www.thelinuxpimp.com/main/modules.php?op=modload&name=News&file=article&sid=419...
1
by: Fisch von Gestern | last post by:
I have tried to run the extension function/element examples provided with the Xalan-J download. I believe that my classpath is correct, and that my versions are up-to-date. However, I can't get...
0
by: Eric | last post by:
Hey guys, Has anyone seen this error when installing trac? The problem seems related to pyPgSQL, which is installed. (Although I had to go in and add some headers to make it work) Templates...
158
by: Giovanni Bajo | last post by:
Hello, I just read this mail by Brett Cannon: http://mail.python.org/pipermail/python-dev/2006-October/069139.html where the "PSF infrastracture committee", after weeks of evaluation, recommends...
0
by: Martijn de Munnik | last post by:
Hi, I'm trying to build/install pysqlite on a Solaris 10 platform. I've got Sun Studio 11 on a AMD 64 platform and got this error. I'm a python newbie and just want to install trac. I've got...
2
by: howa | last post by:
Anyone has recommendation for Project / Code Management beside Trac (http://trac.edgewall.org/)? Currently I am using mantis but of course its features is just a subset of Trac provided. But...
1
Ganesh9u
by: Ganesh9u | last post by:
Hi All, import org.sf.feeling.swt.win32.extension.hook.Hook; import org.sf.feeling.swt.win32.extension.hook.data.HookData; import org.sf.feeling.swt.win32.extension.hook.data.MouseHookData; ...
1
ssnaik84
by: ssnaik84 | last post by:
Hello, I'm trying to configure VisualSVN server with Trac. I'm following these instructions. Everything is installed perfectly. But, while starting Tracd server, I'm getting error: Cannot...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.