You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "hongkunan (JIRA)" <je...@portals.apache.org> on 2009/07/24 12:21:14 UTC

[jira] Created: (JS2-1047) install jetspeed-installer-demo-2.2.0.jar database user oracle9i error

install jetspeed-installer-demo-2.2.0.jar  database user oracle9i error
-----------------------------------------------------------------------

                 Key: JS2-1047
                 URL: https://issues.apache.org/jira/browse/JS2-1047
             Project: Jetspeed 2
          Issue Type: Bug
          Components: Other
    Affects Versions: 2.2.0
         Environment: os:windows xp
jdk:1.5
database:oracle9i
install jetspeed-installer-demo-2.2.0.jar
            Reporter: hongkunan


when i install install jetspeed-installer-demo-2.2.0.jar use up env is error(database is oracle),
but i install it database use derby is success!
why?


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Commented: (JS2-1047) install jetspeed-installer-demo-2.2.0.jar database user oracle9i is error! why?

Posted by "hongkunan (JIRA)" <je...@portals.apache.org>.
    [ https://issues.apache.org/jira/browse/JS2-1047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737394#action_12737394 ] 

hongkunan commented on JS2-1047:
--------------------------------

Hi Woonsan

Thanks a lot your answer!

Can you give me some detail document about jetspeed2.2.x cluster??
I try it cluster in tomcat6.0.18, but i try login it is failuer, i found a few document about cluster, Joachim Müller give me a email,that's follow:


from:
"Joachim Müller" <jo...@wemove.com>
to:
jones_ahk@yahoo.com.cn, "Jetspeed Users List" <je...@portals.apache.org>
Hi Jones Ahk,

Can you please post your requests in the mailing lists rather than
commenting an issue that is already resolved? Thx.

> where have jetspeed2.2 cluster detail's document??
>
> who can give me a document? thanks!

There is no special cluster documentation as far as I know but
Jetspeed2.2 is cluster-ready. A few points to mention:

- You have to use the database page manager (PSML, prefererences,
security constraints)

- You can set up distributed caching (see ehcache configuration in
jetspeed.properties)

- consider to use the VersionedPortletApplicationManager to avoid
conflicts during PA synchronization to the database from different nodes

Regards,
Joachim

> install jetspeed-installer-demo-2.2.0.jar  database user oracle9i is error! why?
> --------------------------------------------------------------------------------
>
>                 Key: JS2-1047
>                 URL: https://issues.apache.org/jira/browse/JS2-1047
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 2.2.0
>         Environment: os:windows xp
> jdk:1.5
> database:oracle9i
> install jetspeed-installer-demo-2.2.0.jar
>            Reporter: hongkunan
>            Assignee: Woonsan Ko
>             Fix For: 2.2.1
>
>
> when i install install jetspeed-installer-demo-2.2.0.jar use up env is error(database use oracle9i),
> but i install it database use derby is success!
> why?
> Error Message:
> Install failed
> Error running the install,The following error occurred while executing this line:
> e:\Apache\Jetspeed-2.2\database\bulid.xml:126;Source file does not exist!
> the 126 line in build.xml content is:
> 	<sql driver="${_jdbc.driver.class}" url="${_jdbc.url}" userid="${_db.username}" password="${_db.password}" src="${basedir}/${db.type}/drop-schema.sql" autocommit="true" onerror="continue" print="no" output="setup.log">

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Commented: (JS2-1047) install jetspeed-installer-demo-2.2.0.jar database user oracle9i is error! why?

Posted by "Woonsan Ko (JIRA)" <je...@portals.apache.org>.
    [ https://issues.apache.org/jira/browse/JS2-1047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737482#action_12737482 ] 

Woonsan Ko commented on JS2-1047:
---------------------------------

Hi Jones Ahk, 

I don't have any good documentation for cluster configuration. 
I think you could start with the valuable comments from Joachim Müller.

Regards, Woonsan

> install jetspeed-installer-demo-2.2.0.jar  database user oracle9i is error! why?
> --------------------------------------------------------------------------------
>
>                 Key: JS2-1047
>                 URL: https://issues.apache.org/jira/browse/JS2-1047
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 2.2.0
>         Environment: os:windows xp
> jdk:1.5
> database:oracle9i
> install jetspeed-installer-demo-2.2.0.jar
>            Reporter: hongkunan
>            Assignee: Woonsan Ko
>             Fix For: 2.2.1
>
>
> when i install install jetspeed-installer-demo-2.2.0.jar use up env is error(database use oracle9i),
> but i install it database use derby is success!
> why?
> Error Message:
> Install failed
> Error running the install,The following error occurred while executing this line:
> e:\Apache\Jetspeed-2.2\database\bulid.xml:126;Source file does not exist!
> the 126 line in build.xml content is:
> 	<sql driver="${_jdbc.driver.class}" url="${_jdbc.url}" userid="${_db.username}" password="${_db.password}" src="${basedir}/${db.type}/drop-schema.sql" autocommit="true" onerror="continue" print="no" output="setup.log">

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Updated: (JS2-1047) install jetspeed-installer-demo-2.2.0.jar database user oracle9i is error! why?

Posted by "hongkunan (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-1047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

hongkunan updated JS2-1047:
---------------------------

    Description: 
when i install install jetspeed-installer-demo-2.2.0.jar use up env is error(database use oracle9i),
but i install it database use derby is success!
why?

Error Message:

Install failed
Error running the install,The following error occurred while executing this line:
e:\Apache\Jetspeed-2.2\database\bulid.xml:126;Source file does not exist!

the 126 line in build.xml content is:
	<sql driver="${_jdbc.driver.class}" url="${_jdbc.url}" userid="${_db.username}" password="${_db.password}" src="${basedir}/${db.type}/drop-schema.sql" autocommit="true" onerror="continue" print="no" output="setup.log">

  was:
when i install install jetspeed-installer-demo-2.2.0.jar use up env is error(database is oracle),
but i install it database use derby is success!
why?


        Summary: install jetspeed-installer-demo-2.2.0.jar  database user oracle9i is error! why?  (was: install jetspeed-installer-demo-2.2.0.jar  database user oracle9i error)

> install jetspeed-installer-demo-2.2.0.jar  database user oracle9i is error! why?
> --------------------------------------------------------------------------------
>
>                 Key: JS2-1047
>                 URL: https://issues.apache.org/jira/browse/JS2-1047
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 2.2.0
>         Environment: os:windows xp
> jdk:1.5
> database:oracle9i
> install jetspeed-installer-demo-2.2.0.jar
>            Reporter: hongkunan
>
> when i install install jetspeed-installer-demo-2.2.0.jar use up env is error(database use oracle9i),
> but i install it database use derby is success!
> why?
> Error Message:
> Install failed
> Error running the install,The following error occurred while executing this line:
> e:\Apache\Jetspeed-2.2\database\bulid.xml:126;Source file does not exist!
> the 126 line in build.xml content is:
> 	<sql driver="${_jdbc.driver.class}" url="${_jdbc.url}" userid="${_db.username}" password="${_db.password}" src="${basedir}/${db.type}/drop-schema.sql" autocommit="true" onerror="continue" print="no" output="setup.log">

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Commented: (JS2-1047) install jetspeed-installer-demo-2.2.0.jar database user oracle9i is error! why?

Posted by "hongkunan (JIRA)" <je...@portals.apache.org>.
    [ https://issues.apache.org/jira/browse/JS2-1047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12736971#action_12736971 ] 

hongkunan commented on JS2-1047:
--------------------------------

Hi Woonsan 

$ svn checkout http://svn.apache.org/repos/asf/portals/jetspeed-2/portal/trunk jetspeed-2
$ cd jetspeed-2
$ mvn -P init clean install (To build the jetspeed maven plugin first.)
$ mvn clean install (To build all the jetspeed components.)
$ cd jetspeed-installer
$ mvn org.apache.portals.jetspeed-2:jetspeed-mvn-maven-plugin:mvn -Dtarget=installer-demo
       (To build the installer. Please see jetspeed-installer/BUILD.txt for detail.) 

I execute up command,display error messge:


[INFO] [clean:clean]
[INFO] Deleting file set: E:\project\eclipse\workspace\jetspeed-2.2\maven\jetspeed-mvn-maven-plugin (included: [*.log], excluded:
[])
[INFO] ------------------------------------------------------------------------
[INFO] Building Jetspeed 2 Unpack Maven Plugin
[INFO]    task-segment: [clean]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting file set: E:\project\eclipse\workspace\jetspeed-2.2\maven\jetspeed-unpack-maven-plugin (included: [*.log], exclude
d: [])
[INFO] ------------------------------------------------------------------------
[INFO] Building Jetspeed 2 Deploy Maven Plugin
[INFO]    task-segment: [clean]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting file set: E:\project\eclipse\workspace\jetspeed-2.2\maven\jetspeed-deploy-maven-plugin (included: [*.log], exclude
d: [])
[INFO] ------------------------------------------------------------------------
[INFO] Building Jetspeed 2 Database Maven Plugin
[INFO]    task-segment: [clean]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting file set: E:\project\eclipse\workspace\jetspeed-2.2\maven\jetspeed-db-maven-plugin (included: [*.log], excluded: [
])
[INFO] ------------------------------------------------------------------------
[INFO] Building jetspeed-archetype
[INFO]    task-segment: [clean]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting file set: E:\project\eclipse\workspace\jetspeed-2.2\maven\jetspeed-archetype (included: [*.log], excluded: [])
[INFO] ------------------------------------------------------------------------
[INFO] Building Jetspeed 2 File-Utils Maven Plugin
[INFO]    task-segment: [clean]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting file set: E:\project\eclipse\workspace\jetspeed-2.2\maven\jetspeed-fileutils-maven-plugin (included: [*.log], excl
uded: [])
[INFO] ------------------------------------------------------------------------
[INFO] Building Jetspeed Maven Skin
[INFO]    task-segment: [clean]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting file set: E:\project\eclipse\workspace\jetspeed-2.2\maven\jetspeed-maven-skin (included: [*.log], excluded: [])
[INFO] ------------------------------------------------------------------------
[INFO] Building Jetspeed-2 Portal Resources
[INFO]    task-segment: [clean]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] A required plugin was not found: Plugin could not be found - check that the goal name is correct: Unable to download the ar
tifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command:
    mvn install:install-file -DgroupId=org.apache.portals.jetspeed-2 -DartifactId=jetspeed-db-maven-plugin -Dversion=2.2.1-SNAPSHO
T -Dpackaging=maven-plugin -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there:
    mvn deploy:deploy-file -DgroupId=org.apache.portals.jetspeed-2 -DartifactId=jetspeed-db-maven-plugin -Dversion=2.2.1-SNAPSHOT
-Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]


  org.apache.portals.jetspeed-2:jetspeed-db-maven-plugin:maven-plugin:2.2.1-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

  org.apache.portals.jetspeed-2:jetspeed-db-maven-plugin:maven-plugin:2.2.1-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11 minutes 21 seconds
[INFO] Finished at: Thu Jul 30 11:05:53 CST 2009
[INFO] Final Memory: 19M/41M
[INFO] ------------------------------------------------------------------------

> install jetspeed-installer-demo-2.2.0.jar  database user oracle9i is error! why?
> --------------------------------------------------------------------------------
>
>                 Key: JS2-1047
>                 URL: https://issues.apache.org/jira/browse/JS2-1047
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 2.2.0
>         Environment: os:windows xp
> jdk:1.5
> database:oracle9i
> install jetspeed-installer-demo-2.2.0.jar
>            Reporter: hongkunan
>            Assignee: Woonsan Ko
>             Fix For: 2.2.1
>
>
> when i install install jetspeed-installer-demo-2.2.0.jar use up env is error(database use oracle9i),
> but i install it database use derby is success!
> why?
> Error Message:
> Install failed
> Error running the install,The following error occurred while executing this line:
> e:\Apache\Jetspeed-2.2\database\bulid.xml:126;Source file does not exist!
> the 126 line in build.xml content is:
> 	<sql driver="${_jdbc.driver.class}" url="${_jdbc.url}" userid="${_db.username}" password="${_db.password}" src="${basedir}/${db.type}/drop-schema.sql" autocommit="true" onerror="continue" print="no" output="setup.log">

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Commented: (JS2-1047) install jetspeed-installer-demo-2.2.0.jar database user oracle9i is error! why?

Posted by "hongkunan (JIRA)" <je...@portals.apache.org>.
    [ https://issues.apache.org/jira/browse/JS2-1047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12735538#action_12735538 ] 

hongkunan commented on JS2-1047:
--------------------------------

Hi Woonsan
Thanks a lot,
I modify antinstall-config.xml file:oracle->oracle9 is success!
thanks,my link is: jones_ahk@hotmail.com


> install jetspeed-installer-demo-2.2.0.jar  database user oracle9i is error! why?
> --------------------------------------------------------------------------------
>
>                 Key: JS2-1047
>                 URL: https://issues.apache.org/jira/browse/JS2-1047
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 2.2.0
>         Environment: os:windows xp
> jdk:1.5
> database:oracle9i
> install jetspeed-installer-demo-2.2.0.jar
>            Reporter: hongkunan
>
> when i install install jetspeed-installer-demo-2.2.0.jar use up env is error(database use oracle9i),
> but i install it database use derby is success!
> why?
> Error Message:
> Install failed
> Error running the install,The following error occurred while executing this line:
> e:\Apache\Jetspeed-2.2\database\bulid.xml:126;Source file does not exist!
> the 126 line in build.xml content is:
> 	<sql driver="${_jdbc.driver.class}" url="${_jdbc.url}" userid="${_db.username}" password="${_db.password}" src="${basedir}/${db.type}/drop-schema.sql" autocommit="true" onerror="continue" print="no" output="setup.log">

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Commented: (JS2-1047) install jetspeed-installer-demo-2.2.0.jar database user oracle9i is error! why?

Posted by "Woonsan Ko (JIRA)" <je...@portals.apache.org>.
    [ https://issues.apache.org/jira/browse/JS2-1047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737121#action_12737121 ] 

Woonsan Ko commented on JS2-1047:
---------------------------------

Hi Hongkunan, 

I'm sorry for the wrong information. I didn't mention j2-admin SNAPSHOT dependency as well.
I don't know the reason why it fails exactly, but I'm just suspicious on snapshot updatePolicy of the repositories.

Anyway, here's my execution steps to build the installer from the trunk:

1. Check out two projects:

$ svn checkout http://svn.apache.org/repos/asf/portals/jetspeed-2/portal/trunk jetspeed-2
$ svn checkout http://svn.apache.org/repos/asf/portals/jetspeed-2/applications/j2-admin/trunk j2-admin

2. Edit jetspeed-2/pom.xml and j2-admin/pom.xml.

Open each pom.xml and add the following fragment inside every <repository> tag:

      <snapshots>
        <updatePolicy>never</updatePolicy>
      </snapshots>

For example, I added the above fragment in one <repository> tag of jetspeed-2/pom.xml like the following:

    <repository>
      <id>repository.apache.org.portals-staging-027</id>
      <name>Apache Portals Staging Repository For Pluto 2.0.0</name>
      <url>https://repository.apache.org/content/repositories/portals-staging-027</url>
      <snapshots>
        <updatePolicy>never</updatePolicy>
      </snapshots>
    </repository>

3. Now build all.

$ cd jetspeed-2
$ mvn install
$ cd ../j2-admin
$ mvn install
$ cd ../jetspeed-2/jetspeed-installer
$ mvn org.apache.portals.jetspeed-2:jetspeed-mvn-maven-plugin:mvn -Dtarget=installer-demo

If it succeeds, you can find the installer jar file here: jetspeed-2/jetspeed-installer/target/jetspeed-installer-demo-2.2.1-SNAPSHOT.jar.


The above build steps work for me, but if anybody can point out the exact reason and suggest the best practice with the current jetspeed-trunk development, it would be appreciated. (I don't think it's good to edit those poms locally.)
Thank you so much for your spending time for this.

Kind regards,

Woonsan

> install jetspeed-installer-demo-2.2.0.jar  database user oracle9i is error! why?
> --------------------------------------------------------------------------------
>
>                 Key: JS2-1047
>                 URL: https://issues.apache.org/jira/browse/JS2-1047
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 2.2.0
>         Environment: os:windows xp
> jdk:1.5
> database:oracle9i
> install jetspeed-installer-demo-2.2.0.jar
>            Reporter: hongkunan
>            Assignee: Woonsan Ko
>             Fix For: 2.2.1
>
>
> when i install install jetspeed-installer-demo-2.2.0.jar use up env is error(database use oracle9i),
> but i install it database use derby is success!
> why?
> Error Message:
> Install failed
> Error running the install,The following error occurred while executing this line:
> e:\Apache\Jetspeed-2.2\database\bulid.xml:126;Source file does not exist!
> the 126 line in build.xml content is:
> 	<sql driver="${_jdbc.driver.class}" url="${_jdbc.url}" userid="${_db.username}" password="${_db.password}" src="${basedir}/${db.type}/drop-schema.sql" autocommit="true" onerror="continue" print="no" output="setup.log">

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Commented: (JS2-1047) install jetspeed-installer-demo-2.2.0.jar database user oracle9i is error! why?

Posted by "Woonsan Ko (JIRA)" <je...@portals.apache.org>.
    [ https://issues.apache.org/jira/browse/JS2-1047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12735641#action_12735641 ] 

Woonsan Ko commented on JS2-1047:
---------------------------------

Hi Hongkunan, 

I've just committed all to fix this problem. Also, 'oracle10' is supported now.
By the way, if you check out the source from the trunk to build the installer, then you can test the new installer. 
Frankly speaking, I cannot test with oracle in my local environment now. ;-)

If you want to know how to build Jetspeed-2 from the source, please refer to http://portals.apache.org/jetspeed-2/buildguide/maven-2-build.html.
For your information, you can build the installer simply like the following several commands:

$ svn checkout http://svn.apache.org/repos/asf/portals/jetspeed-2/portal/trunk jetspeed-2
$ cd jetspeed-2
$ mvn -P init clean install                                           (To build the jetspeed maven plugin first.)
$ mvn clean install                                                      (To build all the jetspeed components.)
$ cd jetspeed-installer
$ mvn org.apache.portals.jetspeed-2:jetspeed-mvn-maven-plugin:mvn -Dtarget=installer-demo
       (To build the installer. Please see jetspeed-installer/BUILD.txt for detail.)

You can find the installer jar file under the target folder.

Cheers,

Woonsan

> install jetspeed-installer-demo-2.2.0.jar  database user oracle9i is error! why?
> --------------------------------------------------------------------------------
>
>                 Key: JS2-1047
>                 URL: https://issues.apache.org/jira/browse/JS2-1047
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 2.2.0
>         Environment: os:windows xp
> jdk:1.5
> database:oracle9i
> install jetspeed-installer-demo-2.2.0.jar
>            Reporter: hongkunan
>            Assignee: Woonsan Ko
>             Fix For: 2.2.1
>
>
> when i install install jetspeed-installer-demo-2.2.0.jar use up env is error(database use oracle9i),
> but i install it database use derby is success!
> why?
> Error Message:
> Install failed
> Error running the install,The following error occurred while executing this line:
> e:\Apache\Jetspeed-2.2\database\bulid.xml:126;Source file does not exist!
> the 126 line in build.xml content is:
> 	<sql driver="${_jdbc.driver.class}" url="${_jdbc.url}" userid="${_db.username}" password="${_db.password}" src="${basedir}/${db.type}/drop-schema.sql" autocommit="true" onerror="continue" print="no" output="setup.log">

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Updated: (JS2-1047) install jetspeed-installer-demo-2.2.0.jar database user oracle9i is error! why?

Posted by "Woonsan Ko (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-1047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Woonsan Ko updated JS2-1047:
----------------------------

    Fix Version/s: 2.2.1
         Assignee: Woonsan Ko

> install jetspeed-installer-demo-2.2.0.jar  database user oracle9i is error! why?
> --------------------------------------------------------------------------------
>
>                 Key: JS2-1047
>                 URL: https://issues.apache.org/jira/browse/JS2-1047
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 2.2.0
>         Environment: os:windows xp
> jdk:1.5
> database:oracle9i
> install jetspeed-installer-demo-2.2.0.jar
>            Reporter: hongkunan
>            Assignee: Woonsan Ko
>             Fix For: 2.2.1
>
>
> when i install install jetspeed-installer-demo-2.2.0.jar use up env is error(database use oracle9i),
> but i install it database use derby is success!
> why?
> Error Message:
> Install failed
> Error running the install,The following error occurred while executing this line:
> e:\Apache\Jetspeed-2.2\database\bulid.xml:126;Source file does not exist!
> the 126 line in build.xml content is:
> 	<sql driver="${_jdbc.driver.class}" url="${_jdbc.url}" userid="${_db.username}" password="${_db.password}" src="${basedir}/${db.type}/drop-schema.sql" autocommit="true" onerror="continue" print="no" output="setup.log">

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Commented: (JS2-1047) install jetspeed-installer-demo-2.2.0.jar database user oracle9i is error! why?

Posted by "hongkunan (JIRA)" <je...@portals.apache.org>.
    [ https://issues.apache.org/jira/browse/JS2-1047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12735536#action_12735536 ] 

hongkunan commented on JS2-1047:
--------------------------------

first thanks your answer!

I list my install dtail flow:

1、e:\Apache:>java -jar jetspeed-installer-demo-2.2.0.jar;
2、choose 'Next';
3、choose 'Accept';
4、input install path:e:\Apache\Jetspeed-2.2,'next'
5、checked store PSML to database? 'next'
6、choose database type 'oracle(9i or higher)' 'next'
7、databse user name:js22;
      databse password:js22;
      jdbc connection:jdbc:oracle:thin:@localhost:1521:js2;
     jdbc Driver Class:oracle.jdbc.driver.OracleDriver
    jdbc Driver:E:\Apache\Jetspeed-2.1.3\shared\lib\ojdbc14.jar
8、'Next'
9、'Next' 
10、'install' detail:
antinstaller.jarE:\Apache\jetspeed-installer-demo-2.2.0.jar

install:
     [echo] Starting the installation
     [echo] Deleting all content from the installation target directory
     [echo] Installing Jetspeed-2.2.0 Enterprise Portal
    [unzip] Expanding: E:\Apache\jetspeed-installer-demo-2.2.0.jar into e:\Apache\Jetspeed-2.2
    [unzip] Expanding: e:\Apache\Jetspeed-2.2\database.zip into e:\Apache\Jetspeed-2.2
    [unzip] Expanding: e:\Apache\Jetspeed-2.2\tomcat-portal.zip into e:\Apache\Jetspeed-2.2
     [echo] Setting up the database configuration
     [copy] Copying 1 file to e:\Apache\Jetspeed-2.2\lib
     [move] Moving 1 file to e:\Apache\Jetspeed-2.2\database
     [echo] Moving pages out of jetspeed webapp
     [move] Moving 1 file to e:\Apache\Jetspeed-2.2\webapps\jetspeed\WEB-INF\conf
     [move] Moving 1 file to e:\Apache\Jetspeed-2.2\webapps\jetspeed\WEB-INF\conf
     [echo] Setting up the Jetspeed database (if selected)

checkDerby:

checkImportPsml:

generateStandardDB:
     [echo] Cleaning up possible existing database

11、Error Message:

Install failed
Error running the install,The following error occurred while executing this line:
e:\Apache\Jetspeed-2.2\database\bulid.xml:126;Source file does not exist! 

why?

I install database use derby  is success;
Because I still use JetSpeed,so i  notice still it,
jetspeed run weblogic need modify a lot config file(jetspeed and weblogic);

> install jetspeed-installer-demo-2.2.0.jar  database user oracle9i is error! why?
> --------------------------------------------------------------------------------
>
>                 Key: JS2-1047
>                 URL: https://issues.apache.org/jira/browse/JS2-1047
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 2.2.0
>         Environment: os:windows xp
> jdk:1.5
> database:oracle9i
> install jetspeed-installer-demo-2.2.0.jar
>            Reporter: hongkunan
>
> when i install install jetspeed-installer-demo-2.2.0.jar use up env is error(database use oracle9i),
> but i install it database use derby is success!
> why?
> Error Message:
> Install failed
> Error running the install,The following error occurred while executing this line:
> e:\Apache\Jetspeed-2.2\database\bulid.xml:126;Source file does not exist!
> the 126 line in build.xml content is:
> 	<sql driver="${_jdbc.driver.class}" url="${_jdbc.url}" userid="${_db.username}" password="${_db.password}" src="${basedir}/${db.type}/drop-schema.sql" autocommit="true" onerror="continue" print="no" output="setup.log">

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Closed: (JS2-1047) install jetspeed-installer-demo-2.2.0.jar database user oracle9i is error! why?

Posted by "hongkunan (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-1047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

hongkunan closed JS2-1047.
--------------------------

    Resolution: Fixed

> install jetspeed-installer-demo-2.2.0.jar  database user oracle9i is error! why?
> --------------------------------------------------------------------------------
>
>                 Key: JS2-1047
>                 URL: https://issues.apache.org/jira/browse/JS2-1047
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 2.2.0
>         Environment: os:windows xp
> jdk:1.5
> database:oracle9i
> install jetspeed-installer-demo-2.2.0.jar
>            Reporter: hongkunan
>            Assignee: Woonsan Ko
>             Fix For: 2.2.1
>
>
> when i install install jetspeed-installer-demo-2.2.0.jar use up env is error(database use oracle9i),
> but i install it database use derby is success!
> why?
> Error Message:
> Install failed
> Error running the install,The following error occurred while executing this line:
> e:\Apache\Jetspeed-2.2\database\bulid.xml:126;Source file does not exist!
> the 126 line in build.xml content is:
> 	<sql driver="${_jdbc.driver.class}" url="${_jdbc.url}" userid="${_db.username}" password="${_db.password}" src="${basedir}/${db.type}/drop-schema.sql" autocommit="true" onerror="continue" print="no" output="setup.log">

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Commented: (JS2-1047) install jetspeed-installer-demo-2.2.0.jar database user oracle9i is error! why?

Posted by "Woonsan Ko (JIRA)" <je...@portals.apache.org>.
    [ https://issues.apache.org/jira/browse/JS2-1047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12735029#action_12735029 ] 

Woonsan Ko commented on JS2-1047:
---------------------------------

Hi Hongkunan,

Thank you so much for reporting this problem.
I haven't tested the installer with oracle, but I looked into the sources and found that the database name was wrong. The database name should be either 'oracle9' or 'oracle10', instead of 'oracle'. I guess that's why the sql script couldn't be found.

I think one possible temporary solution for your case is to modify antinstall-config.xml inside the installer jar file.
That is, if you replace 'oracle' by 'oracle9', then I think it would work.
By the way, the database scripts are stored in database.zip inside the installer jar file. The zip file has 'oracle9' and 'oracle10', not 'oracle'.

If you have time to test this temporary solution in your environment and it turns out to be good enough, then it would be great to fix this problem quickly. Thanks!


Kind regards,

Woonsan

> install jetspeed-installer-demo-2.2.0.jar  database user oracle9i is error! why?
> --------------------------------------------------------------------------------
>
>                 Key: JS2-1047
>                 URL: https://issues.apache.org/jira/browse/JS2-1047
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 2.2.0
>         Environment: os:windows xp
> jdk:1.5
> database:oracle9i
> install jetspeed-installer-demo-2.2.0.jar
>            Reporter: hongkunan
>
> when i install install jetspeed-installer-demo-2.2.0.jar use up env is error(database use oracle9i),
> but i install it database use derby is success!
> why?
> Error Message:
> Install failed
> Error running the install,The following error occurred while executing this line:
> e:\Apache\Jetspeed-2.2\database\bulid.xml:126;Source file does not exist!
> the 126 line in build.xml content is:
> 	<sql driver="${_jdbc.driver.class}" url="${_jdbc.url}" userid="${_db.username}" password="${_db.password}" src="${basedir}/${db.type}/drop-schema.sql" autocommit="true" onerror="continue" print="no" output="setup.log">

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Commented: (JS2-1047) install jetspeed-installer-demo-2.2.0.jar database user oracle9i is error! why?

Posted by "Woonsan Ko (JIRA)" <je...@portals.apache.org>.
    [ https://issues.apache.org/jira/browse/JS2-1047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12735562#action_12735562 ] 

Woonsan Ko commented on JS2-1047:
---------------------------------

Thank you so much for your spending time on testing with oracle9!
I will fix this issue as soon as possible.

> install jetspeed-installer-demo-2.2.0.jar  database user oracle9i is error! why?
> --------------------------------------------------------------------------------
>
>                 Key: JS2-1047
>                 URL: https://issues.apache.org/jira/browse/JS2-1047
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 2.2.0
>         Environment: os:windows xp
> jdk:1.5
> database:oracle9i
> install jetspeed-installer-demo-2.2.0.jar
>            Reporter: hongkunan
>
> when i install install jetspeed-installer-demo-2.2.0.jar use up env is error(database use oracle9i),
> but i install it database use derby is success!
> why?
> Error Message:
> Install failed
> Error running the install,The following error occurred while executing this line:
> e:\Apache\Jetspeed-2.2\database\bulid.xml:126;Source file does not exist!
> the 126 line in build.xml content is:
> 	<sql driver="${_jdbc.driver.class}" url="${_jdbc.url}" userid="${_db.username}" password="${_db.password}" src="${basedir}/${db.type}/drop-schema.sql" autocommit="true" onerror="continue" print="no" output="setup.log">

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org