You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Pradeep Fernando (JIRA)" <ji...@apache.org> on 2008/11/20 10:56:44 UTC

[jira] Created: (AXIS2-4139) pojo deployer not deploying .class files correctly

pojo deployer not deploying .class files correctly
--------------------------------------------------

                 Key: AXIS2-4139
                 URL: https://issues.apache.org/jira/browse/AXIS2-4139
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
         Environment: on Ubuntu hardy as OS  & intellijIDEA as IDE
            Reporter: Pradeep Fernando
            Priority: Minor


created a directory named "pojo" under "repository" directory. then put my java class file in to it. but it gave a faulty service.
(I started axis2 by giving repository directory as my repo path. ). 

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-4139) pojo deployer not deploying .class files correctly

Posted by "Pradeep Fernando (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pradeep Fernando updated AXIS2-4139:
------------------------------------

    Attachment: patch.txt

seems to be pojo deployer cant load the file. it gives an exeption when debugging. 
here it tries to load the class file using Class.forName() method, but the class loader is not aware of the pojo directory  path.
In the program developer has aquired a new URLClassLoader for loading that but has forget to use the correct the forName() overloaded method i guess.

it should be corrected as Class.forName(className,true, classLoader)  i think.

here i have attached the patch file. review it & apply if it is correct.
thanks,
pradeep fernando 

> pojo deployer not deploying .class files correctly
> --------------------------------------------------
>
>                 Key: AXIS2-4139
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4139
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>         Environment: on Ubuntu hardy as OS  & intellijIDEA as IDE
>            Reporter: Pradeep Fernando
>            Priority: Minor
>         Attachments: patch.txt
>
>
> created a directory named "pojo" under "repository" directory. then put my java class file in to it. but it gave a faulty service.
> (I started axis2 by giving repository directory as my repo path. ). 

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-4139) pojo deployer not deploying .class files correctly

Posted by "Keith Godwin Chapman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674466#action_12674466 ] 

Keith Godwin Chapman commented on AXIS2-4139:
---------------------------------------------

Andreas did you apply this patch to the trunk? I dont see the fix in POJODeployer class.

> pojo deployer not deploying .class files correctly
> --------------------------------------------------
>
>                 Key: AXIS2-4139
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4139
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>         Environment: on Ubuntu hardy as OS  & intellijIDEA as IDE
>            Reporter: Pradeep Fernando
>            Assignee: Andreas Veithen
>            Priority: Minor
>             Fix For: 1.5
>
>         Attachments: patch.txt
>
>
> created a directory named "pojo" under "repository" directory. then put my java class file in to it. but it gave a faulty service.
> (I started axis2 by giving repository directory as my repo path. ). 

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


[jira] Commented: (AXIS2-4139) pojo deployer not deploying .class files correctly

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674496#action_12674496 ] 

Andreas Veithen commented on AXIS2-4139:
----------------------------------------

The fix is still there.

> pojo deployer not deploying .class files correctly
> --------------------------------------------------
>
>                 Key: AXIS2-4139
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4139
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>         Environment: on Ubuntu hardy as OS  & intellijIDEA as IDE
>            Reporter: Pradeep Fernando
>            Assignee: Andreas Veithen
>            Priority: Minor
>             Fix For: 1.5
>
>         Attachments: patch.txt
>
>
> created a directory named "pojo" under "repository" directory. then put my java class file in to it. but it gave a faulty service.
> (I started axis2 by giving repository directory as my repo path. ). 

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


[jira] Commented: (AXIS2-4139) pojo deployer not deploying .class files correctly

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652172#action_12652172 ] 

Andreas Veithen commented on AXIS2-4139:
----------------------------------------

Fixed in trunk.

> pojo deployer not deploying .class files correctly
> --------------------------------------------------
>
>                 Key: AXIS2-4139
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4139
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>         Environment: on Ubuntu hardy as OS  & intellijIDEA as IDE
>            Reporter: Pradeep Fernando
>            Priority: Minor
>         Attachments: patch.txt
>
>
> created a directory named "pojo" under "repository" directory. then put my java class file in to it. but it gave a faulty service.
> (I started axis2 by giving repository directory as my repo path. ). 

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-4139) pojo deployer not deploying .class files correctly

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652154#action_12652154 ] 

Andreas Veithen commented on AXIS2-4139:
----------------------------------------

This is a regression that was introduced in revision 652280, i.e. after the 1.4 release. Also, release 1.4.1 is unaffected. Probably that's why this (admittedly quite serious...) bug went unnoticed so far.

> pojo deployer not deploying .class files correctly
> --------------------------------------------------
>
>                 Key: AXIS2-4139
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4139
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>         Environment: on Ubuntu hardy as OS  & intellijIDEA as IDE
>            Reporter: Pradeep Fernando
>            Priority: Minor
>         Attachments: patch.txt
>
>
> created a directory named "pojo" under "repository" directory. then put my java class file in to it. but it gave a faulty service.
> (I started axis2 by giving repository directory as my repo path. ). 

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-4139) pojo deployer not deploying .class files correctly

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen resolved AXIS2-4139.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5
         Assignee: Andreas Veithen

> pojo deployer not deploying .class files correctly
> --------------------------------------------------
>
>                 Key: AXIS2-4139
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4139
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>         Environment: on Ubuntu hardy as OS  & intellijIDEA as IDE
>            Reporter: Pradeep Fernando
>            Assignee: Andreas Veithen
>            Priority: Minor
>             Fix For: 1.5
>
>         Attachments: patch.txt
>
>
> created a directory named "pojo" under "repository" directory. then put my java class file in to it. but it gave a faulty service.
> (I started axis2 by giving repository directory as my repo path. ). 

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