Re[3]: Can't start Orion 1.5.1

2001-05-27 Thread java

I solved my problem just downloading and installing Sun JDK 1.3.1.
It didn't work with Sun JDK 1.3.0 and 1.2.2 and IBM 1.3.0.
Now both Orion and OSContent run fine.
Thanks to the guys that answered my help request!
Marcello

jmi I'm just trying to start Orion 1.5.1 out of the box without adding a
jmi single byte to the Orion dir.
jmi I'm using Win98, my CLASSPATH is empty and my PATH is just c:\java\ibm13\bin
jmi I never had problems until release 1.4.5
jmi Unfortunately I need at least 1.4.8 to use OSContent.
jmi Thanks for your attention.
jmi Marcello






Re[2]: Can't start Orion 1.5.1

2001-05-25 Thread java

Ciao Arnox!

I'm just trying to start Orion 1.5.1 out of the box without adding a
single byte to the Orion dir.
I'm using Win98, my CLASSPATH is empty and my PATH is just c:\java\ibm13\bin
I never had problems until release 1.4.5
Unfortunately I need at least 1.4.8 to use OSContent.
Thanks for your attention.
Marcello

AG It appears that you still have the old JAXP1.0 XML processor in the
AG classpath.
AG Check program files (win32) or whatever on linux for /Jaxp1.0.1.
AG In particular, the old parser.jar and jaxp.jar. Once you take those
AG out of the classpath, orion should start fine.

AG If you're actually parsing XML in your web app, then take a look at
AG what has changed at: http://java.sun.com/xml/jaxp-1.1/readme.html
AG Hope this helps.
AG -arnox

AG -Original Message-
AG From: [EMAIL PROTECTED]
AG [mailto:[EMAIL PROTECTED]]On Behalf Of
AG [EMAIL PROTECTED]
AG Sent: Thursday, May 24, 2001 5:20 PM
AG To: Orion-Interest
AG Subject: Can't start Orion 1.5.1


AG Hello,
AG I downloaded Orion 1.4.5 and it works fine out of the box.
AG Then I autoupdated it to 1.5.1 but it throws the following exception.
AG I tried both updating the configuration files (answering all 'y') and
AG not doing it (answering all 'n').
AG Also tried with Sun's SDK 1.2.2 and IBM's 1.3.0.
AG Any suggestion ?
AG Thanks for your attention.
AG Marcello

AG java.lang.NoSuchMethodError: org.xml.sax.Attributes: method
AG getQName(I)Ljava/lang/String; not found
AG at
AG org.apache.crimson.tree.AttributeSet.init(AttributeSet.java:139)
AG at
AG org.apache.crimson.tree.XmlDocumentBuilder.startElement(XmlDocumentBuilder.j
AG ava:463)
AG at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1449)
AG at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:499)
AG at org.apache.crimson.parser.Parser2.parse(Parser2.java:304)
AG at
AG org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
AG at
AG org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:1
AG 79)
AG at com.evermind._ug.getJavaxDocument(Unknown Source)
AG at com.evermind.xml.XMLUtils.getDocument(Unknown Source)
AG at com.evermind.xml.XMLConfig._qh(Unknown Source)
AG at com.evermind.xml.XMLConfig._qh(Unknown Source)
AG at com.evermind._iy.run(Unknown Source)
AG at java.lang.Thread.run(Thread.java:498)
AG at com.evermind._ip.run(Unknown Source)









-- 
Best regards,
 javamailto:[EMAIL PROTECTED]






Can't start Orion 1.5.1

2001-05-24 Thread java

Hello,
I downloaded Orion 1.4.5 and it works fine out of the box.
Then I autoupdated it to 1.5.1 but it throws the following exception.
I tried both updating the configuration files (answering all 'y') and
not doing it (answering all 'n').
Also tried with Sun's SDK 1.2.2 and IBM's 1.3.0.
Any suggestion ?
Thanks for your attention.
Marcello

java.lang.NoSuchMethodError: org.xml.sax.Attributes: method 
getQName(I)Ljava/lang/String; not found
at org.apache.crimson.tree.AttributeSet.init(AttributeSet.java:139)
at 
org.apache.crimson.tree.XmlDocumentBuilder.startElement(XmlDocumentBuilder.java:463)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1449)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:499)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:304)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
at 
org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:179)
at com.evermind._ug.getJavaxDocument(Unknown Source)
at com.evermind.xml.XMLUtils.getDocument(Unknown Source)
at com.evermind.xml.XMLConfig._qh(Unknown Source)
at com.evermind.xml.XMLConfig._qh(Unknown Source)
at com.evermind._iy.run(Unknown Source)
at java.lang.Thread.run(Thread.java:498)
at com.evermind._ip.run(Unknown Source)






RE: java.lang.SecurityException when attempting to run ejb sample app

2000-06-21 Thread Dan Malks - Java Design Center McLean VA

I had suspected the same thing, but could not find any problem with the
principal file.  Do you see anything suspicious?

?xml version="1.0"?
!DOCTYPE principals PUBLIC "//Evermind - Orion Principals//"
"http://www.orionserver.com/dtds/principals.dtd"

principals
groups
group name="users"
descriptionusers/description
permission name="rmi:login" /
permission
name="com.evermind.server.rmi.RMIPermission" /
/group
group name="guests"
descriptionguests/description
/group
group name="administrators"
descriptionadministrators/description
permission name="administration" /
permission
name="com.evermind.server.AdministrationPermission" /
/group
/groups
users
user username="user" password="456" deactivated="true"
descriptionThe default user/description
group-membership group="users" /
group-membership group="guests" /
/user
user username="anonymous" password=""
descriptionThe default guest/anonyomous
user/description
group-membership group="guests" /
/user
user username="admin" password="admin"
descriptionThe default
administrator/description
group-membership group="users" /
    group-membership group="guests" /
group-membership group="administrators" /
/user
/users
/principals


Thanks,
-dm

Dan Malks   Enterprise Java Architect
Sun Java Center 703.208.5794 

On Wed, 21 Jun 2000, Arved Sandstrom wrote:

 I just reran the cart and product demos, and both did just fine, with the
 following command lines and results:
 
 D:\orion\demo\ejb\cartjava -classpath
 ../../../orion.jar;../../../ejb.jar;../..
 /../jndi.jar;. CartClient
 Item not found in cart: Oranges
 
 D:\orion\demo\ejb\cartcd ..\product
 
 D:\orion\demo\ejb\productjava -classpath
 ../../../orion.jar;../../../ejb.jar;..
 /../../jndi.jar;. ProductClient
 Enter the id (integer) of the product you want to add: 1
 Enter the name for item 1: Gravy
 Enter the cost for Gravy: 2.15
 Product added
 
 So I suspect your /orion/config/principals.xml file; is the "admin" user
 deactivated? Because the "jndi.properties" file for both examples specifies
 the "admin" user.
 
 Arved Sandstrom
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Dan Malks -
 Java Design Center McLean VA
 Sent: Tuesday, June 20, 2000 5:14 PM
 To: Orion-Interest
 Subject: java.lang.SecurityException when attempting to run ejb sample
 app
 
 
 Any thoughts appreciated on the following problem. thnx. -dm
 
 
 E:\java\orion\demo\ejb\productls
 META-INF  ProductEJB.class  ProductServlet.java
 Product.class ProductEJB.java   jndi.properties
 Product.java  ProductHome.class orion-product.jar
 ProductClient.class   ProductHome.java  product.skeleton
 ProductClient.javaProductServlet.class
 
 
 E:\java\orion\demo\ejb\producte:\java\jdk1.2.2\bin\java -classpath
 ../../../ori
 on.jar;../../../ejb.jar;../../jndi.jar;. ProductClient
 Exception in thread "main" java.lang.SecurityException: Invalid
 username/passwor
 d for ejbsamples (admin)
 at com.evermind.server.rmi.a8.fd(JAX)
 at com.evermind.server.rmi.a8.fd(JAX)
 at com.evermind.server.rmi.a8.ez(JAX)
 at com.evermind.server.rmi.RMIServer.ez(JAX, Compiled Code)
 at com.evermind.server.rmi.RMIContext.lookup(JAX)
 at com.evermind.server.Application.ajt(JAX, Compiled Code)
 at
 com.evermind.server.ApplicationClientInitialContextFactory.getInitial
 Context(JAX, Compiled Code)
 at
 javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
 72)
 at
 javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:250
 )
 at javax.naming.InitialContext.init(InitialContext.java:226)
 at javax.naming.InitialContext.init(InitialContext.java:182)
 at ProductClient.main(ProductClient.java:18)
 
 Dan MalksSun Java Center
 Enterprise Java Architect703.208.5794
 
 
 
 





java.lang.SecurityException when attempting to run ejb sample app

2000-06-20 Thread Dan Malks - Java Design Center McLean VA

Any thoughts appreciated on the following problem. thnx. -dm


E:\java\orion\demo\ejb\productls
META-INF  ProductEJB.class  ProductServlet.java
Product.class ProductEJB.java   jndi.properties
Product.java  ProductHome.class orion-product.jar
ProductClient.class   ProductHome.java  product.skeleton
ProductClient.javaProductServlet.class


E:\java\orion\demo\ejb\producte:\java\jdk1.2.2\bin\java -classpath ../../../ori
on.jar;../../../ejb.jar;../../jndi.jar;. ProductClient
Exception in thread "main" java.lang.SecurityException: Invalid username/passwor
d for ejbsamples (admin)
at com.evermind.server.rmi.a8.fd(JAX)
at com.evermind.server.rmi.a8.fd(JAX)
at com.evermind.server.rmi.a8.ez(JAX)
at com.evermind.server.rmi.RMIServer.ez(JAX, Compiled Code)
at com.evermind.server.rmi.RMIContext.lookup(JAX)
at com.evermind.server.Application.ajt(JAX, Compiled Code)
at com.evermind.server.ApplicationClientInitialContextFactory.getInitial
Context(JAX, Compiled Code)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
72)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:250
)
at javax.naming.InitialContext.init(InitialContext.java:226)
at javax.naming.InitialContext.init(InitialContext.java:182)
at ProductClient.main(ProductClient.java:18)

Dan Malks    Sun Java Center
Enterprise Java Architect703.208.5794