Build failed in hello2 for J2EE tutorial
Hi guys, i faced with a build error when building hello2 example. Can someone pls advice, my hello1 is working perfectly fine. I am wondering if there is something wrong with the contents of the build.xml file. The error is as follows ...
C:\j2eetutorial14\examples\web\hello2>asant build
Buildfile: build.xml
init:
prepare:
copy:
build:
[javac] Compiling 2 source files to C:\j2eetutorial14\examples\web\hello2\bu
ild
BUILD FAILED
file:C:/j2eetutorial14/examples/web/hello2/build.xml:53: C:\Sun\AppServer \lib n
ot found.
Total time: 3 seconds
hi, thanks for your advice. however, i think its not the build.properties file in examples/common as all the values there are by default and I have been following the tutorial closely... i think its due to the build.xml file in examples/hello2/build.xml as the error pointed to line 53 of that file... n line 53 is as follows:
<target name="build" depends="copy" line 51
description="Compile app Java files" > line 52
<javac srcdir="src" destdir="${build}"> line 53
<include name="**/*.java" /> line 54
<classpath refid="classpath"/> line 55
</javac>
</target>
can soneone who manage to do it from chapter 3 (pg 103) pls help?
thanks.
Similar Messages
-
How to use ant1.3 in Wndows ME to build the examples in J2EE Tutorial?
When I tried to build the examples bundled with j2ee tutorial in the ..\j2eetutorial\examples directory using the ant 1.3 on Wndows ME I get the following exception.Anybody please help me.Is there any other build tool available for download?
StringIndexOutOfboundsException
D:\JAVATUTORIAL\J2EE\j2eetutorial\examples> ant -verbose all
Ant version 1.3 compiled on March 2 2001
Buildfile: build.xml
Detected Java Version: 1.3
Detected OS: Windows Me
parsing buildfile D:\JAVATUTORIAL\J2EE\j2eetutorial\examples\build.xml with URI
= file:D:/JAVATUTORIAL/J2EE/j2eetutorial/examples/build.xml
Project base dir set to: D:\JAVATUTORIAL\J2EE\j2eetutorial\examples
Build sequence for target `all' is [init, savingsaccount, bank, cart, checker, c
onfirmer, converter, enroller, order, salesrep, storagebin, teller, htmlreader,
warehouse, simplemessage, cmproster, ejb, date, hello1, hello2, bookstore1, web-
ejb, bookstore2, bookstore3, web, all]
Complete build sequence is [init, savingsaccount, bank, cart, checker, confirmer
, converter, enroller, order, salesrep, storagebin, teller, htmlreader, warehous
e, simplemessage, cmproster, ejb, date, hello1, hello2, bookstore1, web-ejb, boo
kstore2, bookstore3, web, all, create-storagebin-table, get-cci-jar, procs, cci,
connector, create-salesrep-table, create-procs-alias, create-coffee-table, abou
t, create-enroller-table, create-savingsaccount-table, create-web-db, create-war
ehouse-table, create-bank-table, clean, create-order-table, create-teller-table,
prepare, create-ejb-db]
init:
[property] Loading Environment myenv.
BUILD FAILED
D:\JAVATUTORIAL\J2EE\j2eetutorial\examples\build.xml:19: D:\JAVATUTORIAL\J2EE\j2
eetutorial\examples\build.xml:19: java.lang.StringIndexOutOfBoundsException: Str
ing index out of range: -1
--- Nested Exception ---
D:\JAVATUTORIAL\J2EE\j2eetutorial\examples\build.xml:19: java.lang.StringIndexOu
tOfBoundsException: String index out of range: -1
--- Nested Exception ---
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1476)
at org.apache.tools.ant.taskdefs.Property.loadEnvironment(Property.java:
248)
at org.apache.tools.ant.taskdefs.Property.execute(Property.java:172)
at org.apache.tools.ant.Target.execute(Target.java:153)
at org.apache.tools.ant.Project.runTarget(Project.java:898)
at org.apache.tools.ant.Project.executeTarget(Project.java:536)
at org.apache.tools.ant.Project.executeTargets(Project.java:510)
at org.apache.tools.ant.Main.runBuild(Main.java:421)
at org.apache.tools.ant.Main.main(Main.java:149)
Total time: 2 seconds
D:\JAVATUTORIAL\J2EE\j2eetutorial\examples>
*********************************************************************Please Help Me
-
Can anyone tell me how to build the examples in the J2EE Tutorial under Windows 2000?
The tutorial I downloaded:
j2ee-1_3-beta-doc-tutorial-draft3.zip
are missing a few files according to
http://java.sun.com/j2ee/tutorial/doc/Ebank5.html#66937
Specifically, the some target entries in the build.xml
and some xml files in under the dd sub-directory.
Did I download the wrong zip file? Where can I
get the right files?
thanks,
John -
"asant build" for bookstore1 example in j2ee tutorial gives "compile error"
Hello everybody,
I am trying to run "asant build" command to build package for bookstore1 example given in j2ee tutorials.
I installed my j2ee tutorial 1.4 in "c:\java\j2eetutorial14" and my example is in "c:\java\j2eetutorial\examples\web\bookstore1".
My j2ee SDK with appliation server is installed in C:\sun\appserver.
When i run the "asant build" command in "c:\java\j2eetutorial\examples\web\bookstore1" directory i get compile error with last few lines as follows.
[javac] location: class servlets.ShowCartServlet
[javac] } catch (BookNotFoundException ex) {
[javac] ^
[javac] C:\Java\j2eetutorial14\examples\web\bookstore1\src\servlets\ShowCartServlet.jav
:136: cannot resolve symbol
[javac] symbol : class ShoppingCartItem
[javac] location: class servlets.ShowCartServlet
[javac] ShoppingCartItem item = (ShoppingCartItem) i.next();
[javac] ^
[javac] C:\Java\j2eetutorial14\examples\web\bookstore1\src\servlets\ShowCartServlet.jav
:136: cannot resolve symbol
[javac] symbol : class ShoppingCartItem
[javac] location: class servlets.ShowCartServlet
[javac] ShoppingCartItem item = (ShoppingCartItem) i.next();
[javac] ^
[javac] C:\Java\j2eetutorial14\examples\web\bookstore1\src\servlets\ShowCartServlet.jav
:137: cannot resolve symbol
[javac] symbol : class BookDetails
[javac] location: class servlets.ShowCartServlet
[javac] bd = (BookDetails) item.getItem();
[javac] ^
[javac] 69 errors
BUILD FAILED
file:C:/Java/j2eetutorial14/examples/web/bookstore1/build.xml:68: Compile failed; see the compiler error output for details.
Total time: 2 seconds
Can some one please help me.
thanksWhen i run the "asant build" command in
"c:\java\j2eetutorial\examples\web\bookstore1"
directory i get compile error with last few lines as
follows.Did you package the bookstore common files as described in Chapter 3? My guess is that you didn't include bookstore.jar from <INSTALL>/j2eetutorial14/examples/build/web/bookstore/dist/.
-Ian Evans
Sun Microsystems
J2EE Tutorial team -
J2EE Tutorial: Exception when building with ant
I am trying to build the converter example on page 48 of the J2EE tutorial using ant. Ant seems to choke on the following line from the build.xml:
<property environment="myenv" />
The output of the "ant converter" command is:
Buildfile: build.xml
init:
BUILD FAILED
/usr/j2sdkee1.3/j2eetutorial/examples/src/build.xml:18: /usr/j2sdkee1.3/j2eetutorial/examples/src/build.xml:18: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
--- Nested Exception ---
/usr/j2sdkee1.3/j2eetutorial/examples/src/build.xml:18: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
--- Nested Exception ---
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1525)
at org.apache.tools.ant.taskdefs.Property.loadEnvironment(Property.java:248)
at org.apache.tools.ant.taskdefs.Property.execute(Property.java:172)
at org.apache.tools.ant.Target.execute(Target.java:153)
at org.apache.tools.ant.Project.runTarget(Project.java:898)
at org.apache.tools.ant.Project.executeTarget(Project.java:536)
at org.apache.tools.ant.Project.executeTargets(Project.java:510)
at org.apache.tools.ant.Main.runBuild(Main.java:421)
at org.apache.tools.ant.Main.main(Main.java:149)
Total time: 1 second
My best guess is that the "myenv" line in the build.xml requires some additional attribute. I'm using ant version 1.3. My OS is Solaris (noted for possible environment-related issues).
Thanks in advance!
Eric SmithOn Windows XP Pro, the line
<property environment="myenv" />
in the init target of build.xml for the j2ee tutorial examples triggers a windows error message:
16 bit MS-DOS Subsystem
=======================
C:\WINDOWS\system32\ntvdm.exe
Error while setting up environment for the application. Choose 'Close' to terminate the application.
<<Close>> <<Ignore>>
So it looks as if ant is trying and failing to access the winnt system environment here.
According to Ant Developers Handbook (Sams, October 2002, chapter 4, p. 151), the ant environment property "specifies a prefix, giving access to OS-specific environment variables. This is not supported on all platforms." Until this problem is fixed, it appears that on XP systems anyway, any ant settings in build.xml files that rely on direct access to the system environment will fail. Here is some debug output from the j2ee tutorial examples init target which demonstrates this:
C:\apps\j2sdkee1.3.1\j2eetutorial\examples>ant init
Buildfile: build.xml
init:
[echo] starting init target
[echo] reached marker 1
[echo] reached marker 2
[echo] value of J2EE_HOME is ${myenv.J2EE_HOME}
[echo] finished init target
BUILD SUCCESSFUL
where the task:
<property environment="myenv" />
(which generates the OS error popup noted above) occurs between marker 1 and marker 2. Clearly the value of J2EE_HOME is NOT being successfully read from the system environment here. -
Problems with the ADF Tutorial for J2EE developers.
Hi guys.
I have completed the ADF tutorial for 4GL developers withhout any major hickups. Now I have been doing the ADF tutorial for J2EE developers (locate here http://www.oracle.com/technology/obe/adf_tutorial_1013/index.htm).
I ran into some problems around chapter 6 and after failing understanding the errors I loaded up the applicationscripts from the tutorial. However, I get an error from this script. I have tried to load up both end of chapter 5,6 and 7 and get the same error. So now I am at a total loss. So, I am turning to you. I have copied the entire error message below.
Unfortunately JDeveloper translates some keywords to Norwegian and I have tried to translate them back into english. Forgive me if its not 100% accurate but i think you will understand the keyword. I've translated these four keywords:
- Internal Exception
- I/O-exception
- Errorcode
- Exception
The error message:
2006-08-08 09:41:53.081 ERROR J2EE EJB8006 [SRPublicFacade:public oracle.srdemo.datamodel.Users oracle.srdemo.datamodel.SRPublicFacadeBean.findUserByEmail(java.lang.String)] exception occurred during method invocation: javax.ejb.EJBException: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002; nested exception is: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002
2006-08-08 09:41:53.111 WARNING JBO-29000: JBO-29000: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002; nested exception is: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002
2006-08-08 09:41:53.111 WARNING JBO-29000: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002; nested exception is: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002
2006-08-08 09:41:53.111 WARNING Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002; nested exception is: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002
2006-08-08 09:41:53.111 WARNING JBO-29000: JBO-29000: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002; nested exception is: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002
2006-08-08 09:41:53.111 WARNING JBO-29000: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002; nested exception is: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002
2006-08-08 09:41:53.111 WARNING Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002; nested exception is: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: I/O-exception: The Network Adapter could not establish the connectionErrorcode: 17002
2006-08-08 09:41:53.111 WARNING JBO-29000: JBO-29000: javax.servlet.jsp.el.ELException: An error occurred while getting property "userId" from an instance of class oracle.srdemo.view.UserInfo
2006-08-08 09:41:53.111 WARNING JBO-29000: javax.servlet.jsp.el.ELException: An error occurred while getting property "userId" from an instance of class oracle.srdemo.view.UserInfo
Thanks for any help though.Hi,
I tried to follow the tutorial using a mysql database, everything was fine till I tried to run the application I`ve got this error. Please help me, I can't resolve this problem. I test the jdbc driver and it is ok, I can use it from a simple java class but I can not use it from the web project.
[TopLink - Información]: 2006.08.09 12:52:08.238--ServerSession(1209)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--TopLink, versión: Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)
[TopLink - Configuración]: 2006.08.09 12:52:08.254--ServerSession(1209)--Connection(1210)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--conectando (DatabaseLogin(
plataforma=>MySQL4Platform
nombre de usuario=> "saep"
URL de origen de datos=> "jdbc:mysql://localhost/saep"
[TopLink - Grave]: 2006.08.09 12:52:09.254--ServerSession(1209)--Thread(Thread[ApplicationServerThread-0,5,RequestThreadGroup])--Pila de Excepciones Locales:
Excepción [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
Excepción Interna: java.sql.SQLException: No suitable driverCódigo de Error: 0
at oracle.toplink.exceptions.TopLinkException.<init>(TopLinkException.java:46)
at oracle.toplink.exceptions.DatabaseException.<init>(DatabaseException.java:51)
at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:276)
at oracle.toplink.sessions.DefaultConnector.connect(DefaultConnector.java:64)
at oracle.toplink.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:147)
at oracle.toplink.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:197)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.connect(DatabaseAccessor.java:221)
at oracle.toplink.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:273)
at oracle.toplink.threetier.ConnectionPool.buildConnection(ConnectionPool.java:81)
at oracle.toplink.threetier.ConnectionPool.startUp(ConnectionPool.java:304)
at oracle.toplink.threetier.ServerSession.connect(ServerSession.java:431)
at oracle.toplink.publicinterface.DatabaseSession.login(DatabaseSession.java:511)
at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:317)
at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:372)
at oracle.toplink.util.SessionFactory.getSharedSession(SessionFactory.java:103)
at oracle.toplink.util.SessionFactory.getSharedSession(SessionFactory.java:82)
at oracle.toplink.util.SessionFactory.acquireSession(SessionFactory.java:114)
at com.saep.negocio.SecretariaServiciosEJBBean.findAllAlumno(SecretariaServiciosEJBBean.java:81)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:55)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:86)
at SecretariaServiciosEJBLocal_StatelessSessionBeanWrapper0.findAllAlumno(SecretariaServiciosEJBLocal_StatelessSessionBeanWrapper0.java:69)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:504)
at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:1796)
at oracle.adf.model.generic.DCGenericDataControl.invokeMethod(DCGenericDataControl.java:248)
at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:216)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1287)
at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:1802)
at oracle.adf.model.generic.DCGenericDataControl.invokeOperation(DCGenericDataControl.java:266)
at oracle.adf.model.adapter.AdapterDCService.invokeOperation(AdapterDCService.java:318)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:625)
at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.invokeMethodAction(JUMethodIteratorDef.java:160)
at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.initSourceRSI(JUMethodIteratorDef.java:542)
at oracle.adf.model.binding.DCIteratorBinding.callInitSourceRSI(DCIteratorBinding.java:1420)
at oracle.adf.model.binding.DCIteratorBinding.getRowSetIterator(DCIteratorBinding.java:1403)
at oracle.adf.model.binding.DCIteratorBinding.setRangeSize(DCIteratorBinding.java:2641)
at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:2484)
at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2257)
at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:104)
at oracle.adf.controller.v2.lifecycle.Lifecycle$8.execute(Lifecycle.java:210)
at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116)
at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java)
at oracle.adf.controller.faces.lifecycle.ADFPhaseListener$4.after(ADFPhaseListener.java:331)
at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:97)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:211)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getConnection(DriverManager.java:545)
at java.sql.DriverManager.getConnection(DriverManager.java:140)
at oracle.toplink.sessions.DefaultConnector.connect(DefaultConnector.java:62)
... 77 more
2006-08-09 12:52:09.270 ERROR J2EE EJB8006 [SecretariaServiciosEJB:public java.util.List com.saep.negocio.SecretariaServiciosEJBBean.findAllAlumno()] exception occurred during method invocation: javax.ejb.EJBException: Excepción [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
Excepción Interna: java.sql.SQLException: No suitable driverCódigo de Error: 0; nested exception is: Excepción [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.DatabaseException
Excepción Interna: java.sql.SQLException: No suitable driverCódigo de Error: 0
2006-08-09 12:52:10.770 WARNING rowIterator is null
2006-08-09 12:52:10.770 WARNING rowIterator is null -
Mappingtool generates bad DDL for sybase (J2ee tutorial)
Running the mappingtool on the J2EE tutorial app (3.0.0RC1) generates bad
DDL for sybase. It's trying to create a table with a column of type
"IndexName":
C:\devtools\kodo\samples\j2ee>mappingtool -a refresh package.jdo
0 INFO [main] kodo.Tool - Mapping tool running on type "class
samples.j2ee.Car" with action "refresh".
0 INFO [main] kodo.Tool - The tool is now reading existing schema
information; this process may take some time. En
able the kodo.jdbc.Schema logging category to see messages about schema
data. Also see the -readSchema tool flag.
3716 INFO [main] kodo.Tool - Recording mapping and schema changes.
Exception in thread "main" kodo.util.FatalException:
com.solarmetric.jdbc.ReportingSQLException: Can't specify a length
or scale on type 'IndexName'.
{stmnt 7576378: CREATE TABLE CAR (COLOR IndexName(255) NULL, JDOCLASS
IndexName(255) NULL, JDOID NUMERIC(38) NOT NULL,
JDOVERSION INT NULL, MAKE IndexName(255) NULL, MODEL IndexName(255) NULL,
YEAR0 IndexName(255) NULL, UNQ_INDEX NUMERIC I
DENTITY UNIQUE, CONSTRAINT P_CAR PRIMARY KEY (JDOID))} [code=2716,
state=ZZZZZ]
NestedThrowables:
com.solarmetric.jdbc.ReportingSQLException: Can't specify a length or
scale on type 'IndexName'.
{stmnt 7576378: CREATE TABLE CAR (COLOR IndexName(255) NULL, JDOCLASS
IndexName(255) NULL, JDOID NUMERIC(38) NOT NULL,
JDOVERSION INT NULL, MAKE IndexName(255) NULL, MODEL IndexName(255) NULL,
YEAR0 IndexName(255) NULL, UNQ_INDEX NUMERIC I
DENTITY UNIQUE, CONSTRAINT P_CAR PRIMARY KEY (JDOID))} [code=2716,
state=ZZZZZ]
at kodo.jdbc.meta.MappingTool.record(MappingTool.java:431)
at kodo.jdbc.meta.MappingTool.run(MappingTool.java:790)
at kodo.jdbc.meta.MappingTool.main(MappingTool.java:729)
NestedThrowablesStackTrace:
com.solarmetric.jdbc.ReportingSQLException: Can't specify a length or
scale on type 'IndexName'.
{stmnt 7576378: CREATE TABLE CAR (COLOR IndexName(255) NULL, JDOCLASS
IndexName(255) NULL, JDOID NUMERIC(38) NOT NULL,
JDOVERSION INT NULL, MAKE IndexName(255) NULL, MODEL IndexName(255) NULL,
YEAR0 IndexName(255) NULL, UNQ_INDEX NUMERIC I
DENTITY UNIQUE, CONSTRAINT P_CAR PRIMARY KEY (JDOID))} [code=2716,
state=ZZZZZ]
at
com.solarmetric.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:67)
at
com.solarmetric.jdbc.LoggingConnectionDecorator.access$400(LoggingConnectionDecorator.java:19)
at
com.solarmetric.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingStatement.executeUpdate(LoggingConne
ctionDecorator.java:506)
at
com.solarmetric.jdbc.DelegatingStatement.executeUpdate(DelegatingStatement.java:125)
at kodo.jdbc.schema.SchemaTool.executeSQL(SchemaTool.java:1042)
at kodo.jdbc.schema.SchemaTool.createTable(SchemaTool.java:803)
at kodo.jdbc.schema.SchemaTool.add(SchemaTool.java:334)
at kodo.jdbc.schema.SchemaTool.add(SchemaTool.java:186)
at kodo.jdbc.meta.MappingTool.record(MappingTool.java:364)
at kodo.jdbc.meta.MappingTool.run(MappingTool.java:790)
at kodo.jdbc.meta.MappingTool.main(MappingTool.java:729)
Anyone else seen this? It works ok with Hypersonic (though i can't get the
tutorial app to run with hypersonic - see my earlier post).
Alex.Some bugs in RCs sometimes don't make it into Bugzilla as it is a
release candidate and not production quality.
I would reocmmend upgrading as it fixes a number of major bug fixes and
you should be able to use the same eval key.
Alex Robbins wrote:
Abe White wrote:
I should also have asked: what JDBC driver are you using?Hi Abe,
I haven't tried with RC2 - has this been fixed in RC2? I didn't find this
bug on bugzilla.
I'm using Sybase JConnect JDBC driver (com.sybase.jdbc2.jdbc.SybDriver in
jconn2.jar) - looks like this is the version:
jConnect (TM) for JDBC(TM)/5.5(Build 25008)/P/JDK12/Tue May 29 14:37:46
2001
Should I upgrade from RC1 to RC2, and if so, can I continue to use the
same eval license key or can i download a new one?
thanks,
alex
Stephen Kim
[email protected]
SolarMetric, Inc.
http://www.solarmetric.com -
Hi All,
Can anyone help in out in finding a good tutorial for J2EE.
I wanted to have glimpses of this technology before delving deeply into it.
Also please suggest some good reference books on the same
Thanks
AnkushI'm afraid there is no quick way of learning J2EE. Of all the people on this forum only a few have truly mastered the framework. I suggest you learn it step-by-step by following the tutorial. Read the introduction to give you a glimpse of the technology and then, dive in....
The way I learned it was by building a three-tier website based on Servlets, JSP and EJB. After a few days/weeks in hell, I had an overview of the technology. I suggest you do the same.
As for book suggestions : stick to the standards. You (almost) can't go wrong with Wrox or O'Reilly.
Success,
Mike -
J2EE tutorial clientsessionmdb build???
"The J2EETrademarked 1.4 Tutorial
A J2EE Application That Uses the JMS API with an Entity Bean
In the directory <INSTALL>/j2eetutorial14/examples/jms/clientsessionmdb, use the build target to compile the source files:"
the build fails:
asant buildBuildfile: build.xml
init:
prepare:
[mkdir] Created dir: D:\down\Sun\j2eetutorial14\examples\jms\clientsessionmdb\build
build:
[javac] Compiling 5 source files to D:\down\Sun\j2eetutorial14\examples\jms\clientsessionmdb\build
BUILD FAILED
file:D:/down/Sun/j2eetutorial14/examples/jms/common/targets.xml:8: D:\lib not found.
Is some Environment variable like JAVA_HOME or somesuch required
to locatte "lib" ????Did you set the j2ee.home property in the appropriate properties file? Did you search this forum? This is a common error that has been asked many times in the past.
-
J2ee.template ant build failed
Hello,
I am not sure why the following error that ant encountered while compiling with the init setting on java.class.path points to jboss-j2ee.jar file already. Believe the jboss-j2ee.jar file has the javax.jms.ConnectionFactory class included in the jar. Do I need other jar files?
Thanks in advance.
Alan
compile:
[javac] Compiling 1 source file to C:\user\product\JBoss\j2ee.template\ejb\build\class
es
[javac] C:\user\product\JBoss\j2ee.template\ejb\src\main\client\com\mpg\template\clien
t\TestClient.java:88: cannot resolve symbol
[javac] symbol : method createConnection ()
[javac] location: interface javax.jms.ConnectionFactory
[javac] lConnection = lFactory.createConnection();
[javac] ^
init:
[echo] build.compiler = ${build.compiler}
[echo] user.home = C:\Documents and Settings\alan
[echo] java.home = c:\j2sdk1.4.2_03\jre
[echo] ant.home = c:\ant\bin\..
[echo] jboss.home = c:/user/product/jboss/jboss-3.2.3-src/build/output/jboss-3.2.3
[echo] xdoclet.home = c:xdoclet
[echo] junit.home = c:/junit3.8.1
[echo] java.class.path = c:\ant\bin\..\lib\ant-launcher.jar;C:\user\product\JBoss\j2e
e.template\.\;c:\j2sdk1.4.2_03\jre\lib\rt.jar;c:\user\product\jboss\jboss-3.2.3-src\build\
output\jboss-3.2.3\server\default\lib\jboss-j2ee.jar;C:\ant\lib\ant-antlr.jar;C:\ant\lib\a
nt-apache-bsf.jar;C:\ant\lib\ant-apache-resolver.jar;C:\ant\lib\ant-commons-logging.jar;C:
\ant\lib\ant-commons-net.jar;C:\ant\lib\ant-icontract.jar;C:\ant\lib\ant-jai.jar;C:\ant\li
b\ant-jakarta-bcel.jar;C:\ant\lib\ant-jakarta-log4j.jar;C:\ant\lib\ant-jakarta-oro.jar;C:\
ant\lib\ant-jakarta-regexp.jar;C:\ant\lib\ant-javamail.jar;C:\ant\lib\ant-jdepend.jar;C:\a
nt\lib\ant-jmf.jar;C:\ant\lib\ant-jsch.jar;C:\ant\lib\ant-junit.jar;C:\ant\lib\ant-launche
r.jar;C:\ant\lib\ant-netrexx.jar;C:\ant\lib\ant-nodeps.jar;C:\ant\lib\ant-starteam.jar;C:\
ant\lib\ant-stylebook.jar;C:\ant\lib\ant-swing.jar;C:\ant\lib\ant-trax.jar;C:\ant\lib\ant-
vaj.jar;C:\ant\lib\ant-weblogic.jar;C:\ant\lib\ant-xalan1.jar;C:\ant\lib\ant-xalan2.jar;C:
\ant\lib\ant-xslp.jar;C:\ant\lib\ant.jar;C:\ant\lib\xercesImpl.jar;C:\ant\lib\xml-apis.jar
;c:\j2sdk1.4.2_03\lib\tools.jarHi,
I've got the same problem, but with the JBOSS 3.0, here is the sample output:
My settings are:
init:
[echo] build.compiler = ${build.compiler}
[echo] user.home = C:\Documents and Settings\Marek
[echo] java.home = c:\j2sdk\jre
[echo] ant.home = c:\ant\bin\\..
[echo] jboss.home = c:/jboss
[echo] xdoclet.home = c:/xdoc
[echo] junit.home = c:/junit
[echo] java.class.path = c:\j2sdk\lib\tools.jar;c:\ant\bin\\..\lib\crimson.jar;c:\ant\bin\\..\lib\jaxp.jar;c:\ant\bin\\..\lib\ant.jar;;C:\xerces\xml-apis.jar;C:\xerces\xercesImpl.jar;C:\xerces\tools\xalan.jar;C:\xerces\xercesSamples.jar;C:\ant\lib;c:\junit;C:\jboss\lib;C:\jboss\client;C:\jboss\server\all\lib;C:\template\j2ee.template
[echo]
And at the end I get the message:
compile:
[javac] Compiling 1 source file to C:\template\j2ee.template\ejb\build\classes
[javac] C:\template\j2ee.template\ejb\src\main\client\com\mpg\template\client\TestClient.java:88: cannot resolve symbol
[javac] symbol : method createConnection ()
[javac] location: interface javax.jms.ConnectionFactory
[javac] lConnection = lFactory.createConnection();
[javac] ^
[javac] C:\template\j2ee.template\ejb\src\main\client\com\mpg\template\client\TestClient.java:90: cannot resolve symbol
[javac] symbol : method createSession (boolean,int)
[javac] location: interface javax.jms.Connection
[javac] Session lJMSSession = lConnection.createSession( false, Session.AUTO_ACKNOWLEDGE );
[javac] ^
[javac] C:\template\j2ee.template\ejb\src\main\client\com\mpg\template\client\TestClient.java:95: cannot resolve symbol
[javac] symbol : method createProducer (javax.jms.Queue)
[javac] location: interface javax.jms.Session
[javac] MessageProducer lProducer = lJMSSession.createProducer( lQueue );
[javac] ^
[javac] C:\template\j2ee.template\ejb\src\main\client\com\mpg\template\client\TestClient.java:98: cannot resolve symbol
[javac] symbol : method send (javax.jms.TextMessage)
[javac] location: interface javax.jms.MessageProducer
[javac] lProducer.send( lMessage );
[javac] ^
[javac] C:\template\j2ee.template\ejb\src\main\client\com\mpg\template\client\TestClient.java:100: cannot resolve symbol
[javac] symbol : method send (javax.jms.TextMessage)
[javac] location: interface javax.jms.MessageProducer
[javac] lProducer.send( lMessage );
[javac] ^
[javac] C:\template\j2ee.template\ejb\src\main\client\com\mpg\template\client\TestClient.java:102: cannot resolve symbol
[javac] symbol : method send (javax.jms.TextMessage)
[javac] location: interface javax.jms.MessageProducer
[javac] lProducer.send( lMessage );
[javac] ^
[javac] 6 errors
BUILD FAILED
C:\template\j2ee.template\ejb\build.xml:213: Compile failed, messages should hav
e been provided.
Total time: 7 seconds
Please tell me what is wrong???
Big thanx for your help
Rabenda -
Java EE5 Tutorial - 'ant create-tables' BUILD FAILED
Hi,
Appologies, this is quite a begineers question, hopefully it's an easy one to answer. I've searched for the last few hours regarding this issue,
trying things and searched the forums here at sun with no similar issue. As you can see below, I cannot create the tables for the bookstore1 application using 'ant'.
I am getting a FileNotFoundException however the delete.sql and tutorial.sql files are at this location C:\javaee\javaeetutorial5\examples\common\sql\javadb\
I have also made sure that the files have read and write access. I know their could be some permissions issues using vista if I installed at C:/ProgramFiles, so everything is in C:/
Another thing I have tried is using the ant command directly even though the PATH is in my enviroment variables, just incase another version was conflicting, as I read about people having such issues.
"C:\Sun\AppServer\lib\ant\bin\ant create-tables" => This gave the same error as below. Im not sure what other information may help you help me here, so just ask.
Annoying thing is, this example worked fine when I set up the environment on my work laptop (which I have no access to now) earlier, I didn't have this issue.
Thanks for your help.
/Paul.
c:\javaee\javaeetutorial5\examples\web\bookstore1>ant create-tables
Buildfile: build.xml
-pre-init:
init:
check:
tools:
start-db:
[exec] Database already started on host localhost, port 1527.
[exec] Command start-database executed successfully.
delete-tables:
[sql] Executing file: C:\javaee\javaeetutorial5\examples\web\bookstore1\=C:\javaee\javaeetutorial5\examples\common\sql\javadb\delete.sql
BUILD FAILED
C:\javaee\javaeetutorial5\examples\bp-project\database-ant.xml:48: java.io.FileNotFoundException: C:\javaee\javaeetutorial5\examples\web\bookstore1\=C
:\javaee\javaeetutorial5\examples\common\sql\javadb\delete.sql (The filename, directory name, or volume label syntax is incorrect)
Total time: 21 seconds
c:\javaee\javaeetutorial5\examples\web\bookstore1>Hi,
This is due to the path problem that u specified in build.properties file for javaee.tutorial.home= variable. Use / instead of \. Problem will solved.
Thanks
Amalka -
Build Fails for Alsaplayer in ABS
Hi all,
I couldn't get alsaplayer to run in GUI mode, but I found this thread that had the answer: http://bbs.archlinux.org/viewtopic.php?id=42168. So I followed the ABS wiki's directions for setting up ABS and I tried to run for alsaplayer (with the one line change in the PKGBUILD) , but the build fails after configuring. Here's the full console output:
aclocal.m4:14: error: this file was generated for autoconf 2.61.
You have another version of autoconf. If you want to use that,
you should regenerate the build system entirely.
aclocal.m4:14: the top level
autom4te: /usr/bin/m4 failed with exit status: 63
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /bin/install -c
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether we are using the GNU C Library 2 or newer... yes
checking for ranlib... ranlib
checking for simple visibility declarations... yes
checking for inline... inline
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for size_t... yes
checking for stdint.h... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether integer division by zero raises SIGFPE... yes
checking for inttypes.h... yes
checking for unsigned long long int... yes
checking for inttypes.h... (cached) yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking whether imported symbols can be declared weak... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_kill in -lpthread... yes
checking for pthread_rwlock_t... yes
checking for multithread API to use... posix
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for argz_count... yes
checking for argz_stringify... yes
checking for argz_next... yes
checking for __fsetlocking... yes
checking whether feof_unlocked is declared... yes
checking whether fgets_unlocked is declared... yes
checking for iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for NL_LOCALE_NAME macro... yes
checking for bison... bison
checking version of bison... 2.3, ok
checking for long long int... yes
checking for long double... yes
checking for wchar_t... yes
checking for wint_t... yes
checking for intmax_t... yes
checking whether printf() supports POSIX/XSI format strings... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for stdint.h... (cached) yes
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for ptrdiff_t... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for asprintf... yes
checking for fwprintf... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for snprintf... yes
checking for wcslen... yes
checking whether _snprintf is declared... no
checking whether _snwprintf is declared... no
checking whether getc_unlocked is declared... yes
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for CFPreferencesCopyAppValue... (cached) no
checking for CFLocaleCopyCurrent... (cached) no
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognize dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... (cached) ranlib
checking for strip... strip
checking for correct ltmain.sh version... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... yes
checking if gfortran static flag -static works... yes
checking if gfortran supports -c -o file.o... yes
checking whether the gfortran linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether gcc and cc understand -c and -o together... yes
checking whether make sets $(MAKE)... (cached) yes
checking for libmikmod-config... /usr/bin/libmikmod-config
checking for libmikmod - version >= 3.1.7... yes, `/usr/bin/libmikmod-config --version`
checking for Ogg... yes
checking for Vorbis... yes
checking for audiofile-config... /usr/bin/audiofile-config
checking for Audio File Library - version >= 0.1.7... yes
checking for afOpenFile in -laudiofile... yes
checking for ANSI C header files... (cached) yes
*** Disabling OpenGL plugins per user request ***
checking for FLAC__stream_decoder_new in -lFLAC... yes
checking for FLAC__stream_decoder_init_ogg_stream in -lFLAC... yes
checking for mad_stream_init in -lmad... yes
checking for id3_file_open in -lid3tag... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for JACK... yes
checking for xosd_create in -lxosd... no
checking for GLIB2... yes
checking for GTK2... yes
checking for SNDFILE... yes
checking for pthread_create in -lpthread... yes
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking linux/cdrom.h usability... yes
checking linux/cdrom.h presence... yes
checking for linux/cdrom.h... yes
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking sys/audioio.h usability... no
checking sys/audioio.h presence... no
checking for sys/audioio.h... no
checking audio/audiolib.h usability... no
checking audio/audiolib.h presence... no
checking for audio/audiolib.h... no
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking mad.h usability... yes
checking mad.h presence... yes
checking for mad.h... yes
checking id3tag.h usability... yes
checking id3tag.h presence... yes
checking for id3tag.h... yes
checking FLAC/stream_decoder.h usability... yes
checking FLAC/stream_decoder.h presence... yes
checking for FLAC/stream_decoder.h... yes
checking OggFLAC/stream_decoder.h usability... no
checking OggFLAC/stream_decoder.h presence... no
checking for OggFLAC/stream_decoder.h... no
checking for alsa version... found latest
checking for esd-config... /usr/bin/esd-config
checking for ESD - version >= 0.2.4... yes
checking for alOpenPort in -laudio... no
checking for AuStartFlow in -laudio... no
checking for doxygen... false
configure: WARNING: *** doxygen not found, docs will not be built
checking machine architecture... i686
checking for gcc optimization flags... -O2 -fexpensive-optimizations -funroll-loops -finline-functions -ffast-math -Wall
checking for an ANSI C-conforming const... yes
checking for size_t... (cached) yes
checking whether gcc needs -traditional... no
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for madvise... yes
checking for strdup... (cached) yes
checking for strstr... yes
configure: creating ./config.status
config.status: creating intl/Makefile
config.status: creating po/Makefile.in
config.status: creating Makefile
config.status: creating alsaplayer.1
config.status: creating alsaplayer.pc
config.status: creating alsaplayer.spec
config.status: creating app/Makefile
config.status: creating interface/Makefile
config.status: creating interface/gtk2/Makefile
config.status: creating interface/gtk2/pixmaps/Makefile
config.status: creating interface/text/Makefile
config.status: creating interface/daemon/Makefile
config.status: creating interface/xosd/Makefile
config.status: creating scopes2/Makefile
config.status: creating scopes2/monoscope/Makefile
config.status: creating scopes2/levelmeter/Makefile
config.status: creating scopes2/spacescope/Makefile
config.status: creating scopes2/logbarfft/Makefile
config.status: creating scopes2/synaescope/Makefile
config.status: creating scopes2/blurscope/Makefile
config.status: creating scopes2/opengl_spectrum/Makefile
config.status: creating output/Makefile
config.status: creating output/alsa-0.5.x/Makefile
config.status: creating output/alsa-final/Makefile
config.status: creating output/jack/Makefile
config.status: creating output/oss/Makefile
config.status: creating output/esound/Makefile
config.status: creating output/sgi/Makefile
config.status: creating output/sparc/Makefile
config.status: creating output/null/Makefile
config.status: creating output/nas/Makefile
config.status: creating input/Makefile
config.status: creating input/mad/Makefile
config.status: creating input/cdda/Makefile
config.status: creating input/mikmod/Makefile
config.status: creating input/wav/Makefile
config.status: creating input/vorbis/Makefile
config.status: creating input/audiofile/Makefile
config.status: creating input/flac/Makefile
config.status: creating input/sndfile/Makefile
config.status: creating reader/Makefile
config.status: creating reader/file/Makefile
config.status: creating reader/http/Makefile
config.status: creating alsaplayer/Makefile
config.status: creating libalsaplayer/Makefile
config.status: creating extra/Makefile
config.status: creating examples/Makefile
config.status: creating m4/Makefile
config.status: creating docs/Makefile
config.status: creating docs/reference.doxygen
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
Configuration:
Install path: /usr
Use libmad shared library: yes
Enable libid3tag support: yes
Build GTK2 interface: yes
Build XOSD interface: no
Build OpenGL based visual plugins: no
Build alsa 0.5.x output plugin: no
Build alsa 0.9.x output plugin: yes
Build jack output plugin: yes
Build oss output plugin: yes
Build esound output plugin: yes
Build sparc output plugin: no
Build sgi output plugin: no
Build nas output plugin: no
Build vorbis input plugin: yes
Build cdda input plugin: yes
Build mikmod input plugin: yes
Build audiofile input plugin: yes
Build FLAC input plugin: yes
Included OggFLAC input plugin: yes
Separated OggFLAC input plugin: no
Build sndfile input plugin: yes
Now type 'make' to build AlsaPlayer.
make all-recursive
make[1]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80'
Making all in intl
make[2]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/intl'
Making all in po
make[2]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/po'
Making all in interface
make[2]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface'
Making all in gtk2
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/gtk2'
Making all in pixmaps
make[4]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/gtk2/pixmaps'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/gtk2/pixmaps'
make[4]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/gtk2'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/gtk2'
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/gtk2'
Making all in text
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/text'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/text'
Making all in daemon
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/daemon'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/daemon'
Making all in xosd
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/xosd'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface/xosd'
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface'
make[2]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/interface'
Making all in output
make[2]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output'
Making all in alsa-0.5.x
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/alsa-0.5.x'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/alsa-0.5.x'
Making all in alsa-final
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/alsa-final'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/alsa-final'
Making all in oss
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/oss'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/oss'
Making all in esound
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/esound'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/esound'
Making all in sgi
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/sgi'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/sgi'
Making all in sparc
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/sparc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/sparc'
Making all in nas
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/nas'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/nas'
Making all in null
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/null'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/null'
Making all in jack
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/jack'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output/jack'
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output'
make[2]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/output'
Making all in input
make[2]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input'
Making all in cdda
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/cdda'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/cdda'
Making all in audiofile
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/audiofile'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/audiofile'
Making all in mikmod
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/mikmod'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/mikmod'
Making all in wav
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/wav'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/wav'
Making all in vorbis
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/vorbis'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/vorbis'
Making all in mad
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/mad'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/mad'
Making all in flac
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/flac'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/flac'
Making all in sndfile
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/sndfile'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input/sndfile'
make[3]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input'
make[2]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/input'
Making all in app
make[2]: Entering directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/app'
g++ -DHAVE_CONFIG_H -I. -I.. -I../alsaplayer -I../libalsaplayer -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -DADDON_DIR=\"/usr/lib/alsaplayer\" -O2 -fexpensive-optimizations -funroll-loops -finline-functions -ffast-math -Wall -march=i686 -mtune=generic -O2 -pipe -march=i686 -mtune=generic -O2 -pipe -MT alsaplayer-ControlSocket.o -MD -MP -MF .deps/alsaplayer-ControlSocket.Tpo -c -o alsaplayer-ControlSocket.o `test -f 'ControlSocket.cpp' || echo './'`ControlSocket.cpp
ControlSocket.cpp: In function 'void socket_looper(void*)':
ControlSocket.cpp:150: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:151: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:154: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:158: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:161: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:164: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:167: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:170: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:173: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:176: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:184: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:188: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:192: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:196: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:201: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:206: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:209: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:212: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:214: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:219: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:223: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:229: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:235: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:239: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:243: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:245: error: 'PATH_MAX' was not declared in this scope
ControlSocket.cpp:246: error: 'save_path' was not declared in this scope
ControlSocket.cpp:248: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:257: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:261: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:267: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:268: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:272: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:273: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:277: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:278: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:282: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:283: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:286: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:292: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:298: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:319: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:322: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:323: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:326: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:332: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:337: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:339: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:345: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:346: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:351: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:353: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:359: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:360: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:366: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:367: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:373: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:374: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:380: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:381: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:387: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:388: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:394: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:395: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:400: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:401: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:407: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:408: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:414: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:415: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:421: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:422: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:428: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:429: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:435: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:436: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:441: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:444: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:446: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:451: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:452: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:457: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:471: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:475: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:486: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:489: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:490: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:495: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:496: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:501: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:502: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:507: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:508: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:513: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:515: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:520: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:521: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:524: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:526: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:527: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:530: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:535: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:537: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:539: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:542: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:547: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:550: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:553: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:558: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:561: warning: deprecated conversion from string constant to 'char*'
ControlSocket.cpp:564: warning: deprecated conversion from string constant to 'char*'
make[2]: *** [alsaplayer-ControlSocket.o] Error 1
make[2]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80/app'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/zephyr/abs/alsaplayer/src/alsaplayer-0.99.80'
make: *** [all] Error 2
I figure it's those 2 errors in the middle of make that are holding it up, but I don't have a clue how to fix it.
thanks,
progrockIf you know how to write a patch or feel like learning, put one together, file a bug report, and submit the patch with it. If you don't feel like writing a patch, just submit a bug report that says that app/ContolSocket.cpp needs "include <climits>" to build. Either way is good.
Last edited by skottish (2008-08-08 04:03:17) -
Check for Preview Builds failing with error 0x080240438
Checking for Preview Builds on my two machines, one running 9860 and one running 9879, is failing with "Failed to check for new preview build, please try again later. 0x80240438.
Tried stopping Windows Update Service and clearing down the c:\Windows\SoftwareDistribution cache but to no avail. Windows Update (check for updates rather than check for preview builds) working fine.
As ever would be nice to hear from MS on this.Hi,
This seems to be the issue with the server side and should be fixed already.
Check the fred andrews's reply in this thread:
Error Code 0x80240438
Quoted:
fred andrews replied on November 16, 2014
I was just on the phone with Microsoft support they told me that the servers are down and they are working on it. I was told they should be up by tomorrow morning approx.. 4 hrs.
Best regards
Michael Shao
TechNet Community Support -
Building Native Mobile App for Android: error message, build fail
Hi,
I'm trying RH10 on a Win 8 x64 system, trying to get the generate for mobile devices, Android to work. I've installed the Android SDK (part of the complete ADT) in a "Development" folder in the C drive, installed JDK for Win 64, added the PhoneGap and ANT unzipped folders to the "Development" folder and then in the RH10 dialog to generate the Android APK, I've pointed set the correct paths to these tools. (All installed tools are correct for my OS, Win 8 x64.)
No matter what I try, using a sample file (EmployeeCare, Salesbuilder), I get an error message at the very end of the build process. Please see the screenshot showing the error message and the relevant part of the log which looks like the ANT path is not working correctly. The build fails every time. I've tried to do some troubleshooting online and for example, came across setting the environment variables for the ANT folder, which I did, but with no success in fixing the problem. The Eclipse installation connects with the JDK and runs OK if I simply boot it up.
My path settings are in a second screenshot below.
(I've tried the ANT path with different values, for example "C:\Development\apache-ant-1.9.0-bin" etc. Doesn't prevent error message and build failure.)
I am not sure what else to do. Any help would be appreciated. At this point, I would be happy to simply be able to build one APK then test it on an Android device.
Thank you for your help.
Kind Regards,
saratogacoach@saratogacoach
Not much on the forums yet about creating an app but I notice you are using Windows 8 which is not officially supported yet. Can you try on a Windows 7 machine to rule out the OS being the problem?
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
Connection for the Oracle9iAS Containers for J2EE Failed.
I tried to Create a Connection to Oracle9iAS Containers for J2EE Provided by Oracle9i JDeveloper and received an Invalid username/password for default (admin) upon testing my connection.
My Oracle9iAS Containers for J2EE are started.
I used the following:
Username - admin
Password - admin
as suggested by Oracle9i Web Services Quickstart Install documentation.
Any idea. Please help.
Thanks,
RudyI am assuming you followed the instructions/pictures in:
http://otn.oracle.com/tech/webservices/htdocs/quickstart/quickstart902.html
and particularly the OC4J startup:
http://otn.oracle.com/tech/webservices/htdocs/quickstart/config.gif
and your JDev app server connection, step 3 looks like:
http://otn.oracle.com/tech/webservices/htdocs/quickstart/13.gif
If this is true, then there are likely three possibilities:
1. If you copied verbatum the picture settings shown in 13.gif picture pointed to above you should make sure you installed JDeveloper in the d:\jdeveloper directory. 13.gif is assuming you started the OC4J in JDeveloper in d:\jdeveloper directory rather than a separate OC4J outside of the JDeveloper path. If your settings are different set them to fit your environment.
If you started a separate OC4J, then edit the JDev app server location in 13.gif where your OC4J is installed (e.g. <OC4J_Location>\j2ee\home).
2. The other common problem here is covered in the grey notes in that quickstart install guide immediately following the setup of the JDev connection. If you are using the JDeveloper shipped as part of Oracle9iDS (i.e. build 822 - see Help->About to get the build number), there is some edits described there that are required for the OC4J file server.xml.
3. If you are using JDeveloper 9.0.3 not 9.0.2 (build 988), then you might be better off following the instructions to get it going from a Web services perspective at:
http://otn.oracle.com/tech/webservices/htdocs/quickstart/quickstart903.html
Hope this helps.
Mike
Maybe you are looking for
-
How to develop a report based on multiple data bases in BIP
Hi, I have to develop a report based on multiple database(Sources). My queries is having multiple data base tables. How to achieve this in BIP Regards, Malli
-
How to handle additional files.
Hi, In PI we can pick up additional files in the Sender File Adapter. My scenario would require to pick up invoice1.txt and and invoice1.jpg (the .jpg is the additional file) I need to get FCC for .txt file, map it, and send it out to R3 with a prox
-
Minimized messages do not appear under the Window menu
If I minimize a few messages (yellow button) in Mail, then quit Mail and reopen Mail, the minimized messages don't appear under the Window menu. The only way to retrieve them is to go into Expose one at a time and click on them. This seems like a bug
-
"emergency calls only" - but only sometimes!
Hi everyone, I bought the new iphone 4, and it worked just fine. The guy at the store (mobile phones store) inserted microsim, activated the device and everything was fine untill it was turned off by me. Then, when i would power it on, it would prese
-
Hi Gurus, I have write a copa report , i have assigned in KE4I sd condition type to value filed, so +/- are assigned in PR00 and VPRS condition typs ..still i am getting wrong value ..ie Reversal document value also add to the report ex billing doc