[SOLVED] Yaourt Symbolic link error, any ideas?
When I try to install glusterfs via yaourt, I always run into this error:
libtool: install: warning: remember to run `libtool --finish /usr/lib/glusterfs/3.2.4/xlator/system'
Making install in glusterfsd
Making install in src
ln: failed to create symbolic link `/home/chojin/tmp/yaourt-tmp-chojin/aur-glusterfs/pkg/usr/sbin/glusterfs': No such file or directory
make[3]: *** [install-data-local] Error 1
make[3]: *** Waiting for unfinished jobs....
/bin/sh ../../libtool --mode=install /bin/install -c 'glusterfsd' '/home/chojin/tmp/yaourt-tmp-chojin/aur-glusterfs/pkg/usr/sbin/glusterfsd'
/bin/install -c .libs/glusterfsd /home/chojin/tmp/yaourt-tmp-chojin/aur-glusterfs/pkg/usr/sbin/glusterfsd
make[2]: *** [install-am] Error 2
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build glusterfs.
==> Restart building glusterfs ? [y/N]
==> ----------------------------------
==>
This happens regardless of running yaourt as root or not, and it makes no difference if I specify a different tmp directory.
It's a really weird issue, since I was able to install it successfully on my 64bit Desktop running arch, but not on my servers. But now my desktop also fails, even though the package version hasn't changed.
Has anyone experienced this error? Perhaps with a different package, but maybe the same solution or work around would apply.
EDIT:
Weird, this time it worked.
I commented out the MAKEFLAGS in makepkg.conf and I ran makepkg directly as a user with the following flags: makepkg -L -m -s --check
I wonder what did the magic? Strange.
Update,
seems the MAKEFLAGS was the culprit. I had it set to 48 since my server has 48 cores, but I guess some packages don't like that.
Solved, I guess.
Last edited by ChojinDSL (2011-10-17 12:41:01)
Yes! You are right. Now, this sounds so familiar. I vaguely remember doing this when I originally installed Arch on this laptop, but I must have done it as part of the "beginners guide" procedure. I guess this explains it:
https://wiki.archlinux.org/index.php?ti … did=168068
Now, I take it from this that I safely remove ALL the symlinks from my rc.local?
rc.local:
ln -s /dev/sr0 /dev/cdrom
ln -s /dev/sr0 /dev/cdrw
ln -s /dev/sr0 /dev/dvd
ln -s /dev/sr0 /dev/dvdrw
Similar Messages
-
Weird linking error - any ideas?
I have a working project and am trying to add an edit screen. After I get the code for the edit stuff in place - before it's even hooked up to the buttons - I get this error when linking, after the compile:
".objcclass_nameSomeClassName", referenced from:
literalpointer@__OBJC@__clsrefs@SomeClassName in SomeFileName.o
symbols(s) not found
collect2: Id returned 1 exit status
Anybody have any idea which direction I should go to figure out what's up? As far I can tell (of course everything is set up right but clearly it's not.Well, hmm. I've gone over this several times with a fine-toothed comb and I am certain nothing is spelled wrong and the case is right.
As far as I can tell, I have the @class BlahBlah declaration in the right place and the right #Include stuff.
What else might be wrong, that I can look for?
It's a custom table cell, and if I feed the view a generic table cell it all works.
I have this structure - is there anything missing?
||||View.h
@class CellClass;
@interface ViewControllerClass : UIViewController <UITableViewDelegate, UITableViewDataSource> {
CellClass *cellClass;
(other stuff)
@property (nonatomic, retain) CellClass *cellClass;
(other stuff)
@end
||||View.m
#import "View.h"
#import "Cell.h"
@implementation ViewControllerClass
@synthesize cellClass;
(other stuff)
@end
||||Cell.h
@interface CellClass : UITableViewCell {
(some stuff)
@end
||||Cell.m
#import "Cell.h"
@implementation CellClass
(stuff)
@end -
I have an iphone 5s, does not boot, blinking white screen with black logo, when trying itunes restore from mac and pc, error code 4013 which is usb error, any ideas? Does a totally dead battery have that effect? I have had it plugged in to a computer overnight, but maybe does not charge when totally dead?
Please help, thanks in advance all1Hi eggroll77,
Welcome to Apple Support Communities.
That alert codes does suggest there is a USB related issue. If you haven’t already, try the troubleshooting suggestions in the article linked below.
iOS: Restore errors 4005, 4013, and 4014
I hope this helps.
-Jason -
My iPod says "cannot be synced. The required file cannot be found" it also defaults to apple logo when I try to access photos. I think the issues are linked. Any ides?
So you have tried removing/trashing your iPod's photo cache? See here for more information on where to find this file.
iTunes: Understanding the iPod Photo Cache folder
B-rock -
when trying to install adobe photoshop cs4 on my new computer with windows 7 home premium and get a message to contact adobe because of an error. any ideas
JJMack <[email protected]> wrote:
=============
JJMack created the discussion
"when trying to install adobe photoshop cs4 on my new computer with windows 7 home premium and get a message to contact adobe because of an error. any ideas"
To view the discussion, visit: https://forums.adobe.com/message/7092876#7092876 -
I cloud gives me the following message when I try and log in "you can't log in because of a server error" any ideas?
Hi spillgar,
If you are having issues signing in to iCloud from your Windows machine, you may find the following articles helpful:
iCloud: Account troubleshooting
http://support.apple.com/kb/ts3988
iCloud: If you can’t sign in to iCloud.com
http://support.apple.com/kb/ph2611
Regards,
- Brenden -
I cant get into itunes producer keep getting an error my username and password is incorrect. i have made a new one all good still same error any ideas?
I'm having a very similar problem.
I'm based in the U.K. and am trying to publish an iBook through the iTunes bookstore. I have made my book in iBooks author 2.0. My iTunes is up to date.
When I try and publish the iBook I have passed and ticked the Pre Publish Check; and the Create Account, but when I try and download iTunes Producer through iTunes Connect I'm told "Your Apple ID does not have permission to access iTunes Content."
When I try and re-set my iTunes Store account I'm told "The iTunes Store Account has already applied to distribute content on the iBookstore." Of course it has I just did that.
If I try and sign in to iTunes Connect through the Publishing pane I'm told "Your ID or Password was entered incorrectly." Even though I've just used it to sign into iTunes (and here), so my password and Apple ID work fine elsewhere.
Is my access to the iTunes Connect being delayed while my submission is processed, i.e. the processing of my tax and account details? Or am I stuck in a loop?
If this is still processing (I started this 20 hours ago) I assume that I have to submit the book itself when I can download iTunes Producer at a later date, as I haven't submitted the book yet?
I emailed the problem to iTunes Store and was refered to [email protected], only for them to say they don't read or reply to emails sent to that address??????
I'm not sure which part of the process I've reached - if any. I feel I'm in limbo. I have an iBook ready to go - but where is Apple?
Any help would be most welcome.
Andy -
I cannont reset my photostream, when I attempt to do so I get an error message that says, " Your Photostream could not be reset at this time due to server error" Any Ideas?
Been like this for a couple of days. Is this something that happens from time to time?
-
when I try to export a photo to my desktop I get the followiing error message "Export Versions Complete with Errors" any ideas why?
Have you tried to export different images as a test to see if it is related to the one you are getting the error on? Also try to export to a different folder other then the Desktop, again to see if the problem is connected to that folder.
Another thing to do is run the Aperture Library First Aid on the library. Hold the option and command keys down while you start Aperture. First run the Permission Repair and see if that helps. If not quit Aperture and restart and run the Library Repair and try.
Post back if you still have problems
regards -
I've attempted to download Mac X Maverick and I keep getting a download error, any ideas?
Without the error message it is only a guess but how about something isn't working
-
I have charged I pod the last 2 days but the apple symbol displays. I tried resetting I pod but the low battery symbol displays. Any ideas??
Read the article that you linked
-
[SOLVED] Symbolic link error in boot sequence
Either this got introduced with the latest kernel upgrade, or I just happened to catch it now during the boot cycle. At the very end, I get the following error, also present in the /var/log/boot file:
Wed Mar 28 13:23:55 2012: ln: failed to create symbolic link `/dev/cdrom': File exists
Does anyone know which service/process tries to create a symbolic link for /dev/cdrom...?
To make matters more interesting - there is a /dev/cdrom lin, dated at the time of reboot, so something must have created it already. But it's slightly different than the links for /dev/dvd and /dev/cdrw:
[root@abc dev]# ls -l
total 0
lrwxrwxrwx 1 root root 3 Mar 28 13:23 cdrom -> sr0
lrwxrwxrwx 1 root root 8 Mar 28 13:23 cdrw -> /dev/sr0
lrwxrwxrwx 1 root root 8 Mar 28 13:23 dvd -> /dev/sr0
lrwxrwxrwx 1 root root 8 Mar 28 13:23 dvdrw -> /dev/sr0
Any ideas?
Last edited by twelveeighty (2012-03-30 17:09:13)Yes! You are right. Now, this sounds so familiar. I vaguely remember doing this when I originally installed Arch on this laptop, but I must have done it as part of the "beginners guide" procedure. I guess this explains it:
https://wiki.archlinux.org/index.php?ti … did=168068
Now, I take it from this that I safely remove ALL the symlinks from my rc.local?
rc.local:
ln -s /dev/sr0 /dev/cdrom
ln -s /dev/sr0 /dev/cdrw
ln -s /dev/sr0 /dev/dvd
ln -s /dev/sr0 /dev/dvdrw -
Symbolic link error when exporting during heterogeneous system copy
My enviroment is ECC6.0/Oracle 10.2.0.2/SUN Solaris 10 . I'm performing heterogeneous system copy to Oracle 10.2.0.2/AIX 6.1 enviroment.
I've succesfully exported & imported two systems ie DEV & Solutin Manager , but PRD system has an OS problem with symbolic links ie Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS
I want to export both ABAP & JAVA stack but only the java stack is getting picked.
Below is part of the resultng sapinst.log
Thanks
INFO 2011-09-05 10:44:30.573
Execute step verifyJavaHome of component |NW_Export|ind|ind|ind|ind|0|0|NW_getJavaHome|ind|ind|ind|ind|2|0
INFO[E] 2011-09-05 10:44:33.851
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/._), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:44:33.851
FSL-02061 Link /._ is invalid: Unable to link a link to itself.
INFO 2011-09-05 10:44:46.118
Execution of the command "/usr/j2sdk1.4.2_09/bin/java -classpath /tmp/sapinst_exe.29247.1315208256/JAR/ins-j2ee.jar com.sap.ins.j2ee.GetSystemProperty" finished with return code 0. Output: #
#Mon Sep 05 10:44:45 EAT 2011
java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
sun.boot.library.path=/usr/j2sdk1.4.2_09/jre/lib/sparc
java.vm.version=1.4.2_09-b05
java.vm.vendor=Sun Microsystems Inc.
java.vendor.url=http\://java.sun.com/
path.separator=\:
java.vm.name=Java HotSpot(TM) Client VM
file.encoding.pkg=sun.io
user.country=US
sun.os.patch.level=unknown
java.vm.specification.name=Java Virtual Machine Specification
user.dir=/oracle/PRD/INSTDIR/sapinst_dir
java.runtime.version=1.4.2_09-b05
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
java.endorsed.dirs=/usr/j2sdk1.4.2_09/jre/lib/endorsed
os.arch=sparc
java.io.tmpdir=/var/tmp/
line.separator=\n
java.vm.specification.vendor=Sun Microsystems Inc.
os.name=SunOS
sun.java2d.fontpath=
java.library.path=/usr/j2sdk1.4.2_09/jre/lib/sparc/client\:/usr/j2sdk1.4.2_09/jre/lib/sparc\:/usr/j2sdk1.4.2_09/jre/../lib/sparc\:/tmp/sapinst_exe.29247.1315208256\:/usr/openwin/lib\:/usr/lib
java.specification.name=Java Platform API Specification
java.class.version=48.0
java.util.prefs.PreferencesFactory=java.util.prefs.FileSystemPreferencesFactory
os.version=5.10
user.home=/
user.timezone=Africa/Nairobi
java.awt.printerjob=sun.print.PSPrinterJob
file.encoding=ISO8859-1
java.specification.version=1.4
java.class.path=/tmp/sapinst_exe.29247.1315208256/JAR/ins-j2ee.jar
user.name=root
java.vm.specification.version=1.0
java.home=/usr/j2sdk1.4.2_09/jre
sun.arch.data.model=32
user.language=en
java.specification.vendor=Sun Microsystems Inc.
java.vm.info=mixed mode
java.version=1.4.2_09
java.ext.dirs=/usr/j2sdk1.4.2_09/jre/lib/ext
sun.boot.class.path=/usr/j2sdk1.4.2_09/jre/lib/rt.jar\:/usr/j2sdk1.4.2_09/jre/lib/i18n.jar\:/usr/j2sdk1.4.2_09/jre/lib/sunrsasign.jar\:/usr/j2sdk1.4.2_09/jre/lib/jsse.jar\:/usr/j2sdk1.4.2_09/jre/lib/jce.jar\:/usr/j2sdk1.4.2_09/jre/lib/charsets.jar\:/usr/j2sdk1.4.2_09/jre/classes
java.vendor=Sun Microsystems Inc.
file.separator=/
java.vendor.url.bug=http\://java.sun.com/cgi-bin/bugreport.cgi
sun.io.unicode.encoding=UnicodeBig
sun.cpu.endian=big
sun.cpu.isalist=sparcv9vis2 sparcv9vis sparcv9 sparcv8plusvis2 sparcv8plusvis sparcv8plus sparcv8 sparcv8-fsmuld sparcv7 sparc
INFO 2011-09-05 10:44:47.076
Execution of the command "/usr/j2sdk1.4.2_09/bin/java -classpath /tmp/sapinst_exe.29247.1315208256/JAR/ins-j2ee.jar:/tmp/sapinst_exe.29247.1315208256/JAR/sapxmltoolkit.jar -d64 com.sap.ins.j2ee.TestClassLoader" finished with return code 0. Output: CORRECT
INFO 2011-09-05 10:44:47.572
Execute step verifyPolicy of component |NW_Export|ind|ind|ind|ind|0|0|NW_getJavaHome|ind|ind|ind|ind|2|0
INFO 2011-09-05 10:44:47.715
Execute step setNWOption of component |NW_Export|ind|ind|ind|ind|0|0|NW_getJavaHome|ind|ind|ind|ind|2|0
WARNING 2011-09-05 10:44:47.944
Could not determine a valid JAVA_HOME directory from the environment.
INFO 2011-09-05 10:44:48.86
Execute step assignUsersToSapinstGroup of component |NW_Export|ind|ind|ind|ind|0|0
INFO 2011-09-05 10:44:48.890
Account sapinst already exists.
INFO 2011-09-05 10:44:48.894
Account prdadm already exists.
INFO 2011-09-05 10:44:48.917
Account oraprd already exists.
INFO 2011-09-05 10:44:49.73
Execute step useDatabaseMethod of component |NW_Export|ind|ind|ind|ind|0|0
INFO 2011-09-05 10:44:49.217
Execute step setDatabaseMethodOra of component |NW_Export|ind|ind|ind|ind|0|0
INFO 2011-09-05 10:44:49.341
Execute step setDatabaseMethodDB6 of component |NW_Export|ind|ind|ind|ind|0|0
INFO 2011-09-05 10:44:49.480
Execute step mainExportParameters of component |NW_Export|ind|ind|ind|ind|0|0
INFO[E] 2011-09-05 10:44:52.251
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/._), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:44:52.252
FSL-02061 Link /._ is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.760
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/cntrl), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.761
FSL-02061 Link /oracle/PRD/cntrl is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.762
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/._), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.762
FSL-02061 Link /oracle/PRD/._ is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.763
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/sdubhibq), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.764
FSL-02061 Link /oracle/PRD/sdubhibq is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.765
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/sduccayx), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.765
FSL-02061 Link /oracle/PRD/sduccayx is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.766
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/inventory), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.767
FSL-02061 Link /oracle/PRD/inventory is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.768
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/OPatch), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.768
FSL-02061 Link /oracle/PRD/OPatch is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.769
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/assistants), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.770
FSL-02061 Link /oracle/PRD/assistants is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.771
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/bin), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.772
FSL-02061 Link /oracle/PRD/bin is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.773
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/clone), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.773
FSL-02061 Link /oracle/PRD/clone is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.774
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/crs), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.775
FSL-02061 Link /oracle/PRD/crs is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.776
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/css), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.777
FSL-02061 Link /oracle/PRD/css is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.778
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/ctx), line (346) in file (syuxclink.cpp).
INFO[E] 2011-09-05 10:45:01.778
FSL-02061 Link /oracle/PRD/ctx is invalid: Unable to link a link to itself.
INFO[E] 2011-09-05 10:45:01.779
FSL-00001 System call failed. Error 90 (Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS) in execution of system call 'realpath' with parameter (/oracle/PRD/dbs), line (346) in file (syuxclink.cpp).Hi,
In PRD system, u might have craeted many symbolic links in /oracle/PRD fileystem . This should be avoided. Symbolic link should not be created in /oracle/PRD ...
Please check why symbolic links are created and get help from System Operation team . Please becareful to unlink symbolic links that are created by non-SAP. Make sure to perform full offline backup .
Please get the help from Unix System Operation team. Also it does not makes any sense to increase value of Unix parameter for maximum symbolic links.
Regards
APR -
Another -8 error, any ideas?
My iChat has been working flawlessly for as long as i can recall until Sunday after I ran software update which included AE updates. I have a X-Modem plugged into AE basestation serving my MBP. When I try to connect with video it fails and gives the -8 error in log, it had never failed to connect prior to Sunday.
My firewall is off and I can also connect to the appleu3 test account, the bizarre thing is after 2 days of not working it suddenly started working for a few hours now it fails again (I hadn't changed anything prior to it working)
Any ideas what the issue may be?
CheersYes, that's the one.
Is there something or was there something that needed to be done to work with a Base Station and iChat ?
I know the chap used to post here as ADSLNation and was very helpful.
EDIT:-
Different computer different Bookmarks.
I found I have this link http://www.adslnation.com/support/knowledgebase/ht007.php
I would pay attention to the TroubleShooting test and fix at the bottom.
3:18 PM Thursday; August 23, 2007
Message was edited by: Ralph Johns (UK) -
Getting Tomcat error- any ideas?
Im on a Uni tomcat server and am getting this error "The requested resource (/05ics42/servlet/SessionServlet) is not available."
I cant change the actual tomcat settings but i dont think its that, all the other students dont have this problem so im thinking the tomcat settings are fine. Im under the impression that it may actually be something in my servlet.
import java.io.*;
import java.sql.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class SessionServlet extends HttpServlet
public void doGet(HttpServletRequest req, HttpServletResponse res)
throws IOException, ServletException {
processRequest(req,res);
public void doPost(HttpServletRequest req, HttpServletResponse
res) throws IOException, ServletException {
processRequest(req,res);
public void processRequest(HttpServletRequest req,
HttpServletResponse res) throws IOException, ServletException {
res.setContentType("text/HTML");
PrintWriter out = res.getWriter();
String username = req.getParameter("username");
String password = req.getParameter("password");
Connection con = null;
try {
con = DBConnection.getConnection();
Statement statement = con.createStatement();
ResultSet rs = statement.executeQuery("SELECT * " +
"FROM User_Login" + "WHERE username = '" +
username + "' and " + "password = '" + password + "'");
out.println("<HTML><HEAD><TITLE>Session Servlet</TITLE></HEAD><BODY><CENTER>");
out.println("<br /><br />");
if(!rs.next()) {
out.println("Login Denied");
else {
UserSession.setSession(req,username);
out.println("Welcome " + UserSession.getSession() + "!");
out.println("</center></body></html>");
catch(Throwable th) {
th.printStackTrace();
finally {
try {
con.close();
catch(Throwable e) {
e.printStackTrace();
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
public class DBConnection
public static String dbDriver;
private static String dbLocation;
private static String dbUsername;
private static String dbPassword;
private static void initialize() {
dbDriver="com.mysql.jdbc.Driver";
dbLocation = "jdbc:mysql://latcs5.cs.latrobe.edu.au/05ics42";
dbUsername="05ics42";
dbPassword="cse32ics";
public static Connection getConnection() {
if(dbDriver == null) {
initialize();
Connection connection = null;
try {
Class.forName(dbDriver);
connection = DriverManager.getConnection(dbLocation,dbUsername,dbPassword);
catch(ClassNotFoundException cnfe) {
System.out.println("DBConnection Not Found: " + cnfe);
catch(SQLException sqle) {
System.out.println("DBConnection: SQL Exception: "+
sqle);
finally{}
return connection;
<web-app>
<servlet>
<servlet-name>ToppingFactory</servlet-name>
<servlet-class>ToppingFactory</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ToppingFactory</servlet-name>
<url-pattern>/servlet/ToppingFactory</url-pattern>
</servlet-mapping>
</web-app>
Any ideas? Thanks for any help Gurus :D<servlet-class>SessionServlet</servlet-class>Your servlet class MUST have a package. Specify a package for the servlet class, recompile it and place it with the proper directory structure corresponding to the package under WEb-INF/classes for your web application. Then specify the <servlet-class> tag with the fully qualified servlet class name.
It should solve your problem.
Maybe you are looking for
-
How to adress a symbol created with sym.createChildSymbol
Hi, I want to create a symbol (as a MovieClip) when I click a button and I want to load into that symbol a Edge Composition. This is my code: var pageContent = sym.createChildSymbol("content", "Stage"); EC.loadComposition("cvcontact.html", sym.getSym
-
I Can't sign into my creative cloud. It says i've been signed out.
I Can't sign into my creative cloud. It says i've been signed out.
-
1Z0-051 Oracle Database 11g: SQL Fundamentals I
Hi , Could any one pls help which book i need to refer to get oca . Thanks Pls give me free download able links to download ebooks if possible .Thanks
-
Creative MediaSource doesnt recognize Nomad Zen X
Hello, I'm using the latest Creative MediaSource Version 3.30.2 and when I plug in and turn on my Nomad Zen Xtra it isn't recognized/listed in mediasource (however windows detects it, the latest drivers are installed and nomad explorer also detects i
-
Background on google has turned black?
The background on google/safari on my iphone 4 has turned black (the URL bar at the top of the screen and the navigation bar along the bottom). It's only on Google, the rest of the phone is fine. I've updated to iOS5.1, tried doing a factory restore,