Matthias Kurz | 1 Jul 18:03
Picon

HELP - data location


Hi.

How can i configure where snipsnap places its data files. Whatever i
try it insists to put them under
"C:\Dokumente und Einstellungen\<user>\applications".

  Thanks

   (mk)

--

-- 
Matthias Kurz; Fuldastr. 3; D-28199 Bremen; VOICE +49 421 53 600 47
  >> Im prämotorischen Cortex kann jeder ein Held sein. (bdw) <<
Ryan Barrett | 1 Jul 19:30
Picon

Re: HELP - data location

On Sat, 1 Jul 2006, Matthias Kurz wrote:

> How can i configure where snipsnap places its data files. Whatever i
> try it insists to put them under
> "C:\Dokumente und Einstellungen\<user>\applications".

unfortunately, i don't believe that's configurable. :/

-Ryan

--
http://snarfed.org/
Matthias L. Jugel | 1 Jul 20:45
Picon

Re: HELP - data location

Thats not true, fortunately :-)

You can start SnipSnap with a location for the "applications" directory:

java -jar snipsnap.jar -root "U:\Some\Directory" will place the  
"applications" directory in "Directory"

Leo.

On 01.07.2006, at 19:30, Ryan Barrett wrote:

> On Sat, 1 Jul 2006, Matthias Kurz wrote:
>
>> How can i configure where snipsnap places its data files. Whatever i
>> try it insists to put them under
>> "C:\Dokumente und Einstellungen\<user>\applications".
>
> unfortunately, i don't believe that's configurable. :/
>
> -Ryan
>
> --
> http://snarfed.org/
> _______________________________________________
> SnipSnap-Users Mailing List
> snipsnap-users <at> snipsnap.org | http://snipsnap.org/
> http://snipforge.org/cgi-bin/mailman/listinfo/snipsnap-users

--

-- 
Mud.DE -- Gemeinschaft Virtueller Welten Deutschland
(Continue reading)

Matthias Kurz | 1 Jul 22:03
Picon

Re: HELP - data location

On Sat, Jul 01, 2006 at 08:45:37PM +0200, Matthias L. Jugel wrote:
> Thats not true, fortunately :-)
> 
> You can start SnipSnap with a location for the "applications" directory:
> 
> java -jar snipsnap.jar -root "U:\Some\Directory" will place the  
> "applications" directory in "Directory"

That worked (can you see the tears in my eyes?).
I want to install on an external drive that i will carry with me.

   (mk)

--

-- 
Matthias Kurz; Fuldastr. 3; D-28199 Bremen; VOICE +49 421 53 600 47
  >> Im prämotorischen Cortex kann jeder ein Held sein. (bdw) <<
Scott Heaberlin | 2 Jul 15:25
Picon

Re: HELP - data location

On a related note, how can I configure where the .war distribution stores files?

Thanks,

Scott Heaberlin

On 7/1/06, Matthias Kurz <mk <at> baerlap.north.de> wrote:
> On Sat, Jul 01, 2006 at 08:45:37PM +0200, Matthias L. Jugel wrote:
> > Thats not true, fortunately :-)
> >
> > You can start SnipSnap with a location for the "applications" directory:
> >
> > java -jar snipsnap.jar -root "U:\Some\Directory" will place the
> > "applications" directory in "Directory"
>
> That worked (can you see the tears in my eyes?).
> I want to install on an external drive that i will carry with me.
>
>
>    (mk)
>
> --
> Matthias Kurz; Fuldastr. 3; D-28199 Bremen; VOICE +49 421 53 600 47
>   >> Im prämotorischen Cortex kann jeder ein Held sein. (bdw) <<
> _______________________________________________
> SnipSnap-Users Mailing List
> snipsnap-users <at> snipsnap.org | http://snipsnap.org/
> http://snipforge.org/cgi-bin/mailman/listinfo/snipsnap-users
>
(Continue reading)

Matthias L. Jugel | 3 Jul 09:38
Picon

Re: HELP - data location

The data files are always stored in the WAR extraction directory. If  
you take a look at the applications dir you will find that it  
contains an extracted copy of the WAR (only when running, static  
files from the WAR are deleted after shutdown). So, you can set the  
WAR extraction directory in tomcat to some other directory and the  
files will be stored there.

Leo.

On 02.07.2006, at 15:25, Scott Heaberlin wrote:

> On a related note, how can I configure where the .war distribution  
> stores files?
>
> Thanks,
>
> Scott Heaberlin
>
> On 7/1/06, Matthias Kurz <mk <at> baerlap.north.de> wrote:
>> On Sat, Jul 01, 2006 at 08:45:37PM +0200, Matthias L. Jugel wrote:
>>> Thats not true, fortunately :-)
>>>
>>> You can start SnipSnap with a location for the "applications"  
>>> directory:
>>>
>>> java -jar snipsnap.jar -root "U:\Some\Directory" will place the
>>> "applications" directory in "Directory"
>>
>> That worked (can you see the tears in my eyes?).
>> I want to install on an external drive that i will carry with me.
(Continue reading)

Scott Eade | 5 Jul 05:42
Picon
Favicon

Problem getting SnipSnap 1.0b3-uttoxeter to work

I am attempting to get SnipSnap 1.0b3-uttoxeter to run on a fedora core 
5 machine.  It seems that the ConfigureServlet is encountering an exception:

Jul 5, 2006 12:26:18 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet 
org.snipsnap.net.admin.ConfigureServlet threw exception
java.lang.ClassCastException: gnu.mail.handler.TextPlain
        at 
javax.activation.MailcapCommandMap.createDataContentHandler(MailcapCommandMap.java:496)
        at 
javax.activation.DataHandler.getDataContentHandler(DataHandler.java:568)
        at javax.activation.DataHandler.getContent(DataHandler.java:501)
        at 
javax.mail.internet.MimeBodyPart.getContent(MimeBodyPart.java:564)
        at 
org.snipsnap.net.filter.MultipartWrapper.<init>(MultipartWrapper.java:80)
        at 
org.snipsnap.net.admin.ConfigureServlet.doGet(ConfigureServlet.java:178)
        at 
org.snipsnap.net.admin.ConfigureServlet.doPost(ConfigureServlet.java:168)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.snipsnap.net.filter.InitFilter.doFilter(InitFilter.java:362)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
        at 
(Continue reading)

Matthias L. Jugel | 5 Jul 08:29
Picon

Re: Problem getting SnipSnap 1.0b3-uttoxeter to work

This looks like a jar file clash. Check your tomcat installation if  
it contains mail.jar or similar. Either disable it (move away) or  
remove the corresponding mail.jar in the snipsnap.war (using a zip  
editor).

Leo.

On 05.07.2006, at 05:42, Scott Eade wrote:

> I am attempting to get SnipSnap 1.0b3-uttoxeter to run on a fedora  
> core
> 5 machine.  It seems that the ConfigureServlet is encountering an  
> exception:
>
> Jul 5, 2006 12:26:18 PM  
> org.apache.catalina.core.StandardWrapperValve invoke
> SEVERE: Servlet.service() for servlet
> org.snipsnap.net.admin.ConfigureServlet threw exception
> java.lang.ClassCastException: gnu.mail.handler.TextPlain
>         at
> javax.activation.MailcapCommandMap.createDataContentHandler 
> (MailcapCommandMap.java:496)
>         at
> javax.activation.DataHandler.getDataContentHandler(DataHandler.java: 
> 568)
>         at javax.activation.DataHandler.getContent(DataHandler.java: 
> 501)
>         at
> javax.mail.internet.MimeBodyPart.getContent(MimeBodyPart.java:564)
>         at
(Continue reading)

Scott Eade | 5 Jul 12:33
Picon
Favicon

Re: Problem getting SnipSnap 1.0b3-uttoxeter to work

Matthias L. Jugel wrote:
> This looks like a jar file clash. Check your tomcat installation if it 
> contains mail.jar or similar. Either disable it (move away) or remove 
> the corresponding mail.jar in the snipsnap.war (using a zip editor).

Okay, I eliminated mail.jar (and activation.jar) from the exploded 
snipsnap lib directory (tomcat 5.5 includes mail and jaf in common/lib).

Using tomcat-users.xml I can now get past the basic authentication to 
the "Login to continue" page where the installation key is entered, but 
when I enter the key and click "Next >>" it just comes back to the same 
page with a message: "You are not authenticated. Login to proceed." over 
on the left hand side.

The log shows nothing.

So where to from here?  Is there something special I am meant to do for 
1.0b3 to make it work?

Thanks in advance for any advice,

Scott
Matthias L. Jugel | 5 Jul 12:55
Picon

Re: Problem getting SnipSnap 1.0b3-uttoxeter to work

Do you have Cookies enabled in your web browser?
The symptoms look like the authentication (which has nothing to do  
with the basic auth) does not work, because it cannot save the session.

Leo.

On 05.07.2006, at 12:33, Scott Eade wrote:

> Matthias L. Jugel wrote:
>> This looks like a jar file clash. Check your tomcat installation  
>> if it
>> contains mail.jar or similar. Either disable it (move away) or remove
>> the corresponding mail.jar in the snipsnap.war (using a zip editor).
>
> Okay, I eliminated mail.jar (and activation.jar) from the exploded
> snipsnap lib directory (tomcat 5.5 includes mail and jaf in common/ 
> lib).
>
> Using tomcat-users.xml I can now get past the basic authentication to
> the "Login to continue" page where the installation key is entered,  
> but
> when I enter the key and click "Next >>" it just comes back to the  
> same
> page with a message: "You are not authenticated. Login to proceed."  
> over
> on the left hand side.
>
> The log shows nothing.
>
> So where to from here?  Is there something special I am meant to do  
(Continue reading)


Gmane