Hi,

Your ServiceMix ESB server must be up and running before you try to deploy
your project to it.
If that is already the case and it still fails, try to deploy it with the
antrun plugin using the provided ant tasks.
If that works and the maven plugin doesn't, go hassle the jbi plugin guys ;)

Cheers
Jo

On 6/15/07, unni_varun <[EMAIL PROTECTED]> wrote:


Hi,

Yeah i have tried it with -e and -X options also. Have a look at the
output:

[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Unable to deploy project, Error accessing ServiceMix administration

Connection refused: connect
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to deploy
project, Error accessing ServiceMix administration
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:559)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(
DefaultLifecycleExecutor.java:488)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
DefaultLifecycleExecutor.java:458)
        at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:306
)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:273)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
DefaultLifecycleExecutor.java:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to
deploy
project, Error accessing ServiceMix administratio
n
        at

org.apache.servicemix.maven.plugin.jbi.JbiProjectDeployerMojo.deployProject
(JbiProjectDeployerMojo.java:162)
        at
org.apache.servicemix.maven.plugin.jbi.JbiProjectDeployerMojo.execute(
JbiProjectDeployerMojo.java:90)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java:412)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:534)
        ... 16 more


There r lot more exception messages, this is the first part.  I can't make
out anything useful from this.

Thanks in aniticipation
Varun


Thorsten Heit-3 wrote:
>
> Hi,
>
>> i'm using the followign command  to deploy my application
>>
>> mvn install jbi:projectDeploy
>>
>> I got the error
>>
>> Unable to deploy project, Error accessing ServiceMix administration
>
> I have to admit that I don't know "jbi:...", but have you tried "mvn -e
-X
> ..." to get more information about the error?
>
>
> HTH
>
> Thorsten
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>

--
View this message in context:
http://www.nabble.com/Unable-to-deploy-project%2C-Error-accessing-ServiceMix-administration-tf3926371s177.html#a11136727
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to