archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maria Odea Ching <och...@exist.com>
Subject Re: Run Archiva on Aix
Date Wed, 14 Nov 2007 09:26:29 GMT
Nice  :-)
Thanks for the info, maybe we could include this in the docs.

-Deng

MATHUS Baptiste wrote:
> Hi, 
> For the record, yesterday I found the solution using the IBM JDK.
> It ends up being kind of a "Security exception". In fact, it was because the IBM JDK
is configured by default to the most restrictive cryptographic environment when using the
JCE (Java Cryptography Extension) jar.
>
> I had to download and install the less restrictive policies as described on this page
: http://www-128.ibm.com/developerworks/java/jdk/security/50/ that were here : https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?source=jcesdk.
After having overwritten the files inside the /usr/java5/jre/lib/security/ as described above,
it worked.
>
> Cheers.
>
> -- Baptiste
>
> -----Message d'origine-----
> De : Maria Odea Ching [mailto:oching@exist.com] 
> Envoyé : mercredi 14 novembre 2007 08:22
> À : archiva-users@maven.apache.org
> Objet : Re: Run Archiva on Aix
>
> Hi Baptiste,
>
> Can you try using the Sun JDK/JRE instead of the IBM JDK/JRE and see if the problem still
persists?
>
> -Deng
>
> MATHUS Baptiste wrote:
>   
>> OK. I directly launched the plexus.sh script in the bin directory and archiva started
fine.
>> The thing is, I'm now having problem with the class javax.crypto.b that triggers
a NoClassDefFoundError...
>>
>> I found some informations about this on the web, but nothing seems to be clear about
what to do. 
>> The complete archiva startup on this machine is attached. It ends with the complete
stacktrace.
>>
>> Anyway, for my information, could anyone explain a bit why at this moment archiva
is trying to access a cryptographic API. I'd be interested in it to maybe better understand
what could be done to workaround.
>>
>> Thanks a lot.
>>
>> -- Baptiste
>>
>> -----Message d'origine-----
>> De : MATHUS Baptiste [mailto:mathus.b@mipih.fr] Envoyé : lundi 12 
>> novembre 2007 17:41 À : archiva-users@maven.apache.org Objet : Run 
>> Archiva on Aix
>>
>> Hi all,
>>
>> Thanks to cb, I solved my repo problem. I finally decided to separate my corporate
and publicly retrieved artifact under two distinct urls.
>> Now, my tests are finished, I want to install my archiva config on an Aix. My tests
were done on a Debian Linux.
>>
>> Do you think it's a lost cause ? :-).
>> Which script in the archiva/bin directory would be the closest to the Aix needs if
someone has an idea?
>>
>> Thanks a lot.
>>
>> --
>> B. MATHUS
>>   
>> ----------------------------------------------------------------------
>> --
>>
>> [P520]/cic/archiva/bin:./plexus.sh
>> Using PLEXUS_HOME:   /cic/archiva
>> Using PLEXUS_BASE:   /cic/archiva
>> Using PLEXUS_TMPDIR: /cic/archiva/temp
>> Using JAVA_HOME:     /usr/java5
>> [INFO] Loading on start [role,roleHint]: 
>> [org.codehaus.plexus.naming.Naming,dataSources]
>> [INFO] Loading on start [role,roleHint]: 
>> [org.codehaus.plexus.contextualizer.Contextualizer,jettyConfiguration]
>> [INFO] Services will be deployed in: '/cic/archiva/services'.
>> [INFO] Applications will be deployed in: '/cic/archiva/apps'.
>> [INFO] Service Supervisor is deploying plexus-appserver-service-jetty-2.0-alpha-8.
>> [INFO] Removing old service.
>> [DEBUG] Found 1 components to load on start [INFO] Loading on start 
>> [role,roleHint]: 
>> [org.codehaus.plexus.appserver.service.PlexusService,jetty]
>> 13 Nov 2007 09:53:29 org.mortbay.http.HttpServer doStart
>> INFO: Version Jetty/5.1.10
>> 13 Nov 2007 09:53:29 org.mortbay.util.Container start
>> INFO: Started org.mortbay.jetty.Server@386e386e [INFO] Application 
>> Supervisor is deploying archiva-plexus-application-1.0-beta-3.
>> [INFO] Application 'archiva' already extracted.
>> [INFO] Deploying application 'archiva' at '/cic/apache-archiva-1.0-beta-3/apps/archiva'.
>> [INFO] Using application configurator file /cic/archiva/apps/archiva/conf/application.xml.
>> [INFO] Using appDir = /cic/archiva/apps/archiva [DEBUG] appserver.home 
>> = /cic/archiva [DEBUG] appserver.base = /cic/archiva [INFO] Deploying 
>> /cic/apache-archiva-1.0-beta-3/apps/archiva/webapp with context path 
>> of /archiva [INFO] Using standard webapp classloader for webapp.
>> [INFO] Deploying appserver 'archiva'.
>> [INFO] Adding HTTP listener on *4000
>> 13 Nov 2007 09:53:32 org.mortbay.http.SocketListener start
>> INFO: Started SocketListener on 0.0.0.0:4000 [INFO] Starting Jetty 
>> Context /archiva
>> 13 Nov 2007 09:53:32 org.mortbay.util.FileResource <clinit>
>> INFO: Checking Resource aliases
>> 13 Nov 2007 09:53:34 org.mortbay.util.Container start
>> INFO: Started org.mortbay.jetty.servlet.WebApplicationHandler@1a8a1a8a
>> 13 Nov 2007 09:53:34 org.mortbay.jetty.servlet.ServletHandler$Context 
>> log
>> INFO: Loading plexus context properties from: '/WEB-INF/plexus.properties'
>> 13 Nov 2007 09:53:34 org.mortbay.jetty.servlet.ServletHandler$Context 
>> log
>> INFO: Could not load plexus context properties from: '/WEB-INF/plexus.properties'
>> 2007-11-13 09:53:35,411 [main] INFO  
>> org.codehaus.plexus.PlexusContainer  - Loading on start 
>> [role,roleHint]: 
>> [org.apache.maven.archiva.web.startup.ArchivaStartup,default]
>> 2007-11-13 09:53:37,135 [main] WARN  
>> net.sf.ehcache.config.ConfigurationFactory  - No configuration found. 
>> Configuring ehcache from ehcache-failsafe.xml  found in the classpath: 
>> jar:file:/cic/apache-archiva-1.0-beta-3/apps/archiva/webapp/WEB-INF/li
>> b/ehcache-1.3.0.jar!/ehcache-failsafe.xml
>> 2007-11-13 09:53:46,042 [main] DEBUG 
>> org.apache.maven.archiva.configuration.FileTypes:default  - Loading 
>> XML configuration from classloader resource: 
>> org/apache/maven/archiva/configuration/default-archiva.xml
>> 2007-11-13 09:53:46,273 [main] INFO  org.quartz.simpl.RAMJobStore  - RAMJobStore
initialized.
>> 2007-11-13 09:53:46,274 [main] INFO  org.quartz.impl.StdSchedulerFactory  - Quartz
scheduler 'defaultScheduler' initialized from an externally provided properties instance.
>> 2007-11-13 09:53:46,276 [main] INFO  
>> org.quartz.impl.StdSchedulerFactory  - Quartz scheduler version: 1.4.5
>> 2007-11-13 09:53:46,277 [main] INFO  org.quartz.core.QuartzScheduler  - Scheduler
defaultScheduler_$_NON_CLUSTERED started.
>> 2007-11-13 09:53:46,411 [main] INFO  org.apache.maven.archiva.web.startup.ArchivaStartup:default
 - _________________________
>>                           __________________________________
>>                /\_       /                                  \
>>               /`/@),    |  On behalf of all of the alpaca's  |
>>               |  (~'  __|  toiling away on the Apache Maven  |
>>       _,--.___/  |    \     project teams, I would like to   |
>>     ,' ,     (   |     \     welcome you to Maven Archiva    |
>>     |  (      \  /      |             1.0-beta-3             |
>>      \  )\_/  ,_/       |                                    |
>>      / /   ( |/         |  http://maven.apache.org/archiva/  |
>>     ( |    ( |          |  archiva-users@maven.apache.org    |
>>      \|     \|           \__________________________________/
>>
>>
>> 2007-11-13 09:53:46,416 [main] INFO  
>> org.apache.maven.archiva.web.startup.SecuritySynchronization:default  
>> - Running Environment Check: required-roles
>> 2007-11-13 09:53:46,417 [main] INFO  org.codehaus.plexus.redback.system.check.EnvironmentCheck:required-roles
 - Checking the existance of required roles.
>> 2007-11-13 09:53:46,434 [main] INFO  
>> org.apache.maven.archiva.web.startup.SecuritySynchronization:default  
>> - Running Environment Check: ExpectedJsps
>> 2007-11-13 09:53:46,435 [main] INFO  
>> org.apache.maven.archiva.web.startup.SecuritySynchronization:default  
>> - Running Environment Check: locked-admin-check
>> 2007-11-13 09:53:47,812 [main] INFO  
>> org.apache.maven.archiva.web.startup.SecuritySynchronization:default  
>> - Running Environment Check: guest-user-check
>> 2007-11-13 09:53:48,011 [main] INFO  
>> org.apache.maven.archiva.web.startup.SecuritySynchronization:default  
>> - Running Environment Check: ExpectedStandardWebXworkActions
>> 2007-11-13 09:53:48,120 [main] WARN  org.codehaus.plexus.scheduler.Scheduler:default
 - Will not schedule this job as a job {repository-job:public:repository-group} already exists.
>> 2007-11-13 09:53:48,125 [main] WARN  org.codehaus.plexus.scheduler.Scheduler:default
 - Will not schedule this job as a job {repository-job:mcmipih:repository-group} already exists.
>> 2007-11-13 09:53:48,128 [main] WARN  org.codehaus.plexus.scheduler.Scheduler:default
 - Will not schedule this job as a job {database-job:database-group} already exists.
>> 2007-11-13 09:53:48,131 [main] INFO  
>> org.codehaus.plexus.PlexusContainer  - Loading on start 
>> [role,roleHint]: 
>> [org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor,database-up
>> date]
>> 2007-11-13 09:53:48,391 [main] INFO  
>> org.codehaus.plexus.taskqueue.execution.TaskExecutor:database-update  
>> - Initialized 
>> org.apache.maven.archiva.scheduled.executors.ArchivaDatabaseUpdateTask
>> Executor
>> 2007-11-13 09:53:48,394 [main] INFO  org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor:database-update
 - Starting task executor, thread name 'database-update'.
>> 2007-11-13 09:53:48,427 [main] INFO  
>> org.codehaus.plexus.PlexusContainer  - Loading on start 
>> [role,roleHint]: 
>> [org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor,repository-
>> scanning]
>> 2007-11-13 09:53:48,576 [main] INFO  
>> org.codehaus.plexus.taskqueue.execution.TaskExecutor:repository-scanni
>> ng  - Initialized 
>> org.apache.maven.archiva.scheduled.executors.ArchivaRepositoryScanning
>> TaskExecutor
>> 2007-11-13 09:53:48,579 [main] INFO  org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor:repository-scanning
 - Starting task executor, thread name 'repository-scanning'.
>> 2007-11-13 09:53:48,798 [main] INFO  
>> com.opensymphony.webwork.config.DefaultConfiguration  - Loading global 
>> messages from org.codehaus.plexus.redback.xwork.default
>> 2007-11-13 09:53:48,800 [main] INFO  
>> com.opensymphony.webwork.config.DefaultConfiguration  - Loading global 
>> messages from org.apache.maven.archiva.redback.custom
>> 13 Nov 2007 09:53:49 org.mortbay.jetty.servlet.ServletHandler$Context 
>> log
>> INFO: Initializing 
>> org.codehaus.plexus.webdav.simple.SimpleDavServerComponent
>> 13 Nov 2007 09:53:49 org.mortbay.jetty.servlet.ServletHandler$Context 
>> log
>> INFO: Initializing 
>> org.codehaus.plexus.webdav.simple.SimpleDavServerComponent
>> 13 Nov 2007 09:53:49 org.mortbay.util.Container start
>> INFO: Started WebApplicationContext[/archiva,Apache Archiva] [INFO] 
>> The appserver server has been initialized.
>> [INFO] The appserver server has started.
>>
>> ----------------------------------------------------
>> Now I launch a "mvn -U compile" from the client side. I deleted all 
>> the local resources to force retrieving from the archiva server
>> ----------------------------------------------------
>>
>> 2007-11-13 09:55:24,674 [SocketListener0-1] DEBUG 
>> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - 
>> Applying [releases] policy with [ignored]
>> 2007-11-13 09:55:24,675 [SocketListener0-1] DEBUG org.apache.maven.archiva.policies.PreDownloadPolicy:releases
 - OK to update, releases policy set to IGNORED.
>> 2007-11-13 09:55:24,675 [SocketListener0-1] DEBUG 
>> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - 
>> Applying [snapshots] policy with [ignored]
>> 2007-11-13 09:55:24,675 [SocketListener0-1] DEBUG org.apache.maven.archiva.policies.PreDownloadPolicy:snapshots
 - OK to update, snapshots policy set to IGNORED.
>> 2007-11-13 09:55:24,675 [SocketListener0-1] DEBUG 
>> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - 
>> Applying [cache-failures] policy with [cached]
>> 2007-11-13 09:55:24,676 [SocketListener0-1] DEBUG org.apache.maven.archiva.policies.PreDownloadPolicy:cache-failures
 - OK to fetch, check-failures detected no issues.
>> 2007-11-13 09:55:24,676 [SocketListener0-1] DEBUG 
>> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - No 
>> authentication for remote repository needed
>> 2007-11-13 09:55:24,683 [SocketListener0-1] DEBUG 
>> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - 
>> Retrieving 
>> org/apache/maven/plugins/maven-resources-plugin/maven-metadata.xml 
>> from Central Repository if updated
>> 2007-11-13 09:55:25,028 [SocketListener0-1] DEBUG org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default
 - Project Metadata org.apache.maven.plugins:maven-resources-plugin not updated on remote
repository "central".
>> 2007-11-13 09:55:25,029 [SocketListener0-1] DEBUG 
>> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - 
>> Applying [releases] policy with [ignored]
>> 2007-11-13 09:55:25,029 [SocketListener0-1] DEBUG org.apache.maven.archiva.policies.PreDownloadPolicy:releases
 - OK to update, releases policy set to IGNORED.
>> 2007-11-13 09:55:25,029 [SocketListener0-1] DEBUG 
>> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - 
>> Applying [snapshots] policy with [ignored]
>> 2007-11-13 09:55:25,029 [SocketListener0-1] DEBUG org.apache.maven.archiva.policies.PreDownloadPolicy:snapshots
 - OK to update, snapshots policy set to IGNORED.
>> 2007-11-13 09:55:25,030 [SocketListener0-1] DEBUG 
>> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - 
>> Applying [cache-failures] policy with [cached]
>> 2007-11-13 09:55:25,030 [SocketListener0-1] DEBUG org.apache.maven.archiva.policies.PreDownloadPolicy:cache-failures
 - OK to fetch, check-failures detected no issues.
>> 2007-11-13 09:55:25,030 [SocketListener0-1] DEBUG 
>> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - 
>> Using username  to connect to remote repository 
>> http://snapshots.maven.codehaus.org/maven2/
>> 2007-11-13 09:55:25,030 [SocketListener0-1] DEBUG 
>> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - 
>> Retrieving 
>> org/apache/maven/plugins/maven-resources-plugin/maven-metadata.xml 
>> from Snapshots maven Cohehaus
>> 2007-11-13 09:55:27,869 [SocketListener0-1] DEBUG org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default
 - Project Metadata org.apache.maven.plugins:maven-resources-plugin not found on remote repository
"snapshots-codehaus".
>> 2007-11-13 09:55:27,870 [SocketListener0-1] DEBUG 
>> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - 
>> Applying [releases] policy with [ignored]
>> 2007-11-13 09:55:27,870 [SocketListener0-1] DEBUG org.apache.maven.archiva.policies.PreDownloadPolicy:releases
 - OK to update, releases policy set to IGNORED.
>> 2007-11-13 09:55:27,870 [SocketListener0-1] DEBUG 
>> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - 
>> Applying [snapshots] policy with [ignored]
>> 2007-11-13 09:55:27,870 [SocketListener0-1] DEBUG org.apache.maven.archiva.policies.PreDownloadPolicy:snapshots
 - OK to update, snapshots policy set to IGNORED.
>> 2007-11-13 09:55:27,870 [SocketListener0-1] DEBUG 
>> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - 
>> Applying [cache-failures] policy with [ignored]
>> 2007-11-13 09:55:27,871 [SocketListener0-1] DEBUG org.apache.maven.archiva.policies.PreDownloadPolicy:cache-failures
 - OK to fetch, check-failures policy set to IGNORED.
>> 2007-11-13 09:55:27,871 [SocketListener0-1] DEBUG 
>> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - 
>> Using username  to connect to remote repository 
>> https://maven-repository.dev.java.net/repository/
>> 2007-11-13 09:55:27,871 [SocketListener0-1] DEBUG 
>> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  - 
>> Retrieving 
>> org/apache/maven/plugins/maven-resources-plugin/maven-metadata.xml 
>> from Repository Maven de Java.net
>> 13 Nov 2007 09:55:29 org.mortbay.jetty.servlet.ServletHandler handle
>> WARNING: Error for 
>> /archiva/repository/public/org/apache/maven/plugins/maven-resources-pl
>> ugin/maven-metadata.xml
>> java.lang.NoClassDefFoundError: javax.crypto.b
>>         at java.lang.J9VMInternals.initialize(J9VMInternals.java:114)
>>         at javax.crypto.Cipher.getInstance(Unknown Source)
>>         at com.ibm.jsse2.gb.a(gb.java:32)
>>         at com.ibm.jsse2.cb.<init>(cb.java:49)
>>         at com.ibm.jsse2.eb.a(eb.java:263)
>>         at com.ibm.jsse2.eb.a(eb.java:93)
>>         at com.ibm.jsse2.db.a(db.java:76)
>>         at com.ibm.jsse2.jc.a(jc.java:101)
>>         at com.ibm.jsse2.jc.g(jc.java:365)
>>         at com.ibm.jsse2.jc.startHandshake(jc.java:88)
>>         at com.ibm.net.ssl.www2.protocol.https.b.afterConnect(b.java:137)
>>         at com.ibm.net.ssl.www2.protocol.https.c.connect(c.java:41)
>>         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:942)
>>         at com.ibm.net.ssl.www2.protocol.https.a.getInputStream(a.java:66)
>>         at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:83)
>>         at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
>>         at org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transferSimpleFile(DefaultRepositoryProxyConnectors.java:643)
>>         at org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transferFile(DefaultRepositoryProxyConnectors.java:509)
>>         at org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.fetchFromProxies(DefaultRepositoryProxyConnectors.java:314)
>>         at org.apache.maven.archiva.web.repository.ProxiedDavServer.fetchMetadataFromProxies(ProxiedDavServer.java:350)
>>         at org.apache.maven.archiva.web.repository.ProxiedDavServer.fetchContentFromProxies(ProxiedDavServer.java:287)
>>         at org.apache.maven.archiva.web.repository.ProxiedDavServer.process(ProxiedDavServer.java:170)
>>         at org.codehaus.plexus.webdav.servlet.multiplexed.MultiplexedWebDavServlet.service(MultiplexedWebDavServlet.java:119)
>>         at org.apache.maven.archiva.web.repository.RepositoryServlet.service(RepositoryServlet.java:167)
>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>         at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
>>         at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
>>         at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:189)
>>         at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
>>         at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:39)
>>         at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
>>         at com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88)
>>         at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
>>         at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
>>         at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
>>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
>>         at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
>>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
>>         at org.mortbay.http.HttpServer.service(HttpServer.java:909)
>>         at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
>>         at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
>>         at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
>>         at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
>>         at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
>>         at 
>> org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
>>   
>>     
>
>   


Mime
View raw message