Hi Chris,

This is shot in dark so I am not sure if this will work but worth trying.

Instead of manually placing jar in lib directory, go to CF Administatrator,
go to Java and JVM, and add the absolute path to the .jar.

Restart CF and see what happens.

Either way, do the same steps, and this time place .class files and restart
and see what happens.

Keep us updated.

Thanks,

<Ajas Mohammed />
http://ajashadi.blogspot.com
We cannot become what we need to be, remaining what we are.
No matter what, find a way. Because thats what winners do.
You can't improve what you don't measure.
Quality is never an accident; it is always the result of high intention,
sincere effort, intelligent direction and skillful execution; it represents
the wise choice of many alternatives.


On Thu, Mar 12, 2009 at 11:09 AM, Chris Watkins <[email protected]> wrote:

> The error happens when I create a jar from the source in Eclipse and drop
> it in lib, replacing the current jar file.
>
> I can take the same class files and put them in the classes directory
> without errors. Weird.
>
> GF 6.1. I know, it's old. :) Most of the new work is in Grails.
>
> I used to go to Aberdeen quite often to visit friends. I miss it.
>
> Keepin' it real since 1972
>
> On Mar 11, 2009, at 18:01, Ajas Mohammed <[email protected]> wrote:
>
> So what started this error? What was last change done?
> What is your setup like CF 7 or 8?
>
> aberdeen huh? any chance you are referring to scottish soccer league team?
>
>
> <Ajas Mohammed />
> <http://ajashadi.blogspot.com>http://ajashadi.blogspot.com
> We cannot become what we need to be, remaining what we are.
> No matter what, find a way. Because thats what winners do.
> You can't improve what you don't measure.
> Quality is never an accident; it is always the result of high intention,
> sincere effort, intelligent direction and skillful execution; it represents
> the wise choice of many alternatives.
>
>
> On Wed, Mar 11, 2009 at 5:19 PM, Chris Watkins < <[email protected]>
> [email protected]> wrote:
>
>> Hi All,
>>
>> Many moons ago, I decided to leverage some in-house Java expertise and
>> deploy some servlets and JSPs under CF. In hindsight, this was a bad
>> decision for many reasons, but that is another story.
>>
>> The upshot is this: I'm maintaining some of the codebase, and am seeing
>> some very perplexing behavior.
>>
>> The original Java files were deployed as a JAR in the WEB-INF/lib
>> directory. Opening the JAR up, however, shows that there is no manifest and
>> it's only the class files bundled together into an archive with a JAR
>> extension. I am under the impression that JAR files are supposed to have
>> manifests.
>>
>> I can make changes to the code in Eclipse and export as a JAR. However, it
>> does include a manifest; however, while the CF service starts, I get the
>> following error:
>>
>> Either the Macromedia application server is unreachable or it does not
>> have a mapping to process this request.
>>
>> If I just grab the classes and drop them into the WEB-INF/classes
>> directory, everything works.
>>
>> So, here are my questions:
>>
>> What exactly is this existing JAR file that works with no manifest file?
>> Why doesn't a regular JAR file made by Eclipse cause CF to crash, but the
>> unarchived classes work fine?
>>
>> I'm hoping this is a n00b question that we can all laugh about.
>>
>> Thanks!
>> Chris
>>
>>
>>
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Houston ColdFusion 
Users' Group" discussion list.
To unsubscribe, send email to [email protected]
For more options, visit http://groups.google.com/group/houcfug?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to