Issue in Setting up MySQL DB with ATG 10.0.3
Hi All,
I am facing the below issue while setting up the MySQL DB with the ATG 10.0.3 version.
**** Error Thu Aug 30 23:45:25 CDT 2012 1346388325927 /atg/dynamo/service/jdbc/JTDataSource an exception was encountered while trying to populate the pool with the starting number of resources:
atg.service.resourcepool.ResourcePoolException: java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306
**** Error Thu Aug 30 23:45:25 CDT 2012 1346388325968 /atg/dynamo/service/jdbc/JTDataSource The connection pool failed to initialize propertly, i.e. the starting number of connections could not be created; check your database accessibility and JDBC driver configuration
Please help to resolve this issue.
Weblogic comes with ojbc driver for oracle db but I've never tried it with mysql - I just looked and theres mysql-connector-java-commercial-5.1.14-bin.jar in weblogic server/lib directory. Make sure its coming up in your class path log output when you startup weblogic.
-Kip
Similar Messages
-
Include-prelude issue with ATG 10.1.1
I am using ATG 10.1.1, jboss5.1, MySQL 5.1
I am trying to set:
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5">
<jsp-config>
<jsp-property-group>
<url-pattern>*.jsp</url-pattern>
<page-encoding>UTF-8</page-encoding>
<include-prelude>/a/b/prelude.jspf</include-prelude>
</jsp-property-group>
</jsp-config>
</web-app>And mymodule-web.war/a/b/prelude.jspf have:
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="dsp" uri="http://www.atg.com/taglibs/daf/dspjspTaglib1_0" %>But these libraries are unable to load in any jsp file via include-prelude. Although including <%@ taglib prefix="dsp" uri="http://www.atg.com/taglibs/daf/dspjspTaglib1_0" %> to a perticular file in working fine.
Also I have gone through my last thread Can we use <include-prelude>...</include-prelude> in ATG9.1?? and hope this should be due to jstl version mismatch. I am not sure if ATG 10.1.1 already has required version of jstl? Is there need to change any jar(s)?
If yes I'm confuse which jstl and standard.jar should we use here from below?
http://repo2.maven.org/maven2/javax/servlet/jstl/
http://repo2.maven.org/maven2/taglibs/standard/
-RMishra
Edited by: RMishra on Jan 10, 2013 8:08 PM
Edited by: RMishra on Jan 10, 2013 9:29 PMThanks for your response Gautam. Files that you have mentioned were of older version in my module. My confusion was about version(for jstl.jar and standart.jar) with ATG 10.1.1. I have replaced jstl.jar with http://repo2.maven.org/maven2/javax/servlet/jstl/1.2/ and standard.jar with http://repo2.maven.org/maven2/taglibs/standard/. Now its working fine.
-RMishra
Edited by: RMishra on Jan 11, 2013 12:22 AM -
HT4623 We're sorry, we are unable to continue with your activation at this time. Please try again later, or contact customer care.----How to fix this issue while setting up the iphone for the new ios?
If you don't have a SIM card in the phone, you must put one in. It's required for activation.
If you do, then your phone was probably hacked to unlock it from the original carrier. Contact them and see if they will unlock it. If they will not do so, then you can't use that phone. -
Facing Issue while Integration Cybersource with ATG
Hi All,
I am facing issue with address verification while integrating cybersource with ATG.
Rest all integration with cybersource are working fine.
If i used VerifyOrderAddresses and mention addressVerificationProcessor to use CyberSourceAddressVerify , i get the below error related to houseno . box not found
addressVerificationProcessor=/atg/commerce/payment/CyberSourceAddressVerify
Can someone please help me on this.
Need it urgently. Pls let me know if need further details
TIA,
Mayank
Error Log :
12:03:01,992 INFO [ShoppingCartModifier] DEBUG There are 0 gift certificates to be collected
12:03:01,993 INFO [ShoppingCartModifier] DEBUG adding CreditCard to the Order
12:03:02,075 INFO [ShoppingCartModifier] DEBUG no form errors - staying on same page.
12:03:04,942 INFO [CyberSourceAddressVerify] DEBUG ----- request -----
12:03:04,946 INFO [STDOUT] ship_to_state=CA
bill_state=CA
ship_to_city=San Jose
bill_city=San Jose
bill_country=us
bill_zip=95131
ship_to_country=us
ignore_avs=
merchant_id=mykkaushik
bill_address2=
ics_applications=ics_dav
ship_to_zip=95131
bill_address1=1, Main St
ship_to_address2=
client_lib_version=Sun Microsystems Inc./1.6.0_31/Windows 7/6.1/-/Java/5.0.3
ship_to_address1=1, Main ST
merchant_ref_number=pg460011
12:03:06,320 INFO [CyberSourceAddressVerify] DEBUG ----- response -----
12:03:06,320 INFO [STDOUT] dav_rcode=0
ics_rcode=0
ics_rmsg=House/Box number not found on street.
request_id=3539115850040180464524
dav_us_info=S00000
dav_us_error_info=E421
request_token=AhijLwSRf7YylSTvL7cYIJ+1EEDyqAJGlwtJMsXXwMhEAAAA/QNM
dav_rflag=DINVALIDADDRESS
ics_rflag=DINVALIDADDRESS
merchant_ref_number=pg460011
dav_rmsg=House/Box number not found on street.
12:03:06,364 INFO [ShoppingCartModifier] DEBUG PipelineError: key=InvalidAddress; error={pg460011=House
12:03:06,367 INFO [ShoppingCartModifier] DEBUG adding form exception: InvalidAddress: House/Box number
12:03:06,367 INFO [ShoppingCartModifier] DEBUG root cause of exception: null
12:03:06,368 INFO [ShoppingCartModifier] DEBUG Transaction Marked as Rollback - redirecting to: billing
12:03:06,369 INFO [ShoppingCartModifier] DEBUG afterSet sees currentTransaction as TransactionImple < a
nStatus.ABORT_ONLY >
12:03:06,369 INFO [ShoppingCartModifier] DEBUG afterSet committing transaction TransactionImple < ac, B
tus.ABORT_ONLY >
12:03:06,494 INFO [ShoppingCartModifier] DEBUG Released local write lock using id 270000It's an issue with the input which you given to the field:House/Box
Returning Error from Cybersource:
House/Box number not found on street.
could you please give valid number here which is the Cybersource service expecting number. -
Issue in setting up a connection pool in Glassfish
Hello,
I'm having an issue in setting up a connection pool in Glassfish. Previously I did it succesfully when I installed Glassfish in a Windows Server machine, but now I'm trying to do the same thing on a Linux machine and it's not working.
Glassfish version is: Glassfish server open source edition 3.1.1 (build 12)
The machine is a AWS machine running Amazon Linux AMI
Oracle Database is Oracle 11g Release 11.1.0.6.0 - 64bit Production With the Real Application Clusters option
The Oracle client installed on the machine is Release 11.2.0.3.0 Production
Java version is: Java(TM) SE Runtime Environment (build 1.7.0_02-b13)
I've created the pool with the following options:
Resource Type: javax.sql.DataSource
Datasource classname: oracle.jdbc.pool.OracleDataSource
And as additional properties (apart from User and Password) I put as URL jdbc:oracle:oci8:@EVOREAD
The TNS file is correct and I can connect without any problem using sqlplus. I already copied the ojdbc6.jar in the /opt/Glassfish3/Glassfish/lib folder and I already restarted Glassfish server. Basically I did all the same steps that I did in the Windows machine, but in the Linux machine I always receive the following error:
java.lang.UnsatisfiedLinkError: no ocijdbc11 in java.library.path no ocijdbc11 in java.library.path
I needed to create also a connection pool to a MySql Database and basically I did exactly the same steps (apart of course using all the parameters needed for MySql and the proper connector) and it worked immediately.
Anyone can help me?You are using an OCI driver? You can either revert to using a thin client, or install the SQL client binaries and add its lib directory to the LD_LIBRARY_PATH.
-
Setting up airport express with airport extreme 802.11n with Airport Utilit
Hi,
I'm having trouble setting up my airport express(AX). Having recently bought the new Airport Extreme (AE) basestation, I can't figger out how to set it up to recognize the AX and allow me to stream airtunes. Previously I had the AX setup fine, but once I installed the AE, it no longer was recognized.
After resetting the AX, the airport Utility recognizes the AE and the AX as basestations, but I don't want to have to switch back and forth from wireless networks everytime I want to listen to music in another room. Airport Admin seemed to have been wiped out when I installed the AE, so any documents I've found on the Apple site refer to AA and not Airport Utility.
HAs anyone set up their AX on the new AE basestation?
thanks!
ReneI am currently experiencing the same issue, except that I cannot for the life of me get the AX to:
1) Stop flashing yellow - numerous resets -soft to default.
2) The airport utility will not recognize it.
The airport utility sees the AE no problem, I got that up and running after a few restarts and am now able to log on to the network with my laptop.
I am new to Mac's and this is the 1st time I have tried to set up a network with one, I was excited about being able to use the AX to play my iTunes through the stereo in the other room and to hopefully use it to connect my X-Box to the internet. But I am starting to think that this is either above my skills or a fruitless endeavor. Any help would be most appreciated!
Thanks
Fairbanks -
How to set up Airport Extreme with Charter ARRIS Modem TM902A for the first time for WIRELESS.
When Charter Tech goes to your site, have them connect the modem up, but do not connect the modem to your iMAC or MacBook Pro. What you want to do is connect the Airport Extreme to the iMac or MacBook Pro first with the Ethernet Cable. You have to do this to configure via Airport Utility to set up the Base Station Name & Base Station Password.
You will then create/configure a Wireless Network, create your Wireless Password that will be entered on each of your Devices, example, Apple Tv, your iPhone, etc., you want to allow access to your Wireless Network you are creating.
Wireless Security will be -> WPA/WPA2 personal or just WPA2
Enter the Wireless Password you want
Verify the Wireless Password (enter it again)
After it is created you will see it on the Airport Utility window with the name you created for it and to the left, will be a Dot (circle that will be yellow).
Next you then want to unplug the power to the Airport Extreme, and then take the end of the Ethernet cable you unplugged from the iMac or Lap top MacBook Pro and connect it to the back of the Modem.
Next unplug the power cord from the modem and wait about 5 minutes, then plug the power back into the Arris Modem and wait until all lights come back on the modem wait
about 5 minutes, then plug the power cord back to the Airport Extreme and you will see it the light blinking yellow. Wait about 5 to 10 minutes, during this time Restart you IMAC or MacBook Pro, and once it is back up click on the Airport Utility and you should see on the Airport Utility screen.
For INTERNET to the left the light should be green and you should see the Airport Extreme also appear and the light to the left on the screen should also be green. If they are, you then should be able to click on the Wireless Symbol on top of bar of the screen and click to select the Wireless Network Name you created.
If you Do Not See the light (Icon) next to INTERNET turn Green, or if you see the Internet Light Green, but the Light (Icon) next to the Airport Extreme is yellow, unplug the power again to the modem and unplug the power again to the Airport extreme and wait about 15 minutes or up to 30 minutes. Then plug the power cord back to the modem wait till all the lights light up then, plug the power cord back into the Airport Extreme and Restart your iMAC or MacBook Pro.
The Airport Extreme light should change from yellow to green. Open up the Airport Utility to see what the indicators are showing they should both be green. Again select Wireless network you created under the Wireless Icon on the top right of the screen. Open Safari and see if you are able to Route to a web page or the apple site should appear.
WHAT TO DO IF YOUR AIRPORT EXTREME WAS PREVIOUSLY SET UP FOR USE WITH ANOTHER CARRIERS ROUTER OR MODEM.
NOTE: If you already had your Airport Extreme connected for example, I previously had ATT Uverse and the Airport Extreme was connected to the Wireless Router Model 3801HGV, I disabled the Uverse Wireless and used the Airport Extreme for the Wireless signal in bridge mode, as the Airport extreme Signal is much stronger than the Uverse router, and I was able to obtain a Wireless signal with the Airport Extreme way much better with no signal loss which was very very frustrating with the Uverse router.
Anyhow if you had it hooked up like this, now that you will be using it with the Charter ARRIS Modem TM902A, you will need to reset the Airport Extreme to clear out the old data it has in memory, with the previous set up otherwise it will not work. Trust me I spent 6 hours trying to make it work reading all Apple Support Community questions and answers relating to this type issue/problem others have been having trying to get their set up working. I tried all the tips, and I finally decided just to see if by chance I would be able to connect with someone with Charter Tech support who might be familiar with Apple to be able to assist me and by luck I did. He told me why it was not working and was all due the previous configuration with the ATT Uverse router was still in memory with the Airport Extreme. Finally it was 10:30 PM when I decided to call Charter Tech Support and I had been working on this since 3:00 pm pacific. I did not call them earlier as all the post I read said they never received any good help from Charter. After calling them I finished up by 11:00 PM and was able to finally connect Apple Tv, iMac, iPhones and Macbook Pro. We love our Apple Product and Happy all is connected with the new
Internet Provider Charter. I must say the speed is way way much better than it ever was with AT&T Uverse.
THIS IS WHAT YOU WILL NEED TO DO:
First you will need to unplug the Airport Extreme, then by taking the tip of a pen or paper clip end you need to push the reset button on the back of the Airport Extreme and hold it
down and at the same time plug the power cord back into the Airport Extreme count to 5 or 10 then release the reset button. Then once he light in front of the Airport Extreme stops blinking you need to plug the Ethernet cable from the Airport Extreme to your iMAC or Macbook Pro, and restart which ever one you have, then open the Airport Utility once it is back up. If you see airport extreme pop up with the old network name or it shows and yellow triangle click on the Airport Extreme ICON it will not let you configure it but will ask if you want to get rid of it or remove and just do it. Then Again restart your iMAC or MacBook Pro, open up Airport Utility again, and on the top left you should see under “Other Airport Base Stations” the MAC ID for the Airport Extreme.
You will then create/configure a Wireless Network, create your Wireless Password that will be entered on each of your Devices, example, Apple TV, your iPhone, etc., you want to allow access to your Wireless Network you are creating.
Wireless Security will be -> WPA/WPA2 personal or just WPA2
Enter the Wireless Password you want
Verify the Wireless Password (enter it again)
After it is created you will see it on the Airport Utility window with the name you created for it and to the left, will be a Dot (circle that will be yellow).
Next you then want to unplug the power to the Airport Extreme, and then take the end of the Ethernet cable you unplugged from the iMac or Lap top MacBook Pro and connect it to the back of the Modem.
Next unplug the power cord from the modem and wait about 5 minutes, then plug the power back into the Arris Modem and wait until all lights come back on the modem wait
about 5 minutes, then plug the power cord back to the Airport Extreme and you will see it the light blinking yellow. Wait about 5 to 10 minutes, during this time Restart you IMAC or MacBook Pro, and once it is back up click on the Airport Utility and you should see on the Airport Utility screen.
For INTERNET to the left the light should be green and you should see the Airport Extreme also appear and the light to the left on the screen should also be green. If they are, you then should be able to click on the Wireless Symbol on top of bar of the screen and click to select the Wireless Network Name you created.
If you Do Not See the light (Icon) next to INTERNET turn Green, or if you see the Internet Light Green, but the Light (Icon) next to the Airport Extreme is yellow, unplug the power again to the modem and unplug the power again to the Airport extreme and wait about 15 minutes or up to 30 minutes. Then plug the power cord back to the modem wait till all the lights light up then, plug the power cord back into the Airport Extreme and Restart your iMAC or MacBook Pro.
The Airport Extreme light should change from yellow to green. Open up the Airport Utility to see what the indicators are showing they should both be green. Again select Wireless network you created under the Wireless Icon on the top right of the screen. Open Safari and see if you are able to Route to a web page or the apple site should appear.I just got a Charter Modem. Model TM822. While I was moving, my Airport Extreme was still at my old place.
I have a Linksys WRT320N I used for the initial Charter setup.
I can get my Airport to work here, but the Internet light on the Modem flashes Yellow.
Hasn't caused any issues so far but one thing I did notice.
On the Linksys there were 3 DNS servers listed.
The Airport Extreme only lists 2 and i don't see where I could add another, only change whats already there.
I tried everything above, but light on modem still flashes yellow.
I have the technicians cell phone. Told me "that shouldn't be" and gave the same advice listed above.
I'll break down and call Charter one day, see if it's on their end. NSA tracking may need a reset LMAO. -
Hi All,
I have my kids using iTunes via thier ipods etc through my own account and this hase been the case for some time?
This has started to cause issues lately with imessaging and facetime, as there seems to be a limit on email addresses that can be associated with one account?
I wonder if I would be best off setting the kids up with their own accounts, but want to be able to do this without them losing their existing apps, music etc?
Is this possible, if so is there a simple process cos I can seem to find anything relating to this?
many thanks, JimNot going to happen the way you want it to.
When you add a gift card balance to the Apple ID, it's available for the Apple ID.
Probably best to create unique Apple ID's for each... this will also make things easier in the future as purchases are eternally tied to the Apple ID they were purchased with. -
How to set up time capsule with BT Infinity
how to set up time capsule with BT Infinity
The easiest and sure way is to use bridge on the TC as the method of connection. The TC then becomes a device in your network and gets its IP from the main router that I presume BT supply.
Method is,
1. Plug the TC WAN port into the BT supplied modem by ethernet.
2. Plug the computer you are using for the setup into the TC by ethernet.
3. Run the airport utility .. go to internet tab on the top menu..
In the bottom option, Connection Sharing choose off (bridged mode)
4. Go to the wireless page and setup wireless connection as you like it.. using whichever band you want. And make sure security is set to the highest setting, wpa2 personal. Put in a decent wireless passkey.
5. Press the update and fix whatever else the TC will show as needing fixing.. usually security stuff.
6. You can then disconnect the ethernet and connect by wireless if you want. Any port on the TC will now be a LAN port, including WAN.
This is assuming BT supply a wireless router with built in vdsl/other type of modem. If so you normally will not be able to bridge the modem, unless BT are using pppoe authentication which they haven't in the past.
If you really need to use the TC as a router then you will need to work out an alternative method. You can double NAT by placing the TC in the DMZ of the BT router if that is an option. It is not without issues in general. -
How can I set up company ipads with preloaded apps and files?
I want to set up multiple ipads with preloaded apps and files before handing them out to employees. We intendend the employee to be able to install their own content on the device using their own itunes account. When I attempted to connected to a pc using a personal account my the content obtained by the company account was prompted to be removed. Was this done incorrectly? Is there a way I can set up company ipads with preloaded apps and files so that they don't get removed when the user connects them to another computer with another itunes account?
Right now we are looking to have the employee use their own itunes account and reimburse the expense for the needed apps, but this could be an issue if they leave the company and the device is reassigned.Yes this is possible. I've been using Apple Configurator to do this (you could also use iTunes to restore backups). The trick is, you need to tell the end user not to sync apps within his/her iTunes on his/her computer. You will need to instruct the end user to download apps OTA using the App Store on the iPad rather than with iTunes on his/her computer. If the user tries to sync apps on his/her computer, it will wipe out apps that you installed. However if the user downloads apps OTA, your apps and the user downloaded apps will both stay on the iPad.
When you hand the iPad to the user, be sure to log out of your company Apple ID on the iPad at Settings -> Store and have them sign in with their personal Apple ID. That way it is all set for them to download apps under their own Apple ID.
~Joe -
Set up apple Id with invalid email so can't validate new account. How can I edit account info when I can't sign in for anything? Thx
Hi Franklin777,
If you are having issues with your Apple ID, this article will get you started.
Frequently asked questions about Apple ID
The first step is to find and edit the Apple ID you created:
Apple ID: Finding your Apple ID
If you need to reset your security questions this article will help ...
The rescue email address is a different address than the one you use for your Apple ID.
Rescue email address and how to reset Apple ID security questions
You can edit or delete your rescue email address at My Apple ID. To edit your rescue email address:
Navigate to My Apple ID using your web browser.
Click "Manage your account"
When prompted, sign in using your Apple ID and password.
Click Password & Security
You'll be asked to answer 2 of your 3 security questions before you can make any modifications. If you are unable to remember your answers, you can choose to send an email to your rescue email to reset your security questions.
Hope you get back on track soon!
- Judy -
How can I use Drupal as a third party CMS with ATG E-Commerce Application?
Hi Friends,
We are planning to use a third party Freeware Content Management System (CMS) for web site content in ATG E-Commerce Application, instead of ATG content Administration or merchandising.
Can anybody please let me know how can I use a third party CMS(Eg: Drupal) with ATG E-Commerce Application?
Regards,
Krishna.I did create a rule to determine if anyone coming through time eval is a new hire based on vacation elig. date in IT0041. It compares Today to the vacation elig. date and if they match, set a time type indicator to 1. I also added another decision to determine if they were a part time employee and pro-rate their quota entitlement based on what's in their IT0007 weekly working hours. Instead of setting the time type indicator to 1, I recalculated based on a percentage of 40 hrs/wk and then updated the time type to that percentage. In my quota generation rule I use that time type as a multiplication factor to recalculate their new pro-rated amount rounded up to the nearest whole number.
-
An issue using the COM components supplied with SAP GUI 6.2 or 6.4
We are having an issue using the COM components supplied with SAP GUI 6.2 or 6.4. We used to have SAP 4.6c and now we have 5.0. When we were on 4.6c, we used these COM components to logon and execute RFC calls and we had much success. Now that we are on 5.0, we cant seem to instance any SAP functions that have something to do with SAP Workflow. We have experienced this problem when using VB6 or .NET, but our existing code that always worked is in VB 6.0.
SAP Components used:
o SAP Logon Control
o SAP Function Control
o Librfc32.dll
o Other supporting C DLLs and/or COM object supplied with the SAP GUI installation.
For example, if we want to call the RFC ARCHIV_CONNECTION_INSERT, this code fails in VB6 when the Set objworkflow = objFuncCtrl.Add(strFunction) line of code executes. Instead of returning an instance of the object ARCHIV_CONNECTION_INSERT function, no object is created. In 6.2, SAP raises no errors, but the object we are trying to create is still Nothing. If we use 6.4, SAP raises an error SAP data type not supported via a message box and then the object is still = Nothing. Interestingly enough, the 6.2 GUI COM controls dont display the error dialog. The message box that is shown comes from the SAP Function COM Object "SAP.Functions" (wdtfuncs.ocx).
Now, what is interesting is if we use the same code to call a standard function or custom function that doesnt have anything to do with SAP Workflow, then the code works fine. Again, all of our code used to work just fine on an SAP 4.6 system.
Here is the code that fails:
'SAP Logon control - object for creating connections to an SAP system
Dim objSAPLogonCtrl As Object
'SAP connection object
Dim objConnection As Object
'Object that will represent the SAP function called
Dim objSAP As Object
'SAP function control object - object factory for creating other SAP function objects
Dim objFuncCtrl As Object
'Create instance of an SAP logon conrol
Set objSAPLogonCtrl = CreateObject("SAP.Logoncontrol.1")
'Create a connection object
Set objConnection = objSAPLogonCtrl.NewConnection
'Define connecion parameters
objConnection.ApplicationServer = "sapvm"
objConnection.SystemNumber = "00"
objConnection.Client = "800"
objConnection.User = "iissap"
objConnection.Password = "tstadm"
objConnection.Language = "E"
objConnection.TraceLevel = 10
'call the logon method of the connection object
If objConnection.Logon(0, True) = False Then
MsgBox Error
Exit Sub
End If
'Create an instance of the SAP Function control object
Set objFuncCtrl = CreateObject("SAP.Functions")
'Set the function control connection object
Set objFuncCtrl.Connection = objConnection
'Function name to be generated and called
Dim strFunction As String
strFunction = <b>"ARCHIV_PROCESS_RFCINPUT"</b>
'Create an instance of the function defined in strFunction
Set objworkflow = objFuncCtrl.Add(strFunction)
If objworkflow Is Nothing Then
MsgBox "Could not create object " & strFunction
Else
MsgBox strFunction & " object created."
End If
If anyone has seen anything like this or has any ideas, please help!
Mike and Hameed
<b></b>Hi,
documentation on the Scripting API is available at ftp://ftp.sap.com/pub/sapgui/win/640/scripting/docs/
This API is a replacement of the existing, obsolete COM interfaces.
Best regards,
Christian -
Java mysql OK with Terminal but not OK with Apache local web server
With terminal I have :
CLASSPATH=/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Classes/:/Library/Java/Extensions/:./
SUDO_GID=20
SECURITYSESSIONID=210800
_=/usr/bin/printenv
127:/Library/WebServer/Documents/Java root# java TestMySQL
2006-05-21 13:39:00.0 ************************************************** = OK
127:/Library/WebServer/Documents/Java root#
import java.sql.*;
* mysql-connector-java-3.1.12-bin.jar
* % javac /Library/WebServer/Documents/Java/TestMySQL.java
* % java TestMySQL
public class TestMySQL {
public static void main(String argv[]) throws Exception {
// Load the driver class
Class.forName("org.gjt.mm.mysql.Driver");
1 //Class theClass = null;
2 //try {
3 // theClass = Thread.currentThread().getContextClassLoader().loadClass("org.gjt.mm.mysql.Driver");
4 //}
5 //catch (ClassNotFoundException e) {
6 // theClass = getClass().getClassLoader().loadClass("org.gjt.mm.mysql.Driver");
7 //}
Connection conn = DriverManager.getConnection(
"jdbc:mysql:///test",
Statement stmt = conn.createStatement();
ResultSet rset = stmt.executeQuery("SELECT now();");
while (rset.next()) {
System.out.println(rset.getString(1));
// Close result set, statement and DB connection
rset.close();
stmt.close();
conn.close();
}I have a simple TestMySQL.html file with applet TestMySQL.class in it.
Nothing but "Applet TestMySQL not inited"
When I uncomment the try/catch lines (lines 1 to 7) , java compiler generate an error... near getClass().getClassLoader().loadClass("org.gjt.mm.mysql.Driver");
With "Class.forName("org.gjt.mm.mysql.Driver");" no problem.
Running MacOS X 10.3.9, Apache/1.3.33 (Darwin) PHP/4.4.1 mod_ssl/2.8.24 OpenSSL/0.9.7i and JVM 1.4.2_09
Thanks for help.
P.S. This my first approach to java/mysql but I would like to see this short program running on my local web server ...
Thanks.hi :-)
can you post the stack trace?
im not sure what is causing the error because of less info,
but have you tried to copy the driver of mysql to tomcat lib folder?
regards, -
Best way to set up AirPort Extreme with NetGear CG3100D-2
Hi All,
I Just purchased a Airport Extreme and what to use it on my current cable broadband network. But i have a few issues with doing this, due to my exsisting setup.
Here is my current set up.
NetGear CG3100D-2 which i have 2 Port forwards set up on this router (i have 2 CCTV DVR's connected via ethernet to this router, so i can remotley view DVR's).
2 Apple TV's ( 1 connected via ethernet and 1 wifi)
Multiple wifi devices.
Here is what i would like to achieve on my Network.
I want to be able to remotley access my 2 CCTV DVR's and also be able to access my AEBS-USB External HDD Remotely.
I have tried so many ways of connecting AEBS but havent be able to achieve what i want from my network..
I have spent hours trying to do this so any help or information would be much appreciated.
If the solution is difficult to set up could i get some step by step direction on how to achive this if possible..
cheers.
oh and i have access to airport utility 5.6 and i am obviously running Mac (apple household)My gut feel is that the bottleneck is the link from your home to your ISP. Airport will not address that issue.
I'm not familiar with AT7T U-verse. Is that DSL or cable. If it's DSL, be aware of the following... The nominal data rate is 700Kbps. Optional (extra cost) versions are available at 3Mbps and 5Mbps. In all cases, these nomal rates are valid only if you live in a tent on the phone company's central office. Physical distance from the C.O. will reduce the actual rates.
Nominal cable rates range from around 3Mbps to as high as 30Mbps, depending on how much you're paying for the service. Unlike DSL, these nominal data rates do not change with distance from the provider. However, also unlike DSL, the cable data rates will change when neighbors are using the system as the facility is shared. (With DSL, you have your own physical wire pair to the C.O.)
Maybe you are looking for
-
Apex 4.1. cannot see the details of not null validations generated by apex
Hi there, I have worked with APEX 3 quite a while. Now I move to new place, and they use APEX 4. I am currently doing the Advanced Tutorials - Issues Tracker (written for 3.2 ) on an APEX 4.1. I am quite impressed with a lot of enhanced features of A
-
Auto find tracks not in playlists and delete them?
Is thre any way I can auto find all tracks that are not in any of my playlists and delete them all in one go?
-
Photos often not uploading to PhotoStream
Lately, Photostream has been acting very strange. More often than not, photos I take on my iPhone won't transfer to Photostream. It's not happening all the time, but definitly most of the time. Anyone else experiencing this?
-
All of a sudden yesterday, my Ipad stopped loading internet pages.. Now I can't access and mail accounts. I can open programs or games but after a few seconds the ipad defaults banck to the home page. Any suggestions
-
my ipad only show recovery mode but instaaled ios 4.3.3 error genrate 3194 and last ipsw intalled 4.2.1