Igor,

Still not working. Please see enclosed Manifest and POM file.

Thanks,
Brice
 

-----Original Message-----
From: Igor Drobiazko [mailto:igor.drobia...@gmail.com] 
Sent: Friday, February 20, 2009 1:21 PM
To: Tapestry users
Subject: Re: [T5-OSGi] Javassist

First of all you need the version 3.9.0.ga.
It looks like your Tapestry bundle cannot resolve import of javassist
packages. Without any look at your Manifest it is almost impossible to
give
you any advice.

On Fri, Feb 20, 2009 at 6:33 PM, Robert, Brice <
brice.rob...@alliancebernstein.com> wrote:

> Hi,
>
> I was able to run T5 under SpringSource DM Server but I am running
into
> problems.
> I just wanted to know if someone has gone further than where I am.
>
> The stack trace is below
>
> [2009-02-20 12:13:22.578] server-tomcat-thread-25
> apestry5.services.TapestryModule.RequestExceptionHandler.unknown E
> Processing of request failed with uncaught exception:
> javassist/runtime/Desc
> java.lang.NoClassDefFoundError: javassist/runtime/Desc
>        at
>
org.apache.tapestry5.corelib.components.Grid._$environment_read_formSupp
> ort(Grid.java)
>
> I use the javassist bundle provided by SpringSource
>
http://www.springsource.com/repository/app/bundle/version/detail?name=co
>
m.springsource.javassist&version=3.3.0.ga&searchType=bundlesByName&searc
> hQuery=javassist
>
> Thanks,
> Brice
>
>
------------------------------------------------------------------------
-----------
> The information contained in the linked e-mail transmission and any
> attachments may be privileged and confidential and is intended only
for
> the use of the person(s) named in the linked e-mail transmission. If
you
> are not the intended recipient, or an employee or agent responsible
for
> delivering this message to the intended recipient, you should not
> review, disseminate, distribute or duplicate this e-mail transmission
or
> any attachments. If you are not the intended recipient, please contact
> the sender immediately by reply e-mail and destroy all copies of the
> original message. We do not accept account orders and/or instructions
> related to AllianceBernstein products or services by e-mail, and
> therefore will not be responsible for carrying out such orders and/or
> instructions. The linked e-mail transmission and any attachments are
> provided for informational purposes only and should not be construed
in
> any manner as any solicitation or offer to buy or sell any investment
> opportunities or any related financial instruments and should not be
> construed in any manner as a public offer of any investment
> opportunities or any related financial instruments.  If you, as the
> intended recipient of the linked e-mail transmission, the purpose of
> which is to inform and update our clients, prospects and consultants
of
> developments relating to our services and products, would not like to
> receive further e-mail correspondence from the sender, please "reply"
> to the sender indicating your wishes.  Although we attempt to sweep
> e-mail and attachments for viruses, we will not be liable for any
> damages arising from the alteration of the contents of this linked
e-mail
> transmission and any attachments by a third party or as a result of
any
> virus being passed on. Please note: Trading instructions sent
> electronically to Bernstein shall not be deemed accepted until a
> representative of Bernstein acknowledges receipt electronically or by
> telephone. Comments in the linked e-mail transmission and any
> attachments are part of a larger body of investment analysis. For our
> research reports, which contain information that may be used to
> support investment decisions, and disclosures, see our website at
> www.bernsteinresearch.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
Best regards,

Igor Drobiazko
-----------------------------------------------------------------------------------
The information contained in the linked e-mail transmission and any
attachments may be privileged and confidential and is intended only for
the use of the person(s) named in the linked e-mail transmission. If you
are not the intended recipient, or an employee or agent responsible for
delivering this message to the intended recipient, you should not
review, disseminate, distribute or duplicate this e-mail transmission or
any attachments. If you are not the intended recipient, please contact
the sender immediately by reply e-mail and destroy all copies of the 
original message. We do not accept account orders and/or instructions
related to AllianceBernstein products or services by e-mail, and
therefore will not be responsible for carrying out such orders and/or
instructions. The linked e-mail transmission and any attachments are
provided for informational purposes only and should not be construed in
any manner as any solicitation or offer to buy or sell any investment
opportunities or any related financial instruments and should not be
construed in any manner as a public offer of any investment
opportunities or any related financial instruments.  If you, as the
intended recipient of the linked e-mail transmission, the purpose of
which is to inform and update our clients, prospects and consultants of
developments relating to our services and products, would not like to
receive further e-mail correspondence from the sender, please "reply"
to the sender indicating your wishes.  Although we attempt to sweep 
e-mail and attachments for viruses, we will not be liable for any
damages arising from the alteration of the contents of this linked e-mail
transmission and any attachments by a third party or as a result of any
virus being passed on. Please note: Trading instructions sent
electronically to Bernstein shall not be deemed accepted until a
representative of Bernstein acknowledges receipt electronically or by
telephone. Comments in the linked e-mail transmission and any
attachments are part of a larger body of investment analysis. For our
research reports, which contain information that may be used to
support investment decisions, and disclosures, see our website at
www.bernsteinresearch.com.
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";>
	<modelVersion>4.0.0</modelVersion>
	<groupId>org.apache</groupId>
	<artifactId>com.tsena.org.apache.tapestry5-core</artifactId>
	<packaging>bundle</packaging>
	<name>Tapestry Core Bundle</name>
	<version>5.0.18</version>
	<url>http://tapestry.apache.org/tapestry5/tapestry-core/</url>
	<dependencies>
		<dependency>
			<groupId>org.apache.tapestry</groupId>
			<artifactId>tapestry-core</artifactId>
			<version>${pom.version}</version>
			<exclusions>
				<exclusion>
					<groupId>javassist</groupId>
					<artifactId>javassist</artifactId>
				</exclusion>
				<exclusion>
					<groupId>org.slf4j</groupId>
					<artifactId>slf4j-api</artifactId>
				</exclusion>
				<exclusion>
					<groupId>org.slf4j</groupId>
					<artifactId>slf4j-log4j12</artifactId>
				</exclusion>
				<exclusion>
					<groupId>log4j</groupId>
					<artifactId>log4j</artifactId>
				</exclusion>
				<exclusion>
					<groupId>commons-codec</groupId>
					<artifactId>commons-codec</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
	</dependencies>

	<!-- for packaging as an OSGi bundle, we use the maven-bundle-plugin -->
	<!--
		see http://felix.apache.org/site/maven-bundle-plugin-bnd.html for more
		info
	-->
	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.felix</groupId>
				<artifactId>maven-bundle-plugin</artifactId>
				<extensions>true</extensions>
				<version>1.4.0</version>
				<configuration>
					<instructions>
						<Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
						<Bundle-Version>${pom.version}</Bundle-Version>
						<Export-Package>
							!org.apache.tapestry5.datepicker_106.*,
							!org.apache.tapestry5.scriptaculous_1_8_1.*,
							org.apache.tapestry5.beaneditor.*,
							org.apache.tapestry5.ioc.annotations.*, 
							org.apache.tapestry5.* 
						</Export-Package>
						<Private-Package> 
							org.apache.tapestry5.datepicker_106.*,
							org.apache.tapestry5.scriptaculous_1_8_1.*
						</Private-Package>
						<Import-Package>
							javassist,
							javassist.bytecode,
							javassist.expr,
							javassist.runtime,
							javax.servlet,
							javax.servlet.http,
							org.apache.commons.codec.binary,
							org.easymock,org.slf4j;version="1.5",
							org.testng,
							org.testng.annotations, 
							org.xml.sax, 
							org.xml.sax.ext,
							org.xml.sax.helpers 
						</Import-Package>
						<Import-Bundle>com.springsource.javassist;version="3.9.0.GA"</Import-Bundle>
					</instructions>
				</configuration>
			</plugin>

			<!-- generate manifest automatically once the classes are processed -->
			<plugin>
				<groupId>org.apache.felix</groupId>
				<artifactId>maven-bundle-plugin</artifactId>
				<executions>
					<execution>
						<id>bundle-manifest</id>
						<phase>process-classes</phase>
						<goals>
							<goal>manifest</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to