|
I found some ERROR when create examples table on postgresql,but
another (i.e. hypersonicsql ) would not happened. I guess it maybe errors
on database-schemas.I append the file and error messages,hope u can find out
where the errors is^^thanks
Edwin datasource-schema.xml like below:
<data-source
name="Default data-source" class="com.evermind.sql.ConnectionDataSource" location="jdbc/DefaultDS" pooled-location="jdbc/DefaultPooledDS" xa-location="jdbc/xa/DefaultXADS" ejb-location="jdbc/DefaultEJBDS" url="jdbc:postgresql://T1.mycompany.com:1234/mydb" connection-driver="org.postgresql.Driver" username="edwin" password="edwin" schema="database-schemas/postgresql.xml" /> C:\orion>java -jar orion.jar
Auto-deploying product... SQL error: ERROR: parser: parse error at or near ")" Auto-creating table: create table MyProduct (id integer not null primary key, na me char(255) null, description char(255) null, price float null) Warning: Error creating table: ERROR: Relation 'myproduct' already exists Error compiling file:/C:/orion/demo/ejb/product/: Error
instantiating compiler:
Javac not installed, copy tools.jar from your sun JDK dir's lib dir to the orion dir or add a <library path="the/path/to/tools.jar" /> and restart Auto-deploying cart... Error compiling file:/C:/orion/demo/ejb/cart/: Error inst antiating compiler: Javac not installed, copy tools.jar from your sun JDK dir's lib dir to the orion dir or add a <library path="the/path/to/tools.jar" /> and r estart Auto-deploying usermanager... SQL error: ERROR: parser: parse error at or near ")" Auto-creating table: create table com_evermind_ejb_EJBUser (username_ char(255) not null primary key, password_ char(255) null, description char(255) null, loca le varchar (5) null, certificateIssuerDN char(255) null, certificateSerial varch ar (100) null) Warning: Error creating table: ERROR: Relation 'com_evermind_ejb_ejbuser' alrea dy exists Auto-creating table: create table com_evermind_ejb_EJBUser_groups (value char(25 5) not null, username_ char(255) not null, primary key (value, username_)) Warning: Error creating table: ERROR: Relation 'com_evermind_ejb_ejbuser_groups ' already exists Error compiling file:/C:/orion/demo/ejb/usermanager/: Error
instantiating compil
er: Javac not installed, copy tools.jar from your sun JDK dir's lib dir to the o rion dir or add a <library path="the/path/to/tools.jar" /> and restart Auto-deploying product... Error instantiating application 'ejbsamples' at file:/ C:/orion/demo/ejb/: Error auto-deploying application-client at product: No locat ion specified and no suitable instance of the type 'Product' found for the ejb-r ef MyProduct Auto-deploying C:\orion\default-web-app... Orion/1.0.3 initialized |
