[ 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to