Problems with OOB OfBiz on Fedora 9

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Problems with OOB OfBiz on Fedora 9

Philip W. Dalrymple
I am trying to install OfBiz (svn Head from Today) on a Fedora
9 fresh install (using the included java SDK)
java -version gives me


[pwd@spock ofbiz]$ java -version
java version "1.6.0"
OpenJDK  Runtime Environment (build 1.6.0-b09)
OpenJDK Client VM (build 1.6.0-b09, mixed mode)


but when I do a ant run-install to compile and "install" the data
into the data base (postgres) I get:

classes:
  [javac15] Compiling 9 source files to /opt/crmerp/ofbiz/applications/workeffort/build/classes
  [javac15] Note: Some input files use unchecked or unsafe operations.
  [javac15] Note: Recompile with -Xlint:unchecked for details.
     [copy] Copying 2 files to /opt/crmerp/ofbiz/applications/workeffort/build/classes/META-INF

jar:
      [jar] Building jar: /opt/crmerp/ofbiz/applications/workeffort/build/lib/ofbiz-workeffort.jar

clean-lib:

prepare:
    [mkdir] Created dir: /opt/crmerp/ofbiz/applications/product/build/classes
    [mkdir] Created dir: /opt/crmerp/ofbiz/applications/product/build/lib

classes:
  [javac15] Compiling 45 source files to /opt/crmerp/ofbiz/applications/product/build/classes
  [javac15] /opt/crmerp/ofbiz/applications/product/src/org/ofbiz/product/product/ProductWorker.java:528: cannot find symbol
  [javac15] symbol  : method add(java.util.Map<java.lang.String,java.lang.Object>)
  [javac15] location: interface java.util.List<java.util.Map<java.lang.String,java.lang.String>>
  [javac15]                         featureList.add(UtilMisc.toMap("productFeatureTypeId", productFeatureAppl.getString("productFeatureTypeId"),
  [javac15]                                    ^
  [javac15] Note: Some input files use unchecked or unsafe operations.
  [javac15] Note: Recompile with -Xlint:unchecked for details.
  [javac15] 1 error

BUILD FAILED
/opt/crmerp/ofbiz/build.xml:129: The following error occurred while executing this line:
/opt/crmerp/ofbiz/applications/build.xml:67: The following error occurred while executing this line:
/opt/crmerp/ofbiz/macros.xml:27: The following error occurred while executing this line:
/opt/crmerp/ofbiz/applications/product/build.xml:67: Compile failed; see the compiler error output for details.

Total time: 59 seconds

I must be doing something wrong (must be something simple for such a basic error) the compile
completes the framework stuff without problem (some warnings mostly like  warning: [deprecation] toURL() in java.io.File has been deprecated
).

Thanks.



--
This email, and any files transmitted with it, is confidential
and intended solely for the use of the individual or entity to
whom they are addressed.  If you have received this email in error,
please advise [hidden email] <mailto:[hidden email]>.

New MDT Software Headquarters (As of July 1, 2008):
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005


Philip W. Dalrymple III <[hidden email]>
MDT Software - The Change Management Company
+1 678 297 1001
Fax +1 678 297 1003

Reply | Threaded
Open this post in threaded view
|

Re: Problems with OOB OfBiz on Fedora 9

BJ Freeman
openJDK is not the same as the Sun JDK.
you need to install the Sun SDK.
also
if you don't already know
http://docs.ofbiz.org/display/OFBIZ/How+to+run+OFBiz+as+a+Service
there is a linux section.

Philip W. Dalrymple sent the following on 8/11/2008 9:43 AM:

> I am trying to install OfBiz (svn Head from Today) on a Fedora
> 9 fresh install (using the included java SDK)
> java -version gives me
>
>
> [pwd@spock ofbiz]$ java -version
> java version "1.6.0"
> OpenJDK  Runtime Environment (build 1.6.0-b09)
> OpenJDK Client VM (build 1.6.0-b09, mixed mode)
>
>
> but when I do a ant run-install to compile and "install" the data
> into the data base (postgres) I get:
>
> classes:
>   [javac15] Compiling 9 source files to /opt/crmerp/ofbiz/applications/workeffort/build/classes
>   [javac15] Note: Some input files use unchecked or unsafe operations.
>   [javac15] Note: Recompile with -Xlint:unchecked for details.
>      [copy] Copying 2 files to /opt/crmerp/ofbiz/applications/workeffort/build/classes/META-INF
>
> jar:
>       [jar] Building jar: /opt/crmerp/ofbiz/applications/workeffort/build/lib/ofbiz-workeffort.jar
>
> clean-lib:
>
> prepare:
>     [mkdir] Created dir: /opt/crmerp/ofbiz/applications/product/build/classes
>     [mkdir] Created dir: /opt/crmerp/ofbiz/applications/product/build/lib
>
> classes:
>   [javac15] Compiling 45 source files to /opt/crmerp/ofbiz/applications/product/build/classes
>   [javac15] /opt/crmerp/ofbiz/applications/product/src/org/ofbiz/product/product/ProductWorker.java:528: cannot find symbol
>   [javac15] symbol  : method add(java.util.Map<java.lang.String,java.lang.Object>)
>   [javac15] location: interface java.util.List<java.util.Map<java.lang.String,java.lang.String>>
>   [javac15]                         featureList.add(UtilMisc.toMap("productFeatureTypeId", productFeatureAppl.getString("productFeatureTypeId"),
>   [javac15]                                    ^
>   [javac15] Note: Some input files use unchecked or unsafe operations.
>   [javac15] Note: Recompile with -Xlint:unchecked for details.
>   [javac15] 1 error
>
> BUILD FAILED
> /opt/crmerp/ofbiz/build.xml:129: The following error occurred while executing this line:
> /opt/crmerp/ofbiz/applications/build.xml:67: The following error occurred while executing this line:
> /opt/crmerp/ofbiz/macros.xml:27: The following error occurred while executing this line:
> /opt/crmerp/ofbiz/applications/product/build.xml:67: Compile failed; see the compiler error output for details.
>
> Total time: 59 seconds
>
> I must be doing something wrong (must be something simple for such a basic error) the compile
> completes the framework stuff without problem (some warnings mostly like  warning: [deprecation] toURL() in java.io.File has been deprecated
> ).
>
> Thanks.
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Problems with OOB OfBiz on Fedora 9 and Sun SDK

Philip W. Dalrymple
I tried that before sending the e-mail the problem is that
Sun does not have a working SDK (installable) that I can find
for Fedora 9

The one I found gives the following

./java_app_platform_sdk-5_05-linux.bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

when I try to install.

Does anyone have a pointer to a SUN SDK that will install on Fedora 9?


----- Original Message -----
From: "BJ Freeman" <[hidden email]>
To: [hidden email]
Sent: Monday, August 11, 2008 1:00:36 PM GMT -05:00 US/Canada Eastern
Subject: Re: Problems with OOB OfBiz on Fedora 9

openJDK is not the same as the Sun JDK.
you need to install the Sun SDK.
also
if you don't already know
http://docs.ofbiz.org/display/OFBIZ/How+to+run+OFBiz+as+a+Service
there is a linux section.

Philip W. Dalrymple sent the following on 8/11/2008 9:43 AM:

> I am trying to install OfBiz (svn Head from Today) on a Fedora
> 9 fresh install (using the included java SDK)
> java -version gives me
>
>
> [pwd@spock ofbiz]$ java -version
> java version "1.6.0"
> OpenJDK  Runtime Environment (build 1.6.0-b09)
> OpenJDK Client VM (build 1.6.0-b09, mixed mode)
>
>
> but when I do a ant run-install to compile and "install" the data
> into the data base (postgres) I get:
>
> classes:
>   [javac15] Compiling 9 source files to /opt/crmerp/ofbiz/applications/workeffort/build/classes
>   [javac15] Note: Some input files use unchecked or unsafe operations.
>   [javac15] Note: Recompile with -Xlint:unchecked for details.
>      [copy] Copying 2 files to /opt/crmerp/ofbiz/applications/workeffort/build/classes/META-INF
>
> jar:
>       [jar] Building jar: /opt/crmerp/ofbiz/applications/workeffort/build/lib/ofbiz-workeffort.jar
>
> clean-lib:
>
> prepare:
>     [mkdir] Created dir: /opt/crmerp/ofbiz/applications/product/build/classes
>     [mkdir] Created dir: /opt/crmerp/ofbiz/applications/product/build/lib
>
> classes:
>   [javac15] Compiling 45 source files to /opt/crmerp/ofbiz/applications/product/build/classes
>   [javac15] /opt/crmerp/ofbiz/applications/product/src/org/ofbiz/product/product/ProductWorker.java:528: cannot find symbol
>   [javac15] symbol  : method add(java.util.Map<java.lang.String,java.lang.Object>)
>   [javac15] location: interface java.util.List<java.util.Map<java.lang.String,java.lang.String>>
>   [javac15]                         featureList.add(UtilMisc.toMap("productFeatureTypeId", productFeatureAppl.getString("productFeatureTypeId"),
>   [javac15]                                    ^
>   [javac15] Note: Some input files use unchecked or unsafe operations.
>   [javac15] Note: Recompile with -Xlint:unchecked for details.
>   [javac15] 1 error
>
> BUILD FAILED
> /opt/crmerp/ofbiz/build.xml:129: The following error occurred while executing this line:
> /opt/crmerp/ofbiz/applications/build.xml:67: The following error occurred while executing this line:
> /opt/crmerp/ofbiz/macros.xml:27: The following error occurred while executing this line:
> /opt/crmerp/ofbiz/applications/product/build.xml:67: Compile failed; see the compiler error output for details.
>
> Total time: 59 seconds
>
> I must be doing something wrong (must be something simple for such a basic error) the compile
> completes the framework stuff without problem (some warnings mostly like  warning: [deprecation] toURL() in java.io.File has been deprecated
> ).
>
> Thanks.
>
>
>



--
This email, and any files transmitted with it, is confidential
and intended solely for the use of the individual or entity to
whom they are addressed.  If you have received this email in error,
please advise [hidden email] <mailto:[hidden email]>.

New MDT Software Headquarters (As of July 1, 2008):
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005


Philip W. Dalrymple III <[hidden email]>
MDT Software - The Change Management Company
+1 678 297 1001
Fax +1 678 297 1003

Reply | Threaded
Open this post in threaded view
|

Re: Problems with OOB OfBiz on Fedora 9 and Sun SDK

BJ Freeman
FYI I gave up in frustration and went for RHE.
however I did a google search
on
fedora 9 sun SDK
and came up with this
http://www.linuxquestions.org/questions/fedora-35/sun-jdk-6-and-fedora-7-problems-565306/?s=79299626460cb0302112c9f6f85c50a0
there were a lot of other links.


Philip W. Dalrymple sent the following on 8/11/2008 10:34 AM:

> I tried that before sending the e-mail the problem is that
> Sun does not have a working SDK (installable) that I can find
> for Fedora 9
>
> The one I found gives the following
>
> ./java_app_platform_sdk-5_05-linux.bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
>
> when I try to install.
>
> Does anyone have a pointer to a SUN SDK that will install on Fedora 9?
>
>
> ----- Original Message -----
> From: "BJ Freeman" <[hidden email]>
> To: [hidden email]
> Sent: Monday, August 11, 2008 1:00:36 PM GMT -05:00 US/Canada Eastern
> Subject: Re: Problems with OOB OfBiz on Fedora 9
>
> openJDK is not the same as the Sun JDK.
> you need to install the Sun SDK.
> also
> if you don't already know
> http://docs.ofbiz.org/display/OFBIZ/How+to+run+OFBiz+as+a+Service
> there is a linux section.
>
> Philip W. Dalrymple sent the following on 8/11/2008 9:43 AM:
>> I am trying to install OfBiz (svn Head from Today) on a Fedora
>> 9 fresh install (using the included java SDK)
>> java -version gives me
>>
>>
>> [pwd@spock ofbiz]$ java -version
>> java version "1.6.0"
>> OpenJDK  Runtime Environment (build 1.6.0-b09)
>> OpenJDK Client VM (build 1.6.0-b09, mixed mode)
>>
>>
>> but when I do a ant run-install to compile and "install" the data
>> into the data base (postgres) I get:
>>
>> classes:
>>   [javac15] Compiling 9 source files to /opt/crmerp/ofbiz/applications/workeffort/build/classes
>>   [javac15] Note: Some input files use unchecked or unsafe operations.
>>   [javac15] Note: Recompile with -Xlint:unchecked for details.
>>      [copy] Copying 2 files to /opt/crmerp/ofbiz/applications/workeffort/build/classes/META-INF
>>
>> jar:
>>       [jar] Building jar: /opt/crmerp/ofbiz/applications/workeffort/build/lib/ofbiz-workeffort.jar
>>
>> clean-lib:
>>
>> prepare:
>>     [mkdir] Created dir: /opt/crmerp/ofbiz/applications/product/build/classes
>>     [mkdir] Created dir: /opt/crmerp/ofbiz/applications/product/build/lib
>>
>> classes:
>>   [javac15] Compiling 45 source files to /opt/crmerp/ofbiz/applications/product/build/classes
>>   [javac15] /opt/crmerp/ofbiz/applications/product/src/org/ofbiz/product/product/ProductWorker.java:528: cannot find symbol
>>   [javac15] symbol  : method add(java.util.Map<java.lang.String,java.lang.Object>)
>>   [javac15] location: interface java.util.List<java.util.Map<java.lang.String,java.lang.String>>
>>   [javac15]                         featureList.add(UtilMisc.toMap("productFeatureTypeId", productFeatureAppl.getString("productFeatureTypeId"),
>>   [javac15]                                    ^
>>   [javac15] Note: Some input files use unchecked or unsafe operations.
>>   [javac15] Note: Recompile with -Xlint:unchecked for details.
>>   [javac15] 1 error
>>
>> BUILD FAILED
>> /opt/crmerp/ofbiz/build.xml:129: The following error occurred while executing this line:
>> /opt/crmerp/ofbiz/applications/build.xml:67: The following error occurred while executing this line:
>> /opt/crmerp/ofbiz/macros.xml:27: The following error occurred while executing this line:
>> /opt/crmerp/ofbiz/applications/product/build.xml:67: Compile failed; see the compiler error output for details.
>>
>> Total time: 59 seconds
>>
>> I must be doing something wrong (must be something simple for such a basic error) the compile
>> completes the framework stuff without problem (some warnings mostly like  warning: [deprecation] toURL() in java.io.File has been deprecated
>> ).
>>
>> Thanks.
>>
>>
>>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Problems with OOB OfBiz on Fedora 9 and Sun SDK

Jacques Le Roux
Administrator
In reply to this post by Philip W. Dalrymple
Give you a favor : turn to Ubuntu ;o) The 8.04 LTS is great !

Jacques

From: "Philip W. Dalrymple" <[hidden email]>

>I tried that before sending the e-mail the problem is that
> Sun does not have a working SDK (installable) that I can find
> for Fedora 9
>
> The one I found gives the following
>
> ./java_app_platform_sdk-5_05-linux.bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No
> such file or directory
>
> when I try to install.
>
> Does anyone have a pointer to a SUN SDK that will install on Fedora 9?
>
>
> ----- Original Message -----
> From: "BJ Freeman" <[hidden email]>
> To: [hidden email]
> Sent: Monday, August 11, 2008 1:00:36 PM GMT -05:00 US/Canada Eastern
> Subject: Re: Problems with OOB OfBiz on Fedora 9
>
> openJDK is not the same as the Sun JDK.
> you need to install the Sun SDK.
> also
> if you don't already know
> http://docs.ofbiz.org/display/OFBIZ/How+to+run+OFBiz+as+a+Service
> there is a linux section.
>
> Philip W. Dalrymple sent the following on 8/11/2008 9:43 AM:
>> I am trying to install OfBiz (svn Head from Today) on a Fedora
>> 9 fresh install (using the included java SDK)
>> java -version gives me
>>
>>
>> [pwd@spock ofbiz]$ java -version
>> java version "1.6.0"
>> OpenJDK  Runtime Environment (build 1.6.0-b09)
>> OpenJDK Client VM (build 1.6.0-b09, mixed mode)
>>
>>
>> but when I do a ant run-install to compile and "install" the data
>> into the data base (postgres) I get:
>>
>> classes:
>>   [javac15] Compiling 9 source files to /opt/crmerp/ofbiz/applications/workeffort/build/classes
>>   [javac15] Note: Some input files use unchecked or unsafe operations.
>>   [javac15] Note: Recompile with -Xlint:unchecked for details.
>>      [copy] Copying 2 files to /opt/crmerp/ofbiz/applications/workeffort/build/classes/META-INF
>>
>> jar:
>>       [jar] Building jar: /opt/crmerp/ofbiz/applications/workeffort/build/lib/ofbiz-workeffort.jar
>>
>> clean-lib:
>>
>> prepare:
>>     [mkdir] Created dir: /opt/crmerp/ofbiz/applications/product/build/classes
>>     [mkdir] Created dir: /opt/crmerp/ofbiz/applications/product/build/lib
>>
>> classes:
>>   [javac15] Compiling 45 source files to /opt/crmerp/ofbiz/applications/product/build/classes
>>   [javac15] /opt/crmerp/ofbiz/applications/product/src/org/ofbiz/product/product/ProductWorker.java:528: cannot find symbol
>>   [javac15] symbol  : method add(java.util.Map<java.lang.String,java.lang.Object>)
>>   [javac15] location: interface java.util.List<java.util.Map<java.lang.String,java.lang.String>>
>>   [javac15]                         featureList.add(UtilMisc.toMap("productFeatureTypeId",
>> productFeatureAppl.getString("productFeatureTypeId"),
>>   [javac15]                                    ^
>>   [javac15] Note: Some input files use unchecked or unsafe operations.
>>   [javac15] Note: Recompile with -Xlint:unchecked for details.
>>   [javac15] 1 error
>>
>> BUILD FAILED
>> /opt/crmerp/ofbiz/build.xml:129: The following error occurred while executing this line:
>> /opt/crmerp/ofbiz/applications/build.xml:67: The following error occurred while executing this line:
>> /opt/crmerp/ofbiz/macros.xml:27: The following error occurred while executing this line:
>> /opt/crmerp/ofbiz/applications/product/build.xml:67: Compile failed; see the compiler error output for details.
>>
>> Total time: 59 seconds
>>
>> I must be doing something wrong (must be something simple for such a basic error) the compile
>> completes the framework stuff without problem (some warnings mostly like  warning: [deprecation] toURL() in java.io.File has been
>> deprecated
>> ).
>>
>> Thanks.
>>
>>
>>
>
>
>
> --
> This email, and any files transmitted with it, is confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed.  If you have received this email in error,
> please advise [hidden email] <mailto:[hidden email]>.
>
> New MDT Software Headquarters (As of July 1, 2008):
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
>
> Philip W. Dalrymple III <[hidden email]>
> MDT Software - The Change Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>

Reply | Threaded
Open this post in threaded view
|

Re: Problems with OOB OfBiz on Fedora 9 and Sun SDK

Ashish Vijaywargiya
In reply to this post by Philip W. Dalrymple
Sometime this kind of error comes on linux.
To overcome from this error you can install the libstdc++ libraries on your
machine.

Try to search this library from the Fedora repository by the following
command :-
yum search libstdc++

If this search gives some result then install this library package by the
following command :-
yum install libstdc++

Probably after installing it your problem will get resolved.

If you would like to search libstdc package on your linux box use the
following command :-
rpm -qa | grep libstdc

Please let us know if you are still facing problem of installing sun jdk on
your fedora distribution.


On Mon, Aug 11, 2008 at 11:04 PM, Philip W. Dalrymple <[hidden email]>wrote:

> I tried that before sending the e-mail the problem is that
> Sun does not have a working SDK (installable) that I can find
> for Fedora 9
>
> The one I found gives the following
>
> ./java_app_platform_sdk-5_05-linux.bin: error while loading shared
> libraries: libstdc++.so.5: cannot open shared object file: No such file or
> directory
>
> when I try to install.
>
> Does anyone have a pointer to a SUN SDK that will install on Fedora 9?
>
>
> ----- Original Message -----
> From: "BJ Freeman" <[hidden email]>
> To: [hidden email]
> Sent: Monday, August 11, 2008 1:00:36 PM GMT -05:00 US/Canada Eastern
> Subject: Re: Problems with OOB OfBiz on Fedora 9
>
> openJDK is not the same as the Sun JDK.
> you need to install the Sun SDK.
> also
> if you don't already know
> http://docs.ofbiz.org/display/OFBIZ/How+to+run+OFBiz+as+a+Service
> there is a linux section.
>
> Philip W. Dalrymple sent the following on 8/11/2008 9:43 AM:
> > I am trying to install OfBiz (svn Head from Today) on a Fedora
> > 9 fresh install (using the included java SDK)
> > java -version gives me
> >
> >
> > [pwd@spock ofbiz]$ java -version
> > java version "1.6.0"
> > OpenJDK  Runtime Environment (build 1.6.0-b09)
> > OpenJDK Client VM (build 1.6.0-b09, mixed mode)
> >
> >
> > but when I do a ant run-install to compile and "install" the data
> > into the data base (postgres) I get:
> >
> > classes:
> >   [javac15] Compiling 9 source files to
> /opt/crmerp/ofbiz/applications/workeffort/build/classes
> >   [javac15] Note: Some input files use unchecked or unsafe operations.
> >   [javac15] Note: Recompile with -Xlint:unchecked for details.
> >      [copy] Copying 2 files to
> /opt/crmerp/ofbiz/applications/workeffort/build/classes/META-INF
> >
> > jar:
> >       [jar] Building jar:
> /opt/crmerp/ofbiz/applications/workeffort/build/lib/ofbiz-workeffort.jar
> >
> > clean-lib:
> >
> > prepare:
> >     [mkdir] Created dir:
> /opt/crmerp/ofbiz/applications/product/build/classes
> >     [mkdir] Created dir: /opt/crmerp/ofbiz/applications/product/build/lib
> >
> > classes:
> >   [javac15] Compiling 45 source files to
> /opt/crmerp/ofbiz/applications/product/build/classes
> >   [javac15]
> /opt/crmerp/ofbiz/applications/product/src/org/ofbiz/product/product/ProductWorker.java:528:
> cannot find symbol
> >   [javac15] symbol  : method
> add(java.util.Map<java.lang.String,java.lang.Object>)
> >   [javac15] location: interface
> java.util.List<java.util.Map<java.lang.String,java.lang.String>>
> >   [javac15]
> featureList.add(UtilMisc.toMap("productFeatureTypeId",
> productFeatureAppl.getString("productFeatureTypeId"),
> >   [javac15]                                    ^
> >   [javac15] Note: Some input files use unchecked or unsafe operations.
> >   [javac15] Note: Recompile with -Xlint:unchecked for details.
> >   [javac15] 1 error
> >
> > BUILD FAILED
> > /opt/crmerp/ofbiz/build.xml:129: The following error occurred while
> executing this line:
> > /opt/crmerp/ofbiz/applications/build.xml:67: The following error occurred
> while executing this line:
> > /opt/crmerp/ofbiz/macros.xml:27: The following error occurred while
> executing this line:
> > /opt/crmerp/ofbiz/applications/product/build.xml:67: Compile failed; see
> the compiler error output for details.
> >
> > Total time: 59 seconds
> >
> > I must be doing something wrong (must be something simple for such a
> basic error) the compile
> > completes the framework stuff without problem (some warnings mostly like
>  warning: [deprecation] toURL() in java.io.File has been deprecated
> > ).
> >
> > Thanks.
> >
> >
> >
>
>
>
> --
> This email, and any files transmitted with it, is confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed.  If you have received this email in error,
> please advise [hidden email] <mailto:[hidden email]>.
>
> New MDT Software Headquarters (As of July 1, 2008):
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
>
> Philip W. Dalrymple III <[hidden email]>
> MDT Software - The Change Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
>


--
Ashish Vijaywargiya
Indore (M.P), India
http://en.wikipedia.org/wiki/Indore
Reply | Threaded
Open this post in threaded view
|

Re: Problems with OOB OfBiz on Fedora 9 and Sun SDK

Philip W. Dalrymple
The problem was the wrong version (RH5.2 and Fedora 9 ship version 6
but Sun "requires" version 5 I just did a symbolic link from the 6 version
to the version that Sun was looking for and the install worked (As did OfBiz)

thanks.

----- Original Message -----
From: "Ashish Vijaywargiya" <[hidden email]>
To: [hidden email]
Sent: Wednesday, August 13, 2008 5:26:49 AM GMT -05:00 US/Canada Eastern
Subject: Re: Problems with OOB OfBiz on Fedora 9 and Sun SDK

Sometime this kind of error comes on linux.
To overcome from this error you can install the libstdc++ libraries on your
machine.

Try to search this library from the Fedora repository by the following
command :-
yum search libstdc++

If this search gives some result then install this library package by the
following command :-
yum install libstdc++

Probably after installing it your problem will get resolved.

If you would like to search libstdc package on your linux box use the
following command :-
rpm -qa | grep libstdc

Please let us know if you are still facing problem of installing sun jdk on
your fedora distribution.


On Mon, Aug 11, 2008 at 11:04 PM, Philip W. Dalrymple <[hidden email]>wrote:

> I tried that before sending the e-mail the problem is that
> Sun does not have a working SDK (installable) that I can find
> for Fedora 9
>
> The one I found gives the following
>
> ./java_app_platform_sdk-5_05-linux.bin: error while loading shared
> libraries: libstdc++.so.5: cannot open shared object file: No such file or
> directory
>
> when I try to install.
>
> Does anyone have a pointer to a SUN SDK that will install on Fedora 9?
>
>
> ----- Original Message -----
> From: "BJ Freeman" <[hidden email]>
> To: [hidden email]
> Sent: Monday, August 11, 2008 1:00:36 PM GMT -05:00 US/Canada Eastern
> Subject: Re: Problems with OOB OfBiz on Fedora 9
>
> openJDK is not the same as the Sun JDK.
> you need to install the Sun SDK.
> also
> if you don't already know
> http://docs.ofbiz.org/display/OFBIZ/How+to+run+OFBiz+as+a+Service
> there is a linux section.
>
> Philip W. Dalrymple sent the following on 8/11/2008 9:43 AM:
> > I am trying to install OfBiz (svn Head from Today) on a Fedora
> > 9 fresh install (using the included java SDK)
> > java -version gives me
> >
> >
> > [pwd@spock ofbiz]$ java -version
> > java version "1.6.0"
> > OpenJDK  Runtime Environment (build 1.6.0-b09)
> > OpenJDK Client VM (build 1.6.0-b09, mixed mode)
> >
> >
> > but when I do a ant run-install to compile and "install" the data
> > into the data base (postgres) I get:
> >
> > classes:
> >   [javac15] Compiling 9 source files to
> /opt/crmerp/ofbiz/applications/workeffort/build/classes
> >   [javac15] Note: Some input files use unchecked or unsafe operations.
> >   [javac15] Note: Recompile with -Xlint:unchecked for details.
> >      [copy] Copying 2 files to
> /opt/crmerp/ofbiz/applications/workeffort/build/classes/META-INF
> >
> > jar:
> >       [jar] Building jar:
> /opt/crmerp/ofbiz/applications/workeffort/build/lib/ofbiz-workeffort.jar
> >
> > clean-lib:
> >
> > prepare:
> >     [mkdir] Created dir:
> /opt/crmerp/ofbiz/applications/product/build/classes
> >     [mkdir] Created dir: /opt/crmerp/ofbiz/applications/product/build/lib
> >
> > classes:
> >   [javac15] Compiling 45 source files to
> /opt/crmerp/ofbiz/applications/product/build/classes
> >   [javac15]
> /opt/crmerp/ofbiz/applications/product/src/org/ofbiz/product/product/ProductWorker.java:528:
> cannot find symbol
> >   [javac15] symbol  : method
> add(java.util.Map<java.lang.String,java.lang.Object>)
> >   [javac15] location: interface
> java.util.List<java.util.Map<java.lang.String,java.lang.String>>
> >   [javac15]
> featureList.add(UtilMisc.toMap("productFeatureTypeId",
> productFeatureAppl.getString("productFeatureTypeId"),
> >   [javac15]                                    ^
> >   [javac15] Note: Some input files use unchecked or unsafe operations.
> >   [javac15] Note: Recompile with -Xlint:unchecked for details.
> >   [javac15] 1 error
> >
> > BUILD FAILED
> > /opt/crmerp/ofbiz/build.xml:129: The following error occurred while
> executing this line:
> > /opt/crmerp/ofbiz/applications/build.xml:67: The following error occurred
> while executing this line:
> > /opt/crmerp/ofbiz/macros.xml:27: The following error occurred while
> executing this line:
> > /opt/crmerp/ofbiz/applications/product/build.xml:67: Compile failed; see
> the compiler error output for details.
> >
> > Total time: 59 seconds
> >
> > I must be doing something wrong (must be something simple for such a
> basic error) the compile
> > completes the framework stuff without problem (some warnings mostly like
>  warning: [deprecation] toURL() in java.io.File has been deprecated
> > ).
> >
> > Thanks.
> >
> >
> >
>
>
>
> --
> This email, and any files transmitted with it, is confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed.  If you have received this email in error,
> please advise [hidden email] <mailto:[hidden email]>.
>
> New MDT Software Headquarters (As of July 1, 2008):
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
>
> Philip W. Dalrymple III <[hidden email]>
> MDT Software - The Change Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
>


--
Ashish Vijaywargiya
Indore (M.P), India
http://en.wikipedia.org/wiki/Indore


--
This email, and any files transmitted with it, is confidential
and intended solely for the use of the individual or entity to
whom they are addressed.  If you have received this email in error,
please advise [hidden email] <mailto:[hidden email]>.

New MDT Software Headquarters (As of July 1, 2008):
3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005


Philip W. Dalrymple III <[hidden email]>
MDT Software - The Change Management Company
+1 678 297 1001
Fax +1 678 297 1003

Reply | Threaded
Open this post in threaded view
|

Re: Problems with OOB OfBiz on Fedora 9 and Sun SDK

Ashish Vijaywargiya
Great, It worked for you :-)

--
Ashish Vijaywargiya
Indore (M.P), India
http://en.wikipedia.org/wiki/Indore



On Thu, Aug 14, 2008 at 5:06 PM, Philip W. Dalrymple <[hidden email]>wrote:

> The problem was the wrong version (RH5.2 and Fedora 9 ship version 6
> but Sun "requires" version 5 I just did a symbolic link from the 6 version
> to the version that Sun was looking for and the install worked (As did
> OfBiz)
>
> thanks.
>
> ----- Original Message -----
> From: "Ashish Vijaywargiya" <[hidden email]>
> To: [hidden email]
> Sent: Wednesday, August 13, 2008 5:26:49 AM GMT -05:00 US/Canada Eastern
> Subject: Re: Problems with OOB OfBiz on Fedora 9 and Sun SDK
>
> Sometime this kind of error comes on linux.
> To overcome from this error you can install the libstdc++ libraries on your
> machine.
>
> Try to search this library from the Fedora repository by the following
> command :-
> yum search libstdc++
>
> If this search gives some result then install this library package by the
> following command :-
> yum install libstdc++
>
> Probably after installing it your problem will get resolved.
>
> If you would like to search libstdc package on your linux box use the
> following command :-
> rpm -qa | grep libstdc
>
> Please let us know if you are still facing problem of installing sun jdk on
> your fedora distribution.
>
>
> On Mon, Aug 11, 2008 at 11:04 PM, Philip W. Dalrymple <[hidden email]
> >wrote:
>
> > I tried that before sending the e-mail the problem is that
> > Sun does not have a working SDK (installable) that I can find
> > for Fedora 9
> >
> > The one I found gives the following
> >
> > ./java_app_platform_sdk-5_05-linux.bin: error while loading shared
> > libraries: libstdc++.so.5: cannot open shared object file: No such file
> or
> > directory
> >
> > when I try to install.
> >
> > Does anyone have a pointer to a SUN SDK that will install on Fedora 9?
> >
> >
> > ----- Original Message -----
> > From: "BJ Freeman" <[hidden email]>
> > To: [hidden email]
> > Sent: Monday, August 11, 2008 1:00:36 PM GMT -05:00 US/Canada Eastern
> > Subject: Re: Problems with OOB OfBiz on Fedora 9
> >
> > openJDK is not the same as the Sun JDK.
> > you need to install the Sun SDK.
> > also
> > if you don't already know
> > http://docs.ofbiz.org/display/OFBIZ/How+to+run+OFBiz+as+a+Service
> > there is a linux section.
> >
> > Philip W. Dalrymple sent the following on 8/11/2008 9:43 AM:
> > > I am trying to install OfBiz (svn Head from Today) on a Fedora
> > > 9 fresh install (using the included java SDK)
> > > java -version gives me
> > >
> > >
> > > [pwd@spock ofbiz]$ java -version
> > > java version "1.6.0"
> > > OpenJDK  Runtime Environment (build 1.6.0-b09)
> > > OpenJDK Client VM (build 1.6.0-b09, mixed mode)
> > >
> > >
> > > but when I do a ant run-install to compile and "install" the data
> > > into the data base (postgres) I get:
> > >
> > > classes:
> > >   [javac15] Compiling 9 source files to
> > /opt/crmerp/ofbiz/applications/workeffort/build/classes
> > >   [javac15] Note: Some input files use unchecked or unsafe operations.
> > >   [javac15] Note: Recompile with -Xlint:unchecked for details.
> > >      [copy] Copying 2 files to
> > /opt/crmerp/ofbiz/applications/workeffort/build/classes/META-INF
> > >
> > > jar:
> > >       [jar] Building jar:
> > /opt/crmerp/ofbiz/applications/workeffort/build/lib/ofbiz-workeffort.jar
> > >
> > > clean-lib:
> > >
> > > prepare:
> > >     [mkdir] Created dir:
> > /opt/crmerp/ofbiz/applications/product/build/classes
> > >     [mkdir] Created dir:
> /opt/crmerp/ofbiz/applications/product/build/lib
> > >
> > > classes:
> > >   [javac15] Compiling 45 source files to
> > /opt/crmerp/ofbiz/applications/product/build/classes
> > >   [javac15]
> >
> /opt/crmerp/ofbiz/applications/product/src/org/ofbiz/product/product/ProductWorker.java:528:
> > cannot find symbol
> > >   [javac15] symbol  : method
> > add(java.util.Map<java.lang.String,java.lang.Object>)
> > >   [javac15] location: interface
> > java.util.List<java.util.Map<java.lang.String,java.lang.String>>
> > >   [javac15]
> > featureList.add(UtilMisc.toMap("productFeatureTypeId",
> > productFeatureAppl.getString("productFeatureTypeId"),
> > >   [javac15]                                    ^
> > >   [javac15] Note: Some input files use unchecked or unsafe operations.
> > >   [javac15] Note: Recompile with -Xlint:unchecked for details.
> > >   [javac15] 1 error
> > >
> > > BUILD FAILED
> > > /opt/crmerp/ofbiz/build.xml:129: The following error occurred while
> > executing this line:
> > > /opt/crmerp/ofbiz/applications/build.xml:67: The following error
> occurred
> > while executing this line:
> > > /opt/crmerp/ofbiz/macros.xml:27: The following error occurred while
> > executing this line:
> > > /opt/crmerp/ofbiz/applications/product/build.xml:67: Compile failed;
> see
> > the compiler error output for details.
> > >
> > > Total time: 59 seconds
> > >
> > > I must be doing something wrong (must be something simple for such a
> > basic error) the compile
> > > completes the framework stuff without problem (some warnings mostly
> like
> >  warning: [deprecation] toURL() in java.io.File has been deprecated
> > > ).
> > >
> > > Thanks.
> > >
> > >
> > >
> >
> >
> >
> > --
> > This email, and any files transmitted with it, is confidential
> > and intended solely for the use of the individual or entity to
> > whom they are addressed.  If you have received this email in error,
> > please advise [hidden email] <mailto:[hidden email]>.
> >
> > New MDT Software Headquarters (As of July 1, 2008):
> > 3480 Preston Ridge Road
> > Suite 450
> > Alpharetta, GA 30005
> >
> >
> > Philip W. Dalrymple III <[hidden email]>
> > MDT Software - The Change Management Company
> > +1 678 297 1001
> > Fax +1 678 297 1003
> >
> >
>
>
> --
> Ashish Vijaywargiya
> Indore (M.P), India
> http://en.wikipedia.org/wiki/Indore
>
>
> --
> This email, and any files transmitted with it, is confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed.  If you have received this email in error,
> please advise [hidden email] <mailto:[hidden email]>.
>
> New MDT Software Headquarters (As of July 1, 2008):
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
>
> Philip W. Dalrymple III <[hidden email]>
> MDT Software - The Change Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Problems with OOB OfBiz on Fedora 9 and Sun SDK

Kevin M. Myer-2
In reply to this post by Philip W. Dalrymple
You might get some unintended consequences of faking different
libstdc++ versions by symlinking old to new...  Check out the
compat-libstdc++-33 RPM; I think it will provide the overall fix for
what you are looking for, as it contains a copy of libstdc++.so.5.

Kevin

On Thu, Aug 14, 2008 at 7:36 AM, Philip W. Dalrymple <[hidden email]> wrote:

> The problem was the wrong version (RH5.2 and Fedora 9 ship version 6
> but Sun "requires" version 5 I just did a symbolic link from the 6 version
> to the version that Sun was looking for and the install worked (As did OfBiz)
>
> thanks.
>
> ----- Original Message -----
> From: "Ashish Vijaywargiya" <[hidden email]>
> To: [hidden email]
> Sent: Wednesday, August 13, 2008 5:26:49 AM GMT -05:00 US/Canada Eastern
> Subject: Re: Problems with OOB OfBiz on Fedora 9 and Sun SDK
>
> Sometime this kind of error comes on linux.
> To overcome from this error you can install the libstdc++ libraries on your
> machine.
>
> Try to search this library from the Fedora repository by the following
> command :-
> yum search libstdc++
>
> If this search gives some result then install this library package by the
> following command :-
> yum install libstdc++
>
> Probably after installing it your problem will get resolved.
>
> If you would like to search libstdc package on your linux box use the
> following command :-
> rpm -qa | grep libstdc
>
> Please let us know if you are still facing problem of installing sun jdk on
> your fedora distribution.
>
>
> On Mon, Aug 11, 2008 at 11:04 PM, Philip W. Dalrymple <[hidden email]>wrote:
>
>> I tried that before sending the e-mail the problem is that
>> Sun does not have a working SDK (installable) that I can find
>> for Fedora 9
>>
>> The one I found gives the following
>>
>> ./java_app_platform_sdk-5_05-linux.bin: error while loading shared
>> libraries: libstdc++.so.5: cannot open shared object file: No such file or
>> directory
>>
>> when I try to install.
>>
>> Does anyone have a pointer to a SUN SDK that will install on Fedora 9?
>>
>>
>> ----- Original Message -----
>> From: "BJ Freeman" <[hidden email]>
>> To: [hidden email]
>> Sent: Monday, August 11, 2008 1:00:36 PM GMT -05:00 US/Canada Eastern
>> Subject: Re: Problems with OOB OfBiz on Fedora 9
>>
>> openJDK is not the same as the Sun JDK.
>> you need to install the Sun SDK.
>> also
>> if you don't already know
>> http://docs.ofbiz.org/display/OFBIZ/How+to+run+OFBiz+as+a+Service
>> there is a linux section.
>>
>> Philip W. Dalrymple sent the following on 8/11/2008 9:43 AM:
>> > I am trying to install OfBiz (svn Head from Today) on a Fedora
>> > 9 fresh install (using the included java SDK)
>> > java -version gives me
>> >
>> >
>> > [pwd@spock ofbiz]$ java -version
>> > java version "1.6.0"
>> > OpenJDK  Runtime Environment (build 1.6.0-b09)
>> > OpenJDK Client VM (build 1.6.0-b09, mixed mode)
>> >
>> >
>> > but when I do a ant run-install to compile and "install" the data
>> > into the data base (postgres) I get:
>> >
>> > classes:
>> >   [javac15] Compiling 9 source files to
>> /opt/crmerp/ofbiz/applications/workeffort/build/classes
>> >   [javac15] Note: Some input files use unchecked or unsafe operations.
>> >   [javac15] Note: Recompile with -Xlint:unchecked for details.
>> >      [copy] Copying 2 files to
>> /opt/crmerp/ofbiz/applications/workeffort/build/classes/META-INF
>> >
>> > jar:
>> >       [jar] Building jar:
>> /opt/crmerp/ofbiz/applications/workeffort/build/lib/ofbiz-workeffort.jar
>> >
>> > clean-lib:
>> >
>> > prepare:
>> >     [mkdir] Created dir:
>> /opt/crmerp/ofbiz/applications/product/build/classes
>> >     [mkdir] Created dir: /opt/crmerp/ofbiz/applications/product/build/lib
>> >
>> > classes:
>> >   [javac15] Compiling 45 source files to
>> /opt/crmerp/ofbiz/applications/product/build/classes
>> >   [javac15]
>> /opt/crmerp/ofbiz/applications/product/src/org/ofbiz/product/product/ProductWorker.java:528:
>> cannot find symbol
>> >   [javac15] symbol  : method
>> add(java.util.Map<java.lang.String,java.lang.Object>)
>> >   [javac15] location: interface
>> java.util.List<java.util.Map<java.lang.String,java.lang.String>>
>> >   [javac15]
>> featureList.add(UtilMisc.toMap("productFeatureTypeId",
>> productFeatureAppl.getString("productFeatureTypeId"),
>> >   [javac15]                                    ^
>> >   [javac15] Note: Some input files use unchecked or unsafe operations.
>> >   [javac15] Note: Recompile with -Xlint:unchecked for details.
>> >   [javac15] 1 error
>> >
>> > BUILD FAILED
>> > /opt/crmerp/ofbiz/build.xml:129: The following error occurred while
>> executing this line:
>> > /opt/crmerp/ofbiz/applications/build.xml:67: The following error occurred
>> while executing this line:
>> > /opt/crmerp/ofbiz/macros.xml:27: The following error occurred while
>> executing this line:
>> > /opt/crmerp/ofbiz/applications/product/build.xml:67: Compile failed; see
>> the compiler error output for details.
>> >
>> > Total time: 59 seconds
>> >
>> > I must be doing something wrong (must be something simple for such a
>> basic error) the compile
>> > completes the framework stuff without problem (some warnings mostly like
>>  warning: [deprecation] toURL() in java.io.File has been deprecated
>> > ).
>> >
>> > Thanks.
>> >
>> >
>> >
>>
>>
>>
>> --
>> This email, and any files transmitted with it, is confidential
>> and intended solely for the use of the individual or entity to
>> whom they are addressed.  If you have received this email in error,
>> please advise [hidden email] <mailto:[hidden email]>.
>>
>> New MDT Software Headquarters (As of July 1, 2008):
>> 3480 Preston Ridge Road
>> Suite 450
>> Alpharetta, GA 30005
>>
>>
>> Philip W. Dalrymple III <[hidden email]>
>> MDT Software - The Change Management Company
>> +1 678 297 1001
>> Fax +1 678 297 1003
>>
>>
>
>
> --
> Ashish Vijaywargiya
> Indore (M.P), India
> http://en.wikipedia.org/wiki/Indore
>
>
> --
> This email, and any files transmitted with it, is confidential
> and intended solely for the use of the individual or entity to
> whom they are addressed.  If you have received this email in error,
> please advise [hidden email] <mailto:[hidden email]>.
>
> New MDT Software Headquarters (As of July 1, 2008):
> 3480 Preston Ridge Road
> Suite 450
> Alpharetta, GA 30005
>
>
> Philip W. Dalrymple III <[hidden email]>
> MDT Software - The Change Management Company
> +1 678 297 1001
> Fax +1 678 297 1003
>
>