You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jspwiki.apache.org by mamathabenarjee <ma...@live.com> on 2009/08/24 13:51:14 UTC
not able to connect database
Im using jspwiki with my sql database im not able to connect to that i m
getting null pointer exception at preparedstatement()
--
View this message in context: http://www.nabble.com/not-able-to-connect-database-tp25114691p25114691.html
Sent from the JspWiki - User mailing list archive at Nabble.com.
Re: not able to connect database
Posted by mamathabenarjee <ma...@live.com>.
I am using mysql for only usermanagement and im storing files in
filemanagement .for connecting to mysql im getting can't load class
com.mysql.jdbc.Driver error. i added mysql 5.1 jar to library and one more
doubt where i need to keep build.properties
Kris Glover wrote:
>
> If your using the VersioningFileProvider then all of your pages will be
> stored on your file system. I'm not exactly sure how you are trying to use
> your database.
>
> In 2.8.2 the only database support that is built in that I am aware of is
> for user/group management. Is that what you are using mysql for?
>
> Sorry for all the questions about your problem but there is very little
> information in your posts so it's hard to understand what your intent is
> and
> where it's going wrong.
>
> Could you give us a quick explanation on what your trying to accomplish?
> I'm
> pretty sure you'll get more responses if everyone understands your issue.
> Also, if you have made any custom configurations and/or have any
> stacktraces/error logs please share them as well.
>
> Thanks,
> Kris
>
> Tue,
>
> Aug 25, 2009 at 1:13 AM, mamathabenarjee <ma...@live.com>
> wrote:
>
>>
>> page provider VersioningFileProvider,
>> jspwiki 2.8.2 version im using
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Kris Glover wrote:
>> >
>> > Could you let us know which page provider you are using? Also which
>> > version
>> > of JSPWiki? From my understanding there is no JDBC page provider that
>> is
>> > distributed with JSPWiki so I'm guessing your using a contributed one?
>> >
>> > Thanks,
>> > Kris
>> >
>> > On Mon, Aug 24, 2009 at 7:51 AM, mamathabenarjee
>> > <ma...@live.com>wrote:
>> >
>> >>
>> >> Im using jspwiki with my sql database im not able to connect to that i
>> m
>> >> getting null pointer exception at preparedstatement()
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/not-able-to-connect-database-tp25114691p25114691.html
>> >> Sent from the JspWiki - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/not-able-to-connect-database-tp25114691p25128522.html
>> Sent from the JspWiki - User mailing list archive at Nabble.com.
>>
>>
>
>
--
View this message in context: http://www.nabble.com/not-able-to-connect-database-tp25114691p25146293.html
Sent from the JspWiki - User mailing list archive at Nabble.com.
Re: not able to connect database
Posted by mamathabenarjee <ma...@live.com>.
Now im able to connect to database for authentication. but it is not
authorising after i click submit it is showing the forbidden.html. im using
jaas authentication. if im using container authentication after clicking
submit button im still on the login.jsp only in browser it is showing
jspwiki/j_security_check.
pls give soln
Kris Glover wrote:
>
> If your using the VersioningFileProvider then all of your pages will be
> stored on your file system. I'm not exactly sure how you are trying to use
> your database.
>
> In 2.8.2 the only database support that is built in that I am aware of is
> for user/group management. Is that what you are using mysql for?
>
> Sorry for all the questions about your problem but there is very little
> information in your posts so it's hard to understand what your intent is
> and
> where it's going wrong.
>
> Could you give us a quick explanation on what your trying to accomplish?
> I'm
> pretty sure you'll get more responses if everyone understands your issue.
> Also, if you have made any custom configurations and/or have any
> stacktraces/error logs please share them as well.
>
> Thanks,
> Kris
>
> Tue,
>
> Aug 25, 2009 at 1:13 AM, mamathabenarjee <ma...@live.com>
> wrote:
>
>>
>> page provider VersioningFileProvider,
>> jspwiki 2.8.2 version im using
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Kris Glover wrote:
>> >
>> > Could you let us know which page provider you are using? Also which
>> > version
>> > of JSPWiki? From my understanding there is no JDBC page provider that
>> is
>> > distributed with JSPWiki so I'm guessing your using a contributed one?
>> >
>> > Thanks,
>> > Kris
>> >
>> > On Mon, Aug 24, 2009 at 7:51 AM, mamathabenarjee
>> > <ma...@live.com>wrote:
>> >
>> >>
>> >> Im using jspwiki with my sql database im not able to connect to that i
>> m
>> >> getting null pointer exception at preparedstatement()
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/not-able-to-connect-database-tp25114691p25114691.html
>> >> Sent from the JspWiki - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/not-able-to-connect-database-tp25114691p25128522.html
>> Sent from the JspWiki - User mailing list archive at Nabble.com.
>>
>>
>
>
--
View this message in context: http://www.nabble.com/not-able-to-connect-database-tp25114691p25151128.html
Sent from the JspWiki - User mailing list archive at Nabble.com.
Re: not able to connect database
Posted by Kris Glover <kr...@gmail.com>.
If your using the VersioningFileProvider then all of your pages will be
stored on your file system. I'm not exactly sure how you are trying to use
your database.
In 2.8.2 the only database support that is built in that I am aware of is
for user/group management. Is that what you are using mysql for?
Sorry for all the questions about your problem but there is very little
information in your posts so it's hard to understand what your intent is and
where it's going wrong.
Could you give us a quick explanation on what your trying to accomplish? I'm
pretty sure you'll get more responses if everyone understands your issue.
Also, if you have made any custom configurations and/or have any
stacktraces/error logs please share them as well.
Thanks,
Kris
Tue,
Aug 25, 2009 at 1:13 AM, mamathabenarjee <ma...@live.com> wrote:
>
> page provider VersioningFileProvider,
> jspwiki 2.8.2 version im using
>
>
>
>
>
>
>
>
>
>
>
> Kris Glover wrote:
> >
> > Could you let us know which page provider you are using? Also which
> > version
> > of JSPWiki? From my understanding there is no JDBC page provider that is
> > distributed with JSPWiki so I'm guessing your using a contributed one?
> >
> > Thanks,
> > Kris
> >
> > On Mon, Aug 24, 2009 at 7:51 AM, mamathabenarjee
> > <ma...@live.com>wrote:
> >
> >>
> >> Im using jspwiki with my sql database im not able to connect to that i m
> >> getting null pointer exception at preparedstatement()
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/not-able-to-connect-database-tp25114691p25114691.html
> >> Sent from the JspWiki - User mailing list archive at Nabble.com.
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/not-able-to-connect-database-tp25114691p25128522.html
> Sent from the JspWiki - User mailing list archive at Nabble.com.
>
>
Re: not able to connect database
Posted by mamathabenarjee <ma...@live.com>.
page provider VersioningFileProvider,
jspwiki 2.8.2 version im using
Kris Glover wrote:
>
> Could you let us know which page provider you are using? Also which
> version
> of JSPWiki? From my understanding there is no JDBC page provider that is
> distributed with JSPWiki so I'm guessing your using a contributed one?
>
> Thanks,
> Kris
>
> On Mon, Aug 24, 2009 at 7:51 AM, mamathabenarjee
> <ma...@live.com>wrote:
>
>>
>> Im using jspwiki with my sql database im not able to connect to that i m
>> getting null pointer exception at preparedstatement()
>> --
>> View this message in context:
>> http://www.nabble.com/not-able-to-connect-database-tp25114691p25114691.html
>> Sent from the JspWiki - User mailing list archive at Nabble.com.
>>
>>
>
>
--
View this message in context: http://www.nabble.com/not-able-to-connect-database-tp25114691p25128522.html
Sent from the JspWiki - User mailing list archive at Nabble.com.
Re: not able to connect database
Posted by Kris Glover <kr...@gmail.com>.
Could you let us know which page provider you are using? Also which version
of JSPWiki? From my understanding there is no JDBC page provider that is
distributed with JSPWiki so I'm guessing your using a contributed one?
Thanks,
Kris
On Mon, Aug 24, 2009 at 7:51 AM, mamathabenarjee
<ma...@live.com>wrote:
>
> Im using jspwiki with my sql database im not able to connect to that i m
> getting null pointer exception at preparedstatement()
> --
> View this message in context:
> http://www.nabble.com/not-able-to-connect-database-tp25114691p25114691.html
> Sent from the JspWiki - User mailing list archive at Nabble.com.
>
>