[OFBiz] Users - Logging in on Webtools
Craig Griffith
cgriffith at sourceview.com
Thu Oct 27 14:15:13 EDT 2005
Cool!
Thanks for that info, which has gotten me to a somewhat interesting
set if screens.
Now I'm trying to sign in on WebTools port, but I can't get in!! I
have user ofbiz (password ofbiz) as a user on my system, a user in
Postgres, and jdbc-username and jdbc-password are ofbiz in my datasource. But
Service [userLogin] Failed (Exception on
rollback:java.rmi.RemoteException: rollback: Unexpected XAException:7)
is what I get when I try to sign in on "Resgistered User Login"
dialog. What's the magic here?
/Craig
>Message: 6
>Date: Thu, 27 Oct 2005 10:30:29 +0200
>From: "Firas A." <ofbiz at idigna.com>
>Subject: RE: [OFBiz] Users - Format of jdbc-uri
>To: "'OFBiz Users / Usage Discussion'" <users at lists.ofbiz.org>
>Message-ID: <200510270322.j9R3MGo23318 at jaz.jportfolio.com>
>Content-Type: text/plain; charset="us-ascii"
>
>Hi,
>
>I'm running on PostgreSQL 8 and here is what I did:
>In /framework/entity/config/entityengine.xml I editet the default delegator
>to look like:
><delegator name="default" entity-model-reader="main"
>entity-group-reader="main" entity-eca-reader="main"
>distributed-cache-clear-enabled="false">
> <group-map group-name="org.ofbiz" datasource-name="localpostgres"/>
>
>The 'datasource-name' attribute should be equal to "localpostgres". Then,
>later in the same file find element:
><datasource name="localpostgres"...
>
>Under this element there's a subelement:
> <inline-jdbc...
>Changed the following attributes of this subelement:
> jdbc-uri="jdbc:postgresql://127.0.0.1:5432/myofbiz"
> jdbc-username="admin"
> jdbc-password="pass"
>
>Then I created a database in PostgreSQL, called it 'myofbiz'.
>Last but not least I run: ant run-install
>
>The problem of not beign able to access ecommerce on 8080 has really nothing
>to do with this setup. Check your settings in
>/base/config/ofbiz-containers.xml
>
>Look particularly for this element
><property name="http-connector" value="connector">
>...
> <property name="port" value="8080" />
>...
></property>
>
>Hope this helps
>
></Firas>
>
>
>-----Original Message-----
>From: users-bounces at lists.ofbiz.org [mailto:users-bounces at lists.ofbiz.org]
>On Behalf Of Craig Griffith
>Sent: den 26 oktober 2005 22:55
>To: users at lists.ofbiz.org
>Subject: [OFBiz] Users - Format of jdbc-uri
>
>I am trying to switch my newly installed ofbiz over to my newly installed
>postgres-8.1 but have been unsuccessful so far. The Production Setup is
>unclear on the modification I need here. I have copied over the postgres
>datasourcce and modified ofbiz to an existing database, and
>jdbc-username/password to postgres, but Port 8080/ecommerce does not respond
>when I put the new datasource in the delegator. What am I missing in the
>config (OfBiz or Postgres)?
>
> /Craig
>
>
>_______________________________________________
>Users mailing list
>Users at lists.ofbiz.org
>http://lists.ofbiz.org/mailman/listinfo/users
>
>
>
>------------------------------
More information about the Users
mailing list