[jira] Commented: (GERONIMO-4161) Best Practices- Tomcat to Geronimo Migration

2008-07-23 Thread Ashish Jain (JIRA)

[ 
https://issues.apache.org/jira/browse/GERONIMO-4161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615974#action_12615974
 ] 

Ashish Jain commented on GERONIMO-4161:
---

The link of the document is- 
http://cwiki.apache.org/confluence/display/GMOxDOC21/Best+Practices+Tomcat+to+Geronimo+Migration
Please provide your comments

> Best Practices- Tomcat to Geronimo Migration
> 
>
> Key: GERONIMO-4161
> URL: https://issues.apache.org/jira/browse/GERONIMO-4161
> Project: Geronimo
>  Issue Type: Task
>  Security Level: public(Regular issues) 
>  Components: documentation
>Affects Versions: 2.1, 2.1.1
> Environment: Tomcat 6.0.x and AG 2.1.x
>Reporter: Ashish Jain
>Assignee: Ashish Jain
>
> This tutorial will enlist the best practices while migrating an application 
> from Tomcat to Geronimo.

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



Shifting from xmlbean to JAXB in PlanCreator

2008-07-23 Thread Shrey Banga
I had opened a JIRA
(GERONIMO-4197)
which is intended to shift from using xmlbean classes to JAXB classes for
making the task of PlanCreator easier by exposing the JAXB classes directly.
I've been able to use this approach to maintain an object of the JAXB class
'Application' with javascript and use it to call a function through DWR that
marshalls it into the deployment plan. Similarly, I'm able to unmarshal the
plan if it is modified by the user and reflect those changes in the
PlanCreator.
The reason to shift from xmlbean to JAXB in this case was the way JAXB
classes are organized- by adding just a few lines to dwr.xml, I can expose
all those classes and use them to maintain a copy of the Application object.
The same would have been a lot more tedious to configure and maintain in
xmlbean, considering each class provides more functions and factory classes
than what is needed by DWR. Earlier, this was being done by creating wrapper
classes to the xmlbean which were becoming unmanagable and would need heavy
maintenance with changes in the schema. I did have to modify some JAXB
classes to have setters where it had only getters that returned live Lists
to make it work with the DWR BeanConverter.
So now this shift will help reduce a lot of bloated code from
PlanCreator and improve maintainability. Since GEP already uses these
classes we can shift the jar to geronimo and add a dependency in GEP and
PlanCreator for the same.
Opinions?

-- 
Shrey Banga
Bachelor of Technology, III year
Department of Electrical Engineering
Indian Institute of Technology Roorkee


how to disable myfaces

2008-07-23 Thread zhoub

Geronimo uses apache myfaces. But I use another company's implementation of
jsf. There are conflict. How to resovle this problem?
-- 
View this message in context: 
http://www.nabble.com/how-to-disable-myfaces-tp18607775s134p18607775.html
Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com.



[BUILD] trunk: Failed for Revision: 679006

2008-07-23 Thread gawor
Geronimo Revision: 679006 built with tests included
 
See the full build-0300.log file at 
http://people.apache.org/builds/geronimo/server/binaries/trunk/20080723/build-0300.log
 
Download the binaries from 
http://people.apache.org/builds/geronimo/server/binaries/trunk/20080723
[INFO] BUILD SUCCESSFUL
[INFO] 
[INFO] Total time: 53 minutes 59 seconds
[INFO] Finished at: Wed Jul 23 04:01:46 EDT 2008
[INFO] Final Memory: 402M/972M
[INFO] 
 
TESTSUITE RESULTS (Failures only)
=
See detailed results at 
http://people.apache.org/builds/geronimo/server/testsuite/ResultsSummary.html
 
Assembly: tomcat
=
See the full test.log file at 
http://people.apache.org/builds/geronimo/server/binaries/trunk/20080723/logs-0300-tomcat/test.log
 
 
Assembly: jetty
=
See the full test.log file at 
http://people.apache.org/builds/geronimo/server/binaries/trunk/20080723/logs-0300-jetty/test.log
 
 
Downloading: http://download.java.net/maven/1//woodstox/poms/wstx-asl-3.2.1.pom
Downloading: 
http://people.apache.org/repo/m2-incubating-repository//woodstox/wstx-asl/3.2.1/wstx-asl-3.2.1.pom
Downloading: 
http://repo1.maven.org/maven2/woodstox/wstx-asl/3.2.1/wstx-asl-3.2.1.pom
Downloading: http://download.java.net/maven/1//woodstox/poms/wstx-asl-3.2.1.pom
Downloading: 
http://people.apache.org/repo/m2-incubating-repository//woodstox/wstx-asl/3.2.1/wstx-asl-3.2.1.pom
Downloading: 
http://repo1.maven.org/maven2/woodstox/wstx-asl/3.2.1/wstx-asl-3.2.1.pom
[INFO] [geronimo:start-server {execution: start}]
[INFO] Using assembly configuration: jetty
[INFO] snapshot 
org.apache.geronimo.assemblies:geronimo-jetty6-javaee5:2.2-SNAPSHOT: checking 
for updates from apache-snapshots
[INFO] snapshot 
org.apache.geronimo.assemblies:geronimo-jetty6-javaee5:2.2-SNAPSHOT: checking 
for updates from codehaus-snapshots
[INFO] snapshot 
org.apache.geronimo.assemblies:geronimo-jetty6-javaee5:2.2-SNAPSHOT: checking 
for updates from apache.snapshots
[INFO] Using assembly artifact: 
org.apache.geronimo.assemblies:geronimo-jetty6-javaee5:zip:bin:2.2-SNAPSHOT:provided
[INFO] Using geronimoHome: 
/home/geronimo/geronimo/trunk/testsuite/target/geronimo-jetty6-javaee5-2.2-SNAPSHOT
[INFO] Installing assembly...
[INFO] Expanding: 
/home/geronimo/.m2/repository/org/apache/geronimo/assemblies/geronimo-jetty6-javaee5/2.2-SNAPSHOT/geronimo-jetty6-javaee5-2.2-SNAPSHOT-bin.zip
 into /home/geronimo/geronimo/trunk/testsuite/target
[INFO] Starting Geronimo server...
[INFO] Selected option set: default
[INFO] Redirecting output to: 
/home/geronimo/geronimo/trunk/testsuite/target/geronimo-logs/org.apache.geronimo.mavenplugins.geronimo.server.StartServerMojo.log
[INFO] Waiting for Geronimo server...
[INFO] Geronimo server started in 0:00:41.738
[INFO] [shitty:install {execution: default}]
[INFO] Installing /home/geronimo/geronimo/trunk/testsuite/pom.xml to 
/home/geronimo/.m2/repository/org/apache/geronimo/testsuite/testsuite/2.2-SNAPSHOT/testsuite-2.2-SNAPSHOT.pom
[INFO] [shitty:test {execution: default}]
[INFO] Starting 31 test build(s)
[INFO] 
[INFO] 
---
[INFO] 
[INFO] commands-testsuite/deployRUNNING
[INFO] commands-testsuite/deploySUCCESS (0:01:04.543) 
[INFO] commands-testsuite/gshellRUNNING
[INFO] commands-testsuite/gshellSUCCESS (0:00:29.770) 
[INFO] commands-testsuite/jaxws RUNNING
[INFO] commands-testsuite/jaxws SUCCESS (0:00:18.808) 
[INFO] concurrent-testsuite/concurrent-basicRUNNING
[INFO] concurrent-testsuite/concurrent-basicSUCCESS (0:06:06.716) 
[INFO] console-testsuite/advanced   RUNNING
[INFO] console-testsuite/advanced   FAILURE (0:01:20.624) Java 
returned: 1
[INFO] console-testsuite/basic  RUNNING
[INFO] console-testsuite/basic  SUCCESS (0:01:51.230) 
[INFO] corba-testsuite/corba-helloworld RUNNING
[INFO] corba-testsuite/corba-helloworld SUCCESS (0:00:43.523) 
[INFO] corba-testsuite/corba-marshalRUNNING
[INFO] corba-testsuite/corba-marshalSUCCESS (0:00:51.698) 
[INFO] corba-testsuite/corba-mytime RUNNING
[INFO] corba-testsuite/corba-mytime SUCCESS (0:00:46.687) 
[INFO] deployment-testsuite/deployment-testsRUNNING
[INFO] deployment-testsuite/deployment-testsSUCCESS (0:00:30.817) 
[INFO] deployment-testsuite/jca-cms-tests   RUNNING
[INFO] deployment-testsuite/jca-cms-tests   SUCCESS (0:00:28.675) 
[INFO] deployment-testsuite/manifestcp-testsRUNNING
[INFO] deployment-testsuite/manifestcp-testsSUCCESS (0:00:31.030) 
[INFO] enterprise-testsuite/ejb-tests   RUNNING
[INFO] enterprise-testsuite/ejb

[jira] Commented: (GERONIMO-4179) Creating your own custom server with Geronimo framework

2008-07-23 Thread Ashish Jain (JIRA)

[ 
https://issues.apache.org/jira/browse/GERONIMO-4179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615909#action_12615909
 ] 

Ashish Jain commented on GERONIMO-4179:
---

Unable to proceed with this tutorial as I get the following error while 
installing plugin.
Installation FAILED: Could not find org.apache.tomcat/jasper/6.0.14-G614585/jar
in any repo

> Creating your own custom server with Geronimo framework
> ---
>
> Key: GERONIMO-4179
> URL: https://issues.apache.org/jira/browse/GERONIMO-4179
> Project: Geronimo
>  Issue Type: Task
>  Security Level: public(Regular issues) 
>  Components: documentation
>Affects Versions: 2.1, 2.1.1
>Reporter: Ashish Jain
>Assignee: Ashish Jain
>
> The starting point for this tutorial should be the bin distro of Geronimo 
> Framework. ( see http://geronimo.apache.org/apache-geronimo-v211-release.html)
> Roughly the sequence in this tutorial should be something like this
> * getting the geronimo framework distro
> * starting the framework
> * using either Geronimo native commands or GShell search/list plugins
> * select the required plugins and install them
> * test the newly installed plugins

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



Plugin download fails from http://people.apache.org/repo/m2-snapshot-repository

2008-07-23 Thread Ashish Jain
Hi,
Trying to install plugins from plugin repository using *deploy
search-plugins*. However it throws the following error

Install Services [enter a comma separated list of numbers or 'q' to quit]:
7,9
Checking for status every 1000ms:
Downloading org.apache.tomcat/jasper/6.0.14-G614585/jar
Installation FAILED: Could not find
org.apache.tomcat/jasper/6.0.14-G614585/jar
in any repo

I made quite a bit of modifications in config.xml before starting the server
modifying the gbean *DownloadedPluginRepos *as follows



http://geronimo.apache.org/plugins/plugin-repository-list-2.1.1.txt


http://geronimo.apache.org/plugins/geronimo-2.1.1/

http://repo1.maven.org/maven2/
 

However looking at the
http://geronimo.apache.org/plugins/geronimo-2.1.1/geronimo-plugins.xml

suggests it is looking for a jasper jar of the version
*6.0.14-G614585. *However
the source repositories defined are
http://people.apache.org/repo/m2-snapshot-repository

which has jars only for the version 6.0.7 and 6.0.8 and the second
repohttp://repo1.maven.org/maven2/<%20http://repo1.maven.org/maven2/>has
jars only for
6.0.14.

My questions are
1) Is this a problem with the naming convention of the required jar that is
*6.0.14-G614585 *instead of something like 6.0.14? If not than do we need to
have a section on 6.0.14 jars in
http://geronimo.apache.org/plugins/geronimo-2.1.1/geronimo-plugins.xml .
2) Are there any alternative repo's where we can download these plugins?

Also when I use the following gbean configuration which is the default
configuration with *geronimo framework*



http://geronimo.apache.org/plugins/plugin-repository-list-2.1.txt

~/.m2/repository


In this case when I run *deploy search-plugins *the result is

C:\AG\gframe\geronimo-framework-2.1.1\bin>deploy search-plugins
Using GERONIMO_BASE:   C:\AG\gframe\geronimo-framework-2.1.1
Using GERONIMO_HOME:   C:\AG\gframe\geronimo-framework-2.1.1
Using GERONIMO_TMPDIR: var\temp
Using JRE_HOME:C:\Program Files\IBM\Java50\jre
Username: system
Password: ***

Selected repository:
file:/C:/Documents%20and%20Settings/Administrator/.m2/repository/

However we can always use *deploy search-plugins
http://geronimo.apache.org/plugins/geronimo-2.1.1. *For a new user who just
wants to setup his server using G framework it will be better if we could
point the default value to something like *
http://geronimo.apache.org/plugins/geronimo-2.1.1 *so that the geronimo
plugins list is automatically populated.


Thanks
Ashish


<    1   2   3