Scott M Stark wrote:

This works fine for me with 1.4.1_03 and 1.4.2.

JBoss Bootstrap Environment
JBOSS_HOME: /home/jboss/jboss-3.2.2RC2
JAVA: /usr/java/j2sdk1.4.2/bin/java
JAVA_OPTS: -server -Dprogram.name=run.sh
...
20:39:17,795 INFO [Server] Starting JBoss (MX MicroKernel)...
20:39:17,797 INFO [Server] Release ID: JBoss [WonderLand] 3.2.2RC2 (build: CVSTag=JBoss_3_2_2_RC2 date=200307231513)
...
20:39:28,785 INFO [MainDeployer] Starting deployment of package: file:/home/jboss/jboss-3.2.2RC2/server/nukes/deploy/jce.sar/
20:39:29,255 INFO [STDOUT] TestJCE.started, [EMAIL PROTECTED]
20:39:29,266 INFO [MainDeployer] Deployed package: file:/home/jboss/jboss-3.2.2RC2/server/nukes/deploy/jce.sar/


[EMAIL PROTECTED] deploy]$ cat jce.sar/TestJCE.java
import javax.crypto.*;

public class TestJCE implements TestJCEMBean
{

public void start() throws Exception
{
Cipher cipher = null;
try
{
cipher = Cipher.getInstance("DES/ECB/PKCS5Padding");
}
catch (NoClassDefFoundError e)
{
e.printStackTrace();
}
System.out.println("TestJCE.started, cipher="+cipher);
}
public void stop() throws Exception
{
System.out.println("TestJCE.stopped");
}
}


Thanks, Scott
You were right, it does indeed work. I was just having a file permissions issue.
-Keene



-----------------------------------------
The information contained in this message may be privileged, confidential, and protected from disclosure. If the reader of this message is not the intended recipient, or any employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer.


Thank you. Paychex, Inc.



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to