not able to connect database

View: New views
6 Messages — Rating Filter:   Alert me  

not able to connect database

by mamathabenarjee :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Im using jspwiki with my sql database im not able to connect to that i m getting null pointer exception at preparedstatement()

Re: not able to connect database

by Kris Glover :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
<mamatha_jangili@...>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.
>
>

Re: not able to connect database

by mamathabenarjee :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
<mamatha_jangili@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.
>
>

Re: not able to connect database

by Kris Glover :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <mamatha_jangili@...> 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
> > <mamatha_jangili@...>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

by mamathabenarjee :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <mamatha_jangili@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
> > <mamatha_jangili@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

by mamathabenarjee :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <mamatha_jangili@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
> > <mamatha_jangili@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.
>
>