This is described here:  https://tickets.openmrs.org/browse/ATLAS-29
The problem might have been in Tomcat 7.0.22 specifically... and the fix
was to import using "*" instead of a specific classname.
Sounds like a odd fix, but it works fine that way.

---
Regards,
Saptarshi PURKAYASTHA

My Tech Blog:  http://sunnytalkstech.blogspot.com
You Live by CHOICE, Not by CHANCE


On 25 January 2012 03:53, Ben Wolfe <[email protected]> wrote:

> Hmm, ok, seems different. Can you explain the circumstance and error
> message?  What is the class? Where are you trying to load it?  What error
> does tomcat log?
>
> Ben
>
>
> On Wed, Jan 18, 2012 at 3:52 AM, Saptarshi Purkayastha 
> <[email protected]>wrote:
>
>> Yup, this was in tomcat 7.
>> Tried it using trunk and although the error page looks slightly different
>> (without the report problem button), just shows the vanilla tomcat error
>> page.
>> It is still not able to find the correct class...
>>
>> ---
>> Regards,
>> Saptarshi PURKAYASTHA
>>
>> My Tech Blog:  http://sunnytalkstech.blogspot.com
>> You Live by CHOICE, Not by CHANCE
>>
>>
>> On 18 January 2012 12:27, Ben Wolfe <[email protected]> wrote:
>>
>>> Jars are unpacked into java's tmp folder.  The ModuleClassLoader keeps
>>> track of the files.  Are you using Tomcat 7 perchance?  I think Rowan
>>> recently found+fixed an issue with the OpenMRS classloader not being set
>>> correctly in tomcat 7 (works fine in tomcat 6).  The patch is in trunk and
>>> the maintenance releases already.
>>> https://tickets.openmrs.org/browse/TRUNK-2272
>>>
>>> Ben
>>>
>>>
>>> On Wed, Jan 18, 2012 at 9:16 AM, Saptarshi Purkayastha <[email protected]
>>> > wrote:
>>>
>>>> Where is the module jar folder??
>>>> The reason I ask is because of issue 
>>>> ATLAS-29<https://tickets.openmrs.org/browse/ATLAS-29>.
>>>> Victor has used import of a class in JSP and the JSP compiler is not able
>>>> to find the required class.
>>>> When I move the atlas-api-1.0.jar to WEB-INF/lib the error is gone and
>>>> the JSP compiles correctly.
>>>>
>>>> ---
>>>> Regards,
>>>> Saptarshi PURKAYASTHA
>>>>
>>>> My Tech Blog:  http://sunnytalkstech.blogspot.com
>>>> You Live by CHOICE, Not by CHANCE
>>>>
>>>>
>>>> On 18 January 2012 05:25, Darius Jazayeri <[email protected]> wrote:
>>>>
>>>>> Iirc it goes into a module jar folder somewhere, not directly into
>>>>> webinf lib...
>>>>>
>>>>> -Darius (by phone)
>>>>> On Jan 17, 2012 6:24 PM, "Saptarshi Purkayastha" <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I was looking at an issue with the atlas module whose omod has
>>>>>> dependency on the api. This is common for all maven modules that are
>>>>>> separated as api and omod projects.
>>>>>> When the omod is created it shows atlas-api-1.0.jar inside the lib
>>>>>> folder. When the omod is deployed, the atlas-api-1.0.jar is not unpacked 
>>>>>> to
>>>>>> the WEB-INF/lib folder.
>>>>>>
>>>>>> Is this the expected behavior or a bug??
>>>>>> I was hoping that contents of the lib folder of a module is moved to
>>>>>> the WEB-INF/lib folder when it is installed into the system.
>>>>>>
>>>>>> ---
>>>>>> Regards,
>>>>>> Saptarshi PURKAYASTHA
>>>>>>
>>>>>> My Tech Blog:  http://sunnytalkstech.blogspot.com
>>>>>> You Live by CHOICE, Not by CHANCE
>>>>>>  ------------------------------
>>>>>> Click here to 
>>>>>> unsubscribe<[email protected]?body=SIGNOFF%20openmrs-devel-l>from
>>>>>>  OpenMRS Developers' mailing list
>>>>>
>>>>>
>>>> ------------------------------
>>>> Click here to 
>>>> unsubscribe<[email protected]?body=SIGNOFF%20openmrs-devel-l>from
>>>>  OpenMRS Developers' mailing list
>>>>
>>>
>>>
>>  ------------------------------
>> Click here to 
>> unsubscribe<[email protected]?body=SIGNOFF%20openmrs-devel-l>from 
>> OpenMRS Developers' mailing list
>>
>
>

_________________________________________

To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-devel-l" in the  body (not 
the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

Reply via email to