BluePrint Catalog (Installationproblem)

I've downloaded the BluePrint Catalog and followed the steps in the README.

The last step "running setup.bat" makes me stuk.

As I first tried to start this I get this respond: >>"C:\Program" is not a File or ....<<

So I changed the setup.bat so that the path would be found. (Just adding some " arround the J2EE_HOME)

So... now the setup start. I get the following output:

C:\Documents and Settings\Administrator\Desktop\bpcatalog-1.0.1_02>setup.bat

Buildfile: setup\setup.xml

check:

tools:

create-jdbc-connection-pool-wsidmpt:

[echo] Registering jdbc-connection-pool WSIdmptPool.

check:

tools:

create-jdbc-connection-pool:

[exec] Verwendung: create-jdbc-connection-pool [--terse=false] [--echo=false] [--interactive=true] [--host localhost] [--port 4848|4849] [--secure | -s] [--user admin_user] [--passwordfile file_name] --datasourceclassname classname [--restype res_type] [--steadypoolsize 8] [--maxpoolsize 32]

[--maxwait 60000] [--poolresize 2] [--idletimeout 300] [--isolationlevel isolation_level] [--isisolationguaranteed] [--isconnectvalidatereq=false] [--validationmethod auto-commit] [--validationtable tablename][--failconnection=false] [--allownoncomponentcallers=false] [--nontransactionalconnections=false]

[--description text] [--property (name=value)[:name=value]*] jdbc_connection_pool_id

[exec] CLI019 Ung砽tige Anzahl an Operanden. Die Anzahl der Operanden muss 1 sein.

create-jdbc-resource-wsidmpt:

[echo] Registering jdbc resource jdbc/wsidempotent/MessageHistoryDB

check:

tools:

create-jdbc-resource:

[exec] Verwendung: create-jdbc-resource [--terse=false] [--echo=false] [--interactive=true] [--host localhost] [--port 4848|4849] [--secure | -s] [--user admin_user] [--passwordfile file_name] --connectionpoolid id [--enabled=true] [--description text] [--target target(Default server)] jndi_name

[exec] CLI019 Ung砽tige Anzahl an Operanden. Die Anzahl der Operanden muss 1 sein.

reconfig:

[echo] Reconfiguring server server

[exec] Verwendung: reconfig

[exec] CLI016 Ung砽tige Anzahl an Operanden. Anzahl der Operanden muss 0 oder 1 sein.

init:

assemble-swing-client-signed-war:

[delete] Deleting directory C:\Documents and Settings\Administrator\Desktop\bpcatalog-1.0.1_02\tmp\webstart-client

[mkdir] Created dir: C:\Documents and Settings\Administrator\Desktop\bpcatalog-1.0.1_02\tmp\webstart-client

[unjar] Expanding: C:\Documents and Settings\Administrator\Desktop\bpcatalog-1.0.1_02\apps\webservices\webstart-client.warinto C:\Documents and Settings\Administrator\Desktop\bpcatalog-1.0.1_02\tmp\webstart-client

[mkdir] Created dir: C:\Documents and Settings\Administrator\Desktop\bpcatalog-1.0.1_02\tmp\webstart-client\jws-support

[signjar] Signing JAR: C:\Documents and Settings\Administrator\Desktop\bpcatalog-1.0.1_02\apps\swing-client.jar

BUILD FAILED

C:\Documents and Settings\Administrator\Desktop\bpcatalog-1.0.1_02\setup\setup.xml:319: Execute failed: java.io.IOException: CreateProcess: jarsigner.exe -keystore"C:\Program Files\Java\AppServer\domains

\domain1\config\keystore.jks" -storepass changeit-signedjar "C:\Documents and Settings\Administrator\Desktop\bpcatalog-1.0.1_02\tmp\webstart-client\swing-client-signed.jar" "C:\Documents and Settings\Administrator\Desktop\bpcatalog-1.0.1_02\apps\swing-client.jar" s1as error=2

Total time: 3 seconds

C:\Documents and Settings\Administrator\Desktop\bpcatalog-1.0.1_02>

"Ung砽tige Anzahl an Operanden. Die Anzahl der Operanden muss 1 sein."

means

"Invalid number of operants. The number must be 1."

Does anyone has an idea what goes wrong?

[4281 byte] By [KFleischera] at [2007-10-3 3:27:09]
# 1

Thank you for using bpcatalog.

Instead of editing the setup.bat, could you try the followings?

o add environment variable "J2EE_HOME" pointing to

your app server installation directory.

o copy the updated build.properties under your

home directory.

(check the build.properties once again)

Also, if you don't have a specific requirement in using

J2EE1.4, I'd like to strongly suggest to use JavaEE5 SDK.

yutaa at 2007-7-14 21:20:28 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
I just noticed there's a space in the value, such as"C:\Documents and Settings\Adminis...."If the directory contains WS, you need to put that intodouble quotes.Please check your build.properties.
yutaa at 2007-7-14 21:20:28 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3

Thank you ... Now it seams that the first problem was solved. I changed the property file (Adding double quotes around spaced paths and using "\\" as seperator. (May you can set this as default seperator))

(I don't reset the setuo.bat. This changes were neccessary to start the bat at all, because my J2EE home includes a space.)

Now I get this output:

C:\Documents and Settings\Administrator\Desktop\bpcatalog-1.0.1_02>setup.bat

Buildfile: setup\setup.xml

check:

tools:

create-jdbc-connection-pool-wsidmpt:

[echo] Registering jdbc-connection-pool WSIdmptPool.

check:

tools:

create-jdbc-connection-pool:

[exec] Command create-jdbc-connection-pool executed successfully.

create-jdbc-resource-wsidmpt:

[echo] Registering jdbc resource jdbc/wsidempotent/MessageHistoryDB

check:

tools:

create-jdbc-resource:

[exec] Command create-jdbc-resource executed successfully.

reconfig:

[echo] Reconfiguring server server

init:

assemble-swing-client-signed-war:

[delete] Deleting directory C:\Documents and Settings\Administrator\Desktop\bpcatalog-1.0.1_02\tmp\webstart-client

[mkdir] Created dir: C:\Documents and Settings\Administrator\Desktop\bpcatalog-1.0.1_02\tmp\webstart-client

[unjar] Expanding: C:\Documents and Settings\Administrator\Desktop\bpcatalog-1.0.1_02\apps\webservices\webstart-client.war

into C:\Documents and Settings\Administrator\Desktop\bpcatalog-1.0.1_02\tmp\webstart-client

[mkdir] Created dir: C:\Documents and Settings\Administrator\Desktop\bpcatalog-1.0.1_02\tmp\webstart-client\jws-support

[signjar] Signing JAR: C:\Documents and Settings\Administrator\Desktop\bpcatalog-1.0.1_02\apps\swing-client.jar

BUILD FAILED

C:\Documents and Settings\Administrator\Desktop\bpcatalog-1.0.1_02\setup\setup.xml:319:

Execute failed: java.io.IOException:

CreateProcess: jarsigner.exe -keystore "C:\Program Files\Java\AppServer\domains\domain1\config\keystore.jks"

-storepass changeit -signedjar "C:\Documents and Settings\Administrator\Desktop\bpcatalog-1.0.1_02\tmp\webstart-client\swing-client-signed.jar"

"C:\Documents and Settings\Administrator\Desktop\bpcatalog-1.0.1_02\apps\swing-client.jar" s1as error=2

Total time: 18 seconds

C:\Documents and Settings\Administrator\Desktop\bpcatalog-1.0.1_02>

What can couse that IOException?

KFleischera at 2007-7-14 21:20:28 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...