[GeoNetwork-devel] Cannot log in, NullPointerException

Hi,

We have deployed GeoNetwork to WebSphere 6.1 on a development PC. We can
fire up GeoNetwork but it's not completely working.

The main page comes up and everything displays correctly however when I try
to login as the admin using admin/admin or any other userid and password, an
error is displayed reading “The requested operation could not be performed”.
Right below the error message “NullPointerException:” is displayed.

I am using Oracle for my database and updated the config.xml to the
following:

    <resource enabled="true">
       <name>main-db</name>
       <provider>jeeves.resources.dbms.DbmsPool</provider>
       <config>
           <user>myDBUserid</user>
           <password>myDBPassword</password>
           <driver>oracle.jdbc.driver.OracleDriver</driver>
           <url>jdbc:oracle:thin:@myDBServer:2901:cdd4</url>
           <poolSize>10</poolSize>
       </config>
    </resource>

Any help greatly appreciated.

Thanks, Bob

--
View this message in context: http://www.nabble.com/Cannot-log-in%2C-NullPointerException-tp18076751p18076751.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.

hi,

this really sounds like you don’t have a properly working connection to your database. To check that, do you see a list of regions in the regions dropdownlist, near the minimap ? (you’ll only have them if your database connection is working properly).

regards
heikki

On Mon, Jun 23, 2008 at 9:41 PM, Bob Nutsch <bnutsch@anonymised.com> wrote:

Hi,

We have deployed GeoNetwork to WebSphere 6.1 on a development PC. We can
fire up GeoNetwork but it’s not completely working.

The main page comes up and everything displays correctly however when I try
to login as the admin using admin/admin or any other userid and password, an
error is displayed reading “The requested operation could not be performed”.
Right below the error message “NullPointerException:” is displayed.

I am using Oracle for my database and updated the config.xml to the
following:

main-db jeeves.resources.dbms.DbmsPool myDBUserid myDBPassword oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@myDBServer:2901:cdd4 10

Any help greatly appreciated.

Thanks, Bob


View this message in context: http://www.nabble.com/Cannot-log-in%2C-NullPointerException-tp18076751p18076751.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.


Check out the new SourceForge.net Marketplace.
It’s the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork


Inventions cannot, in nature, be a subject of property. – Thomas Jefferson

Hello Heikki,

Thanks for the input. We do have regions appearing in the dropdown list.
We changed the name of a region in oracle and that change came through in
the dropdown list.

We are wondering if we should be logging in as admin/admin or using the
Oracle userid/password? We've tried both approaches and get the same
results.

Thanks, Bob

heikki doeleman wrote:

hi,

this really sounds like you don't have a properly working connection to
your
database. To check that, do you see a list of regions in the regions
dropdownlist, near the minimap ? (you'll only have them if your database
connection is working properly).

regards
heikki

On Mon, Jun 23, 2008 at 9:41 PM, Bob Nutsch <bnutsch@anonymised.com> wrote:

Hi,

We have deployed GeoNetwork to WebSphere 6.1 on a development PC. We can
fire up GeoNetwork but it's not completely working.

The main page comes up and everything displays correctly however when I
try
to login as the admin using admin/admin or any other userid and password,
an
error is displayed reading "The requested operation could not be
performed".
Right below the error message "NullPointerException:" is displayed.

I am using Oracle for my database and updated the config.xml to the
following:

               <resource enabled="true">
                        <name>main-db</name>
                       
<provider>jeeves.resources.dbms.DbmsPool</provider>
                        <config>
                                        <user>myDBUserid</user>
                                        <password>myDBPassword</password>

<driver>oracle.jdbc.driver.OracleDriver</driver>
                                        <url>jdbc:oracle:thin:@myDBServer
:2901:cdd4</url>
                                        <poolSize>10</poolSize>
                        </config>
               </resource>

Any help greatly appreciated.

Thanks, Bob

--
View this message in context:
http://www.nabble.com/Cannot-log-in%2C-NullPointerException-tp18076751p18076751.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
Inventions cannot, in nature, be a subject of property. -- Thomas
Jefferson

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
View this message in context: http://www.nabble.com/Cannot-log-in%2C-NullPointerException-tp18076751p18077816.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.

Hi Bob,
Normally this should be admin/admin and not your db username and password since that one is not related to the user account for the application. If you can't resolve this, you may need to manually edit the password in Oracle...
Ciao,
Jeroen

On Jun 23, 2008, at 10:32 PM, Bob Nutsch wrote:

Hello Heikki,

Thanks for the input. We do have regions appearing in the dropdown list.
We changed the name of a region in oracle and that change came through in
the dropdown list.

We are wondering if we should be logging in as admin/admin or using the
Oracle userid/password? We've tried both approaches and get the same
results.

Thanks, Bob

heikki doeleman wrote:

hi,

this really sounds like you don't have a properly working connection to
your
database. To check that, do you see a list of regions in the regions
dropdownlist, near the minimap ? (you'll only have them if your database
connection is working properly).

regards
heikki

On Mon, Jun 23, 2008 at 9:41 PM, Bob Nutsch <bnutsch@anonymised.com> wrote:

Hi,

We have deployed GeoNetwork to WebSphere 6.1 on a development PC. We can
fire up GeoNetwork but it's not completely working.

The main page comes up and everything displays correctly however when I
try
to login as the admin using admin/admin or any other userid and password,
an
error is displayed reading "The requested operation could not be
performed".
Right below the error message "NullPointerException:" is displayed.

I am using Oracle for my database and updated the config.xml to the
following:

              <resource enabled="true">
                       <name>main-db</name>

<provider>jeeves.resources.dbms.DbmsPool</provider>
                       <config>
                                       <user>myDBUserid</user>
                                       <password>myDBPassword</password>

<driver>oracle.jdbc.driver.OracleDriver</driver>
                                       <url>jdbc:oracle:thin:@myDBServer
:2901:cdd4</url>
                                       <poolSize>10</poolSize>
                       </config>
              </resource>

Any help greatly appreciated.

Thanks, Bob

--
View this message in context:
http://www.nabble.com/Cannot-log-in%2C-NullPointerException-tp18076751p18076751.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
Inventions cannot, in nature, be a subject of property. -- Thomas
Jefferson

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
View this message in context: http://www.nabble.com/Cannot-log-in%2C-NullPointerException-tp18076751p18077816.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

hi,

logging in using admin/admin should work … maybe you could look in the log file in jetty/logs/geonetwork.log to see if you find some hint as to what goes wrong? The log file tends to contain more information than the container’s console.

Did you do anything else than install a standard version of GeoNetwork ? No modifications, or anything ?

On Mon, Jun 23, 2008 at 10:32 PM, Bob Nutsch <bnutsch@anonymised.com> wrote:

Hello Heikki,

Thanks for the input. We do have regions appearing in the dropdown list.
We changed the name of a region in oracle and that change came through in
the dropdown list.

We are wondering if we should be logging in as admin/admin or using the
Oracle userid/password? We’ve tried both approaches and get the same
results.

Thanks, Bob

heikki doeleman wrote:

hi,

this really sounds like you don’t have a properly working connection to
your
database. To check that, do you see a list of regions in the regions
dropdownlist, near the minimap ? (you’ll only have them if your database
connection is working properly).

regards
heikki

On Mon, Jun 23, 2008 at 9:41 PM, Bob Nutsch <bnutsch@anonymised.com> wrote:

Hi,

We have deployed GeoNetwork to WebSphere 6.1 on a development PC. We can
fire up GeoNetwork but it’s not completely working.

The main page comes up and everything displays correctly however when I
try
to login as the admin using admin/admin or any other userid and password,
an
error is displayed reading “The requested operation could not be
performed”.
Right below the error message “NullPointerException:” is displayed.

I am using Oracle for my database and updated the config.xml to the
following:

main-db

jeeves.resources.dbms.DbmsPool

myDBUserid
myDBPassword

oracle.jdbc.driver.OracleDriver
jdbc:oracle:thin:@myDBServer
:2901:cdd4
10

Any help greatly appreciated.

Thanks, Bob


View this message in context:
http://www.nabble.com/Cannot-log-in%2C-NullPointerException-tp18076751p18076751.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.


Check out the new SourceForge.net Marketplace.
It’s the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork


Inventions cannot, in nature, be a subject of property. – Thomas
Jefferson


Check out the new SourceForge.net Marketplace.
It’s the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

View this message in context: http://www.nabble.com/Cannot-log-in%2C-NullPointerException-tp18076751p18077816.html

Sent from the geonetwork-devel mailing list archive at Nabble.com.


Check out the new SourceForge.net Marketplace.
It’s the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork


Inventions cannot, in nature, be a subject of property. – Thomas Jefferson

Hi,

We are using WebSphere, not Jetty so there should not be any Jetty info. We
double-checked, there isn't even a Jetty folder. :slight_smile:

So far our install has been normal, though we have deployed to WebSphere and
are using Oracle.

Thanks for the input.

Regards, Bob

heikki doeleman wrote:

hi,

logging in using admin/admin should work .. maybe you could look in the
log
file in jetty/logs/geonetwork.log to see if you find some hint as to what
goes wrong? The log file tends to contain more information than the
container's console.

Did you do anything else than install a standard version of GeoNetwork ?
No
modifications, or anything ?

On Mon, Jun 23, 2008 at 10:32 PM, Bob Nutsch <bnutsch@anonymised.com> wrote:

Hello Heikki,

Thanks for the input. We do have regions appearing in the dropdown list.
We changed the name of a region in oracle and that change came through in
the dropdown list.

We are wondering if we should be logging in as admin/admin or using the
Oracle userid/password? We've tried both approaches and get the same
results.

Thanks, Bob

heikki doeleman wrote:
>
> hi,
>
> this really sounds like you don't have a properly working connection to
> your
> database. To check that, do you see a list of regions in the regions
> dropdownlist, near the minimap ? (you'll only have them if your
database
> connection is working properly).
>
> regards
> heikki
>
>
>
> On Mon, Jun 23, 2008 at 9:41 PM, Bob Nutsch <bnutsch@anonymised.com> wrote:
>
>>
>> Hi,
>>
>> We have deployed GeoNetwork to WebSphere 6.1 on a development PC. We
can
>> fire up GeoNetwork but it's not completely working.
>>
>> The main page comes up and everything displays correctly however when
I
>> try
>> to login as the admin using admin/admin or any other userid and
password,
>> an
>> error is displayed reading "The requested operation could not be
>> performed".
>> Right below the error message "NullPointerException:" is displayed.
>>
>> I am using Oracle for my database and updated the config.xml to the
>> following:
>>
>> <resource enabled="true">
>> <name>main-db</name>
>>
>> <provider>jeeves.resources.dbms.DbmsPool</provider>
>> <config>
>> <user>myDBUserid</user>
>>
<password>myDBPassword</password>
>>
>> <driver>oracle.jdbc.driver.OracleDriver</driver>
>>
<url>jdbc:oracle:thin:@myDBServer
>> :2901:cdd4</url>
>> <poolSize>10</poolSize>
>> </config>
>> </resource>
>>
>> Any help greatly appreciated.
>>
>> Thanks, Bob
>>
>>
>> --
>> View this message in context:
>>
http://www.nabble.com/Cannot-log-in%2C-NullPointerException-tp18076751p18076751.html
>> Sent from the geonetwork-devel mailing list archive at Nabble.com.
>>
>>
>>
-------------------------------------------------------------------------
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://sourceforge.net/services/buy/index.php
>> _______________________________________________
>> GeoNetwork-devel mailing list
>> GeoNetwork-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
>> GeoNetwork OpenSource is maintained at
>> http://sourceforge.net/projects/geonetwork
>
>
>
>
> --
> Inventions cannot, in nature, be a subject of property. -- Thomas
> Jefferson
>
>
-------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> GeoNetwork-devel mailing list
> GeoNetwork-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
> GeoNetwork OpenSource is maintained at
> http://sourceforge.net/projects/geonetwork
>

--
View this message in context:
http://www.nabble.com/Cannot-log-in%2C-NullPointerException-tp18076751p18077816.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
Inventions cannot, in nature, be a subject of property. -- Thomas
Jefferson

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
View this message in context: http://www.nabble.com/Cannot-log-in%2C-NullPointerException-tp18076751p18091976.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.

Hi Jeroen,

When running on a default install of GeoNetwork (using Jetty,McKoi) I can
log in as admin/admin, change the password, and noted that the config.xml
was untouched, but one of the files in the McKoi directory was touched.
When I try to log in with a bad password, I get a message stating, "The
username or password is wrong..." which I would expect. But on our
WebSphere installation, we simply get the nullpointexception which suggests
to us there is a basic problem with the system finding what it needs. Is the
admin/admin userid and password stored in the application, the DB or
somewhere else? Since we get the null pointer exception regardless of what
we enter for a userid and password it would seem that there is a piece
missing in our application. Is there some security setup that we are
missing?

Thanks, Bob

Jeroen Ticheler-3 wrote:

Hi Bob,
Normally this should be admin/admin and not your db username and
password since that one is not related to the user account for the
application. If you can't resolve this, you may need to manually edit
the password in Oracle...
Ciao,
Jeroen

On Jun 23, 2008, at 10:32 PM, Bob Nutsch wrote:

Hello Heikki,

Thanks for the input. We do have regions appearing in the dropdown
list.
We changed the name of a region in oracle and that change came
through in
the dropdown list.

We are wondering if we should be logging in as admin/admin or using
the
Oracle userid/password? We've tried both approaches and get the same
results.

Thanks, Bob

heikki doeleman wrote:

hi,

this really sounds like you don't have a properly working
connection to
your
database. To check that, do you see a list of regions in the regions
dropdownlist, near the minimap ? (you'll only have them if your
database
connection is working properly).

regards
heikki

On Mon, Jun 23, 2008 at 9:41 PM, Bob Nutsch <bnutsch@anonymised.com> wrote:

Hi,

We have deployed GeoNetwork to WebSphere 6.1 on a development PC.
We can
fire up GeoNetwork but it's not completely working.

The main page comes up and everything displays correctly however
when I
try
to login as the admin using admin/admin or any other userid and
password,
an
error is displayed reading "The requested operation could not be
performed".
Right below the error message "NullPointerException:" is displayed.

I am using Oracle for my database and updated the config.xml to the
following:

              <resource enabled="true">
                       <name>main-db</name>

<provider>jeeves.resources.dbms.DbmsPool</provider>
                       <config>
                                       <user>myDBUserid</user>
                                       <password>myDBPassword</
password>

<driver>oracle.jdbc.driver.OracleDriver</driver>
                                        
<url>jdbc:oracle:thin:@myDBServer
:2901:cdd4</url>
                                       <poolSize>10</poolSize>
                       </config>
              </resource>

Any help greatly appreciated.

Thanks, Bob

--
View this message in context:
http://www.nabble.com/Cannot-log-in%2C-NullPointerException-tp18076751p18076751.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
Inventions cannot, in nature, be a subject of property. -- Thomas
Jefferson

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
View this message in context:
http://www.nabble.com/Cannot-log-in%2C-NullPointerException-tp18076751p18077816.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
View this message in context: http://www.nabble.com/Cannot-log-in%2C-NullPointerException-tp18076751p18092507.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.

Hi Bruce,
Hard to say what's happening... The user details are stored in the database. How did you set up the Oracle database? Do you have more detailed log output for me?
Ciao,
Jeroen

On Jun 24, 2008, at 4:38 PM, Bob Nutsch wrote:

Hi Jeroen,

When running on a default install of GeoNetwork (using Jetty,McKoi) I can
log in as admin/admin, change the password, and noted that the config.xml
was untouched, but one of the files in the McKoi directory was touched.
When I try to log in with a bad password, I get a message stating, "The
username or password is wrong..." which I would expect. But on our
WebSphere installation, we simply get the nullpointexception which suggests
to us there is a basic problem with the system finding what it needs. Is the
admin/admin userid and password stored in the application, the DB or
somewhere else? Since we get the null pointer exception regardless of what
we enter for a userid and password it would seem that there is a piece
missing in our application. Is there some security setup that we are
missing?

Thanks, Bob

Jeroen Ticheler-3 wrote:

Hi Bob,
Normally this should be admin/admin and not your db username and
password since that one is not related to the user account for the
application. If you can't resolve this, you may need to manually edit
the password in Oracle...
Ciao,
Jeroen

On Jun 23, 2008, at 10:32 PM, Bob Nutsch wrote:

Hello Heikki,

Thanks for the input. We do have regions appearing in the dropdown
list.
We changed the name of a region in oracle and that change came
through in
the dropdown list.

We are wondering if we should be logging in as admin/admin or using
the
Oracle userid/password? We've tried both approaches and get the same
results.

Thanks, Bob

heikki doeleman wrote:

hi,

this really sounds like you don't have a properly working
connection to
your
database. To check that, do you see a list of regions in the regions
dropdownlist, near the minimap ? (you'll only have them if your
database
connection is working properly).

regards
heikki

On Mon, Jun 23, 2008 at 9:41 PM, Bob Nutsch <bnutsch@anonymised.com> wrote:

Hi,

We have deployed GeoNetwork to WebSphere 6.1 on a development PC.
We can
fire up GeoNetwork but it's not completely working.

The main page comes up and everything displays correctly however
when I
try
to login as the admin using admin/admin or any other userid and
password,
an
error is displayed reading "The requested operation could not be
performed".
Right below the error message "NullPointerException:" is displayed.

I am using Oracle for my database and updated the config.xml to the
following:

             <resource enabled="true">
                      <name>main-db</name>

<provider>jeeves.resources.dbms.DbmsPool</provider>
                      <config>
                                      <user>myDBUserid</user>
                                      <password>myDBPassword</
password>

<driver>oracle.jdbc.driver.OracleDriver</driver>

<url>jdbc:oracle:thin:@myDBServer
:2901:cdd4</url>
                                      <poolSize>10</poolSize>
                      </config>
             </resource>

Any help greatly appreciated.

Thanks, Bob

--
View this message in context:
http://www.nabble.com/Cannot-log-in%2C-NullPointerException-tp18076751p18076751.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
Inventions cannot, in nature, be a subject of property. -- Thomas
Jefferson

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
View this message in context:
http://www.nabble.com/Cannot-log-in%2C-NullPointerException-tp18076751p18077816.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
View this message in context: http://www.nabble.com/Cannot-log-in%2C-NullPointerException-tp18076751p18092507.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Hi Jeroen,

We set up the Oracle database with GAST. We can see the demo data in those
tables, and we can see the admin/admin info.

We are wondering what logs we should be looking for and where they exist.
We don't have anything showing up on the console. Where is logging switched
on?

Regards, Bob

Jeroen Ticheler-3 wrote:

Hi Bruce,
Hard to say what's happening... The user details are stored in the
database. How did you set up the Oracle database? Do you have more
detailed log output for me?
Ciao,
Jeroen

On Jun 24, 2008, at 4:38 PM, Bob Nutsch wrote:

Hi Jeroen,

When running on a default install of GeoNetwork (using Jetty,McKoi)
I can
log in as admin/admin, change the password, and noted that the
config.xml
was untouched, but one of the files in the McKoi directory was
touched.
When I try to log in with a bad password, I get a message stating,
"The
username or password is wrong..." which I would expect. But on our
WebSphere installation, we simply get the nullpointexception which
suggests
to us there is a basic problem with the system finding what it
needs. Is the
admin/admin userid and password stored in the application, the DB or
somewhere else? Since we get the null pointer exception regardless
of what
we enter for a userid and password it would seem that there is a piece
missing in our application. Is there some security setup that we are
missing?

Thanks, Bob

Jeroen Ticheler-3 wrote:

Hi Bob,
Normally this should be admin/admin and not your db username and
password since that one is not related to the user account for the
application. If you can't resolve this, you may need to manually edit
the password in Oracle...
Ciao,
Jeroen

On Jun 23, 2008, at 10:32 PM, Bob Nutsch wrote:

Hello Heikki,

Thanks for the input. We do have regions appearing in the dropdown
list.
We changed the name of a region in oracle and that change came
through in
the dropdown list.

We are wondering if we should be logging in as admin/admin or using
the
Oracle userid/password? We've tried both approaches and get the
same
results.

Thanks, Bob

heikki doeleman wrote:

hi,

this really sounds like you don't have a properly working
connection to
your
database. To check that, do you see a list of regions in the
regions
dropdownlist, near the minimap ? (you'll only have them if your
database
connection is working properly).

regards
heikki

On Mon, Jun 23, 2008 at 9:41 PM, Bob Nutsch <bnutsch@anonymised.com> wrote:

Hi,

We have deployed GeoNetwork to WebSphere 6.1 on a development PC.
We can
fire up GeoNetwork but it's not completely working.

The main page comes up and everything displays correctly however
when I
try
to login as the admin using admin/admin or any other userid and
password,
an
error is displayed reading "The requested operation could not be
performed".
Right below the error message "NullPointerException:" is
displayed.

I am using Oracle for my database and updated the config.xml to
the
following:

             <resource enabled="true">
                      <name>main-db</name>

<provider>jeeves.resources.dbms.DbmsPool</provider>
                      <config>
                                      <user>myDBUserid</user>
                                      <password>myDBPassword</
password>

<driver>oracle.jdbc.driver.OracleDriver</driver>

<url>jdbc:oracle:thin:@myDBServer
:2901:cdd4</url>
                                      <poolSize>10</poolSize>
                      </config>
             </resource>

Any help greatly appreciated.

Thanks, Bob

--
View this message in context:
http://www.nabble.com/Cannot-log-in%2C-NullPointerException-tp18076751p18076751.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
Inventions cannot, in nature, be a subject of property. -- Thomas
Jefferson

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
View this message in context:
http://www.nabble.com/Cannot-log-in%2C-NullPointerException-tp18076751p18077816.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
View this message in context:
http://www.nabble.com/Cannot-log-in%2C-NullPointerException-tp18076751p18092507.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
View this message in context: http://www.nabble.com/Cannot-log-in%2C-NullPointerException-tp18076751p18140259.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.

Hi Bob,
Logging is done by log4j. the log4j.cfg file defines where logging is written. Using Jetty this would be in the jetty/log folder. Using another servlet engine, this location may be different due to the relative path configured in the log4g.cfg configuration (located in web/geonetwork/WEB-INF). You could hardcode the location used to log. It defaults to:

log4j.appender.jeeves.file = log/geonetwork.log

Ciao,
Jeroen

On Jun 26, 2008, at 8:24 PM, Bob Nutsch wrote:

Hi Jeroen,

We set up the Oracle database with GAST. We can see the demo data in those
tables, and we can see the admin/admin info.

We are wondering what logs we should be looking for and where they exist.
We don't have anything showing up on the console. Where is logging switched
on?

Regards, Bob

Jeroen Ticheler-3 wrote:

Hi Bruce,
Hard to say what's happening... The user details are stored in the
database. How did you set up the Oracle database? Do you have more
detailed log output for me?
Ciao,
Jeroen

On Jun 24, 2008, at 4:38 PM, Bob Nutsch wrote:

Hi Jeroen,

When running on a default install of GeoNetwork (using Jetty,McKoi)
I can
log in as admin/admin, change the password, and noted that the
config.xml
was untouched, but one of the files in the McKoi directory was
touched.
When I try to log in with a bad password, I get a message stating,
"The
username or password is wrong..." which I would expect. But on our
WebSphere installation, we simply get the nullpointexception which
suggests
to us there is a basic problem with the system finding what it
needs. Is the
admin/admin userid and password stored in the application, the DB or
somewhere else? Since we get the null pointer exception regardless
of what
we enter for a userid and password it would seem that there is a piece
missing in our application. Is there some security setup that we are
missing?

Thanks, Bob

Jeroen Ticheler-3 wrote:

Hi Bob,
Normally this should be admin/admin and not your db username and
password since that one is not related to the user account for the
application. If you can't resolve this, you may need to manually edit
the password in Oracle...
Ciao,
Jeroen

On Jun 23, 2008, at 10:32 PM, Bob Nutsch wrote:

Hello Heikki,

Thanks for the input. We do have regions appearing in the dropdown
list.
We changed the name of a region in oracle and that change came
through in
the dropdown list.

We are wondering if we should be logging in as admin/admin or using
the
Oracle userid/password? We've tried both approaches and get the
same
results.

Thanks, Bob

heikki doeleman wrote:

hi,

this really sounds like you don't have a properly working
connection to
your
database. To check that, do you see a list of regions in the
regions
dropdownlist, near the minimap ? (you'll only have them if your
database
connection is working properly).

regards
heikki

On Mon, Jun 23, 2008 at 9:41 PM, Bob Nutsch <bnutsch@anonymised.com> wrote:

Hi,

We have deployed GeoNetwork to WebSphere 6.1 on a development PC.
We can
fire up GeoNetwork but it's not completely working.

The main page comes up and everything displays correctly however
when I
try
to login as the admin using admin/admin or any other userid and
password,
an
error is displayed reading "The requested operation could not be
performed".
Right below the error message "NullPointerException:" is
displayed.

I am using Oracle for my database and updated the config.xml to
the
following:

            <resource enabled="true">
                     <name>main-db</name>

<provider>jeeves.resources.dbms.DbmsPool</provider>
                     <config>
                                     <user>myDBUserid</user>
                                     <password>myDBPassword</
password>

<driver>oracle.jdbc.driver.OracleDriver</driver>

<url>jdbc:oracle:thin:@myDBServer
:2901:cdd4</url>
                                     <poolSize>10</poolSize>
                     </config>
            </resource>

Any help greatly appreciated.

Thanks, Bob

--
View this message in context:
http://www.nabble.com/Cannot-log-in%2C-NullPointerException-tp18076751p18076751.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
Inventions cannot, in nature, be a subject of property. -- Thomas
Jefferson

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
View this message in context:
http://www.nabble.com/Cannot-log-in%2C-NullPointerException-tp18076751p18077816.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
View this message in context:
http://www.nabble.com/Cannot-log-in%2C-NullPointerException-tp18076751p18092507.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
View this message in context: http://www.nabble.com/Cannot-log-in%2C-NullPointerException-tp18076751p18140259.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Hi Jeroen,

We have the log now, thanks, and have attached it to this post. If you
could have a look to get an idea of what might be happening, I'd sure
appreciate it.

Thanks, Bob
http://www.nabble.com/file/p18214986/geonetwork.log geonetwork.log

Jeroen Ticheler-3 wrote:

Hi Bob,
Logging is done by log4j. the log4j.cfg file defines where logging is
written. Using Jetty this would be in the jetty/log folder. Using
another servlet engine, this location may be different due to the
relative path configured in the log4g.cfg configuration (located in
web/geonetwork/WEB-INF). You could hardcode the location used to log.
It defaults to:

log4j.appender.jeeves.file = log/geonetwork.log

Ciao,
Jeroen

On Jun 26, 2008, at 8:24 PM, Bob Nutsch wrote:

Hi Jeroen,

We set up the Oracle database with GAST. We can see the demo data
in those
tables, and we can see the admin/admin info.

We are wondering what logs we should be looking for and where they
exist.
We don't have anything showing up on the console. Where is logging
switched
on?

Regards, Bob

Jeroen Ticheler-3 wrote:

Hi Bruce,
Hard to say what's happening... The user details are stored in the
database. How did you set up the Oracle database? Do you have more
detailed log output for me?
Ciao,
Jeroen

On Jun 24, 2008, at 4:38 PM, Bob Nutsch wrote:

Hi Jeroen,

When running on a default install of GeoNetwork (using Jetty,McKoi)
I can
log in as admin/admin, change the password, and noted that the
config.xml
was untouched, but one of the files in the McKoi directory was
touched.
When I try to log in with a bad password, I get a message stating,
"The
username or password is wrong..." which I would expect. But on our
WebSphere installation, we simply get the nullpointexception which
suggests
to us there is a basic problem with the system finding what it
needs. Is the
admin/admin userid and password stored in the application, the DB or
somewhere else? Since we get the null pointer exception regardless
of what
we enter for a userid and password it would seem that there is a
piece
missing in our application. Is there some security setup that we
are
missing?

Thanks, Bob

Jeroen Ticheler-3 wrote:

Hi Bob,
Normally this should be admin/admin and not your db username and
password since that one is not related to the user account for the
application. If you can't resolve this, you may need to manually
edit
the password in Oracle...
Ciao,
Jeroen

On Jun 23, 2008, at 10:32 PM, Bob Nutsch wrote:

Hello Heikki,

Thanks for the input. We do have regions appearing in the
dropdown
list.
We changed the name of a region in oracle and that change came
through in
the dropdown list.

We are wondering if we should be logging in as admin/admin or
using
the
Oracle userid/password? We've tried both approaches and get the
same
results.

Thanks, Bob

heikki doeleman wrote:

hi,

this really sounds like you don't have a properly working
connection to
your
database. To check that, do you see a list of regions in the
regions
dropdownlist, near the minimap ? (you'll only have them if your
database
connection is working properly).

regards
heikki

On Mon, Jun 23, 2008 at 9:41 PM, Bob Nutsch <bnutsch@anonymised.com>
wrote:

Hi,

We have deployed GeoNetwork to WebSphere 6.1 on a development
PC.
We can
fire up GeoNetwork but it's not completely working.

The main page comes up and everything displays correctly however
when I
try
to login as the admin using admin/admin or any other userid and
password,
an
error is displayed reading "The requested operation could not be
performed".
Right below the error message "NullPointerException:" is
displayed.

I am using Oracle for my database and updated the config.xml to
the
following:

            <resource enabled="true">
                     <name>main-db</name>

<provider>jeeves.resources.dbms.DbmsPool</provider>
                     <config>
                                     <user>myDBUserid</user>
                                     <password>myDBPassword</
password>

<driver>oracle.jdbc.driver.OracleDriver</driver>

<url>jdbc:oracle:thin:@myDBServer
:2901:cdd4</url>
                                     <poolSize>10</poolSize>
                     </config>
            </resource>

Any help greatly appreciated.

Thanks, Bob

--
View this message in context:
http://www.nabble.com/Cannot-log-in%2C-NullPointerException-tp18076751p18076751.html
Sent from the geonetwork-devel mailing list archive at
Nabble.com.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
Inventions cannot, in nature, be a subject of property. -- Thomas
Jefferson

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
View this message in context:
http://www.nabble.com/Cannot-log-in%2C-NullPointerException-tp18076751p18077816.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
View this message in context:
http://www.nabble.com/Cannot-log-in%2C-NullPointerException-tp18076751p18092507.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
View this message in context:
http://www.nabble.com/Cannot-log-in%2C-NullPointerException-tp18076751p18140259.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
View this message in context: http://www.nabble.com/Cannot-log-in%2C-NullPointerException-tp18076751p18214986.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.

hi,

I took a quick look and it appears the errors you’re getting indicate that your GeonetContext is null; it’s usually accessed like this

GeonetContext gc = (GeonetContext) context.getHandlerContext(Geonet.CONTEXT_NAME);

but subsequent references to “gc” throw the NullPointerExceptions.

This being so, I have no idea why this is happening. I guess it has to do with exactly how you deployed the application to WebSphere; how did you do it? As the standard GeoNetwork build script does not produce a standard deployable artefact such as an EAR or WAR file.

Recently someone created a build process that outputs a WAR, maybe you have better results with that; see the “sandbox/geonetworkui/BlueNetMEST/” source tree in SVN to find it …

kind regards
heikki doeleman

On Tue, Jul 1, 2008 at 7:05 AM, Bob Nutsch <bnutsch@anonymised.com> wrote:

Hi Jeroen,

We have the log now, thanks, and have attached it to this post. If you
could have a look to get an idea of what might be happening, I’d sure
appreciate it.

Thanks, Bob
http://www.nabble.com/file/p18214986/geonetwork.log geonetwork.log

Jeroen Ticheler-3 wrote:

Hi Bob,
Logging is done by log4j. the log4j.cfg file defines where logging is
written. Using Jetty this would be in the jetty/log folder. Using
another servlet engine, this location may be different due to the
relative path configured in the log4g.cfg configuration (located in
web/geonetwork/WEB-INF). You could hardcode the location used to log.
It defaults to:

log4j.appender.jeeves.file = log/geonetwork.log

Ciao,
Jeroen

On Jun 26, 2008, at 8:24 PM, Bob Nutsch wrote:

Hi Jeroen,

We set up the Oracle database with GAST. We can see the demo data
in those
tables, and we can see the admin/admin info.

We are wondering what logs we should be looking for and where they
exist.
We don’t have anything showing up on the console. Where is logging
switched
on?

Regards, Bob

Jeroen Ticheler-3 wrote:

Hi Bruce,
Hard to say what’s happening… The user details are stored in the
database. How did you set up the Oracle database? Do you have more
detailed log output for me?
Ciao,
Jeroen

On Jun 24, 2008, at 4:38 PM, Bob Nutsch wrote:

Hi Jeroen,

When running on a default install of GeoNetwork (using Jetty,McKoi)
I can
log in as admin/admin, change the password, and noted that the
config.xml
was untouched, but one of the files in the McKoi directory was
touched.
When I try to log in with a bad password, I get a message stating,
“The
username or password is wrong…” which I would expect. But on our
WebSphere installation, we simply get the nullpointexception which
suggests
to us there is a basic problem with the system finding what it
needs. Is the
admin/admin userid and password stored in the application, the DB or
somewhere else? Since we get the null pointer exception regardless
of what
we enter for a userid and password it would seem that there is a
piece
missing in our application. Is there some security setup that we
are
missing?

Thanks, Bob

Jeroen Ticheler-3 wrote:

Hi Bob,
Normally this should be admin/admin and not your db username and
password since that one is not related to the user account for the
application. If you can’t resolve this, you may need to manually
edit
the password in Oracle…
Ciao,
Jeroen

On Jun 23, 2008, at 10:32 PM, Bob Nutsch wrote:

Hello Heikki,

Thanks for the input. We do have regions appearing in the
dropdown
list.
We changed the name of a region in oracle and that change came
through in
the dropdown list.

We are wondering if we should be logging in as admin/admin or
using
the
Oracle userid/password? We’ve tried both approaches and get the
same
results.

Thanks, Bob

heikki doeleman wrote:

hi,

this really sounds like you don’t have a properly working
connection to
your
database. To check that, do you see a list of regions in the
regions
dropdownlist, near the minimap ? (you’ll only have them if your
database
connection is working properly).

regards
heikki

On Mon, Jun 23, 2008 at 9:41 PM, Bob Nutsch <bnutsch@anonymised.com>
wrote:

Hi,

We have deployed GeoNetwork to WebSphere 6.1 on a development
PC.
We can
fire up GeoNetwork but it’s not completely working.

The main page comes up and everything displays correctly however
when I
try
to login as the admin using admin/admin or any other userid and
password,
an
error is displayed reading “The requested operation could not be
performed”.
Right below the error message “NullPointerException:” is
displayed.

I am using Oracle for my database and updated the config.xml to
the
following:

main-db

jeeves.resources.dbms.DbmsPool

myDBUserid
myDBPassword</
password>

oracle.jdbc.driver.OracleDriver

jdbc:oracle:thin:@myDBServer
:2901:cdd4
10

Any help greatly appreciated.

Thanks, Bob


View this message in context:
http://www.nabble.com/Cannot-log-in%2C-NullPointerException-tp18076751p18076751.html
Sent from the geonetwork-devel mailing list archive at
Nabble.com.


Check out the new SourceForge.net Marketplace.
It’s the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork


Inventions cannot, in nature, be a subject of property. – Thomas
Jefferson


Check out the new SourceForge.net Marketplace.
It’s the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork


View this message in context:
http://www.nabble.com/Cannot-log-in%2C-NullPointerException-tp18076751p18077816.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.


Check out the new SourceForge.net Marketplace.
It’s the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork


Check out the new SourceForge.net Marketplace.
It’s the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork


View this message in context:
http://www.nabble.com/Cannot-log-in%2C-NullPointerException-tp18076751p18092507.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.


Check out the new SourceForge.net Marketplace.
It’s the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork


Check out the new SourceForge.net Marketplace.
It’s the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork


View this message in context:
http://www.nabble.com/Cannot-log-in%2C-NullPointerException-tp18076751p18140259.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.


Check out the new SourceForge.net Marketplace.
It’s the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork


Check out the new SourceForge.net Marketplace.
It’s the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork


View this message in context: http://www.nabble.com/Cannot-log-in%2C-NullPointerException-tp18076751p18214986.html

Sent from the geonetwork-devel mailing list archive at Nabble.com.


Check out the new SourceForge.net Marketplace.
It’s the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork


Inventions cannot, in nature, be a subject of property. – Thomas Jefferson

I have been working with Bob on this issue and it is still NOT resolved. I
have been trying to dig into this deeper and am wondering if the app needs
to reference the JNDI tree in order to instantiate the Context which
apparently is null? If so, is there any properties that I need to change to
point the app to Websphere's JNDI tree instead of its default since I have
the app deployed on a Websphere server? Perhaps I need to update the
jndi.properties file? Or if I am off base are there any other suggestions
as to where I can look? We appreciate the help so far. Thanks.

hi,

I took a quick look and it appears the errors you're getting indicate that
your GeonetContext is null; it's usually accessed like this

        GeonetContext gc = (GeonetContext)
context.getHandlerContext(Geonet.CONTEXT_NAME);

but subsequent references to "gc" throw the NullPointerExceptions.

This being so, I have no idea why this is happening. I guess it has to do
with exactly how you deployed the application to WebSphere; how did you do
it? As the standard GeoNetwork build script does not produce a standard
deployable artefact such as an EAR or WAR file.

Recently someone created a build process that outputs a WAR, maybe you have
better results with that; see the "sandbox/geonetworkui/BlueNetMEST/" source
tree in SVN to find it ..

kind regards
heikki doeleman

On Tue, Jul 1, 2008 at 7:05 AM, Bob Nutsch <bnutsch@anonymised.com> wrote:

Hi Jeroen,

We have the log now, thanks, and have attached it to this post. If you
could have a look to get an idea of what might be happening, I'd sure
appreciate it.

Thanks, Bob
http://www.nabble.com/file/p18214986/geonetwork.log geonetwork.log

Jeroen Ticheler-3 wrote:
>
> Hi Bob,
> Logging is done by log4j. the log4j.cfg file defines where logging is
> written. Using Jetty this would be in the jetty/log folder. Using
> another servlet engine, this location may be different due to the
> relative path configured in the log4g.cfg configuration (located in
> web/geonetwork/WEB-INF). You could hardcode the location used to log.
> It defaults to:
>
> log4j.appender.jeeves.file = log/geonetwork.log
>
> Ciao,
> Jeroen
>
> On Jun 26, 2008, at 8:24 PM, Bob Nutsch wrote:
>
>>
>> Hi Jeroen,
>>
>> We set up the Oracle database with GAST. We can see the demo data
>> in those
>> tables, and we can see the admin/admin info.
>>
>> We are wondering what logs we should be looking for and where they
>> exist.
>> We don't have anything showing up on the console. Where is logging
>> switched
>> on?
>>
>> Regards, Bob
>>
>>
>>
>> Jeroen Ticheler-3 wrote:
>>>
>>> Hi Bruce,
>>> Hard to say what's happening... The user details are stored in the
>>> database. How did you set up the Oracle database? Do you have more
>>> detailed log output for me?
>>> Ciao,
>>> Jeroen
>>>
>>> On Jun 24, 2008, at 4:38 PM, Bob Nutsch wrote:
>>>
>>>>
>>>> Hi Jeroen,
>>>>
>>>> When running on a default install of GeoNetwork (using Jetty,McKoi)
>>>> I can
>>>> log in as admin/admin, change the password, and noted that the
>>>> config.xml
>>>> was untouched, but one of the files in the McKoi directory was
>>>> touched.
>>>> When I try to log in with a bad password, I get a message stating,
>>>> "The
>>>> username or password is wrong..." which I would expect. But on our
>>>> WebSphere installation, we simply get the nullpointexception which
>>>> suggests
>>>> to us there is a basic problem with the system finding what it
>>>> needs. Is the
>>>> admin/admin userid and password stored in the application, the DB or
>>>> somewhere else? Since we get the null pointer exception regardless
>>>> of what
>>>> we enter for a userid and password it would seem that there is a
>>>> piece
>>>> missing in our application. Is there some security setup that we
>>>> are
>>>> missing?
>>>>
>>>> Thanks, Bob
>>>>
>>>>
>>>>
>>>>
>>>> Jeroen Ticheler-3 wrote:
>>>>>
>>>>> Hi Bob,
>>>>> Normally this should be admin/admin and not your db username and
>>>>> password since that one is not related to the user account for the
>>>>> application. If you can't resolve this, you may need to manually
>>>>> edit
>>>>> the password in Oracle...
>>>>> Ciao,
>>>>> Jeroen
>>>>>
>>>>> On Jun 23, 2008, at 10:32 PM, Bob Nutsch wrote:
>>>>>
>>>>>>
>>>>>> Hello Heikki,
>>>>>>
>>>>>> Thanks for the input. We do have regions appearing in the
>>>>>> dropdown
>>>>>> list.
>>>>>> We changed the name of a region in oracle and that change came
>>>>>> through in
>>>>>> the dropdown list.
>>>>>>
>>>>>> We are wondering if we should be logging in as admin/admin or
>>>>>> using
>>>>>> the
>>>>>> Oracle userid/password? We've tried both approaches and get the
>>>>>> same
>>>>>> results.
>>>>>>
>>>>>> Thanks, Bob
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> heikki doeleman wrote:
>>>>>>>
>>>>>>> hi,
>>>>>>>
>>>>>>> this really sounds like you don't have a properly working
>>>>>>> connection to
>>>>>>> your
>>>>>>> database. To check that, do you see a list of regions in the
>>>>>>> regions
>>>>>>> dropdownlist, near the minimap ? (you'll only have them if your
>>>>>>> database
>>>>>>> connection is working properly).
>>>>>>>
>>>>>>> regards
>>>>>>> heikki
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Jun 23, 2008 at 9:41 PM, Bob Nutsch <bnutsch@anonymised.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> We have deployed GeoNetwork to WebSphere 6.1 on a development
>>>>>>>> PC.
>>>>>>>> We can
>>>>>>>> fire up GeoNetwork but it's not completely working.
>>>>>>>>
>>>>>>>> The main page comes up and everything displays correctly however
>>>>>>>> when I
>>>>>>>> try
>>>>>>>> to login as the admin using admin/admin or any other userid and
>>>>>>>> password,
>>>>>>>> an
>>>>>>>> error is displayed reading "The requested operation could not be
>>>>>>>> performed".
>>>>>>>> Right below the error message "NullPointerException:" is
>>>>>>>> displayed.
>>>>>>>>
>>>>>>>> I am using Oracle for my database and updated the config.xml to
>>>>>>>> the
>>>>>>>> following:
>>>>>>>>
>>>>>>>> <resource enabled="true">
>>>>>>>> <name>main-db</name>
>>>>>>>>
>>>>>>>> <provider>jeeves.resources.dbms.DbmsPool</provider>
>>>>>>>> <config>
>>>>>>>> <user>myDBUserid</user>
>>>>>>>> <password>myDBPassword</
>>>>>>>> password>
>>>>>>>>
>>>>>>>> <driver>oracle.jdbc.driver.OracleDriver</driver>
>>>>>>>>
>>>>>>>> <url>jdbc:oracle:thin:@myDBServer
>>>>>>>> :2901:cdd4</url>
>>>>>>>> <poolSize>10</poolSize>
>>>>>>>> </config>
>>>>>>>> </resource>
>>>>>>>>
>>>>>>>> Any help greatly appreciated.
>>>>>>>>
>>>>>>>> Thanks, Bob
>>>>>>>>
>>>>>>>>
>>>>>>>> --

--
View this message in context: http://www.nabble.com/Cannot-log-in%2C-NullPointerException-tp18076751p18635297.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.