Local Web Authentication Started after Central Web Authentication
Hi everyone,
We have a DMZ based anchor WLC for a guest WLAN. I have this WLAN configured for central web authentication using ISE 1.2, this works correctly and can login using the guest portal.
However, after logging when browsing to a website everything is redirected to the local web authentication page and the policy manager state for the client goes in to a WEBAUTH_REQD state. I currently don't have any layer 3 security configured for this WLAN, so from my understanding it should just be using the central authentication provided by ISE.
Thanks for your help.
Mark
Hi Mark,
Thanks - that looks very similar to ours, though I'm doing the 3850 via the CLI as the web UI keeps dying when I click into things.
I've realsed that I unticked the Authentication servers box instead of the Accounting as I miss-read the WLC page, however while the LWA no-longer kicks in, I'm unable to pass anything except DNS traffic. The Anchor says that the client is in "Webauth" state so it looks like it's expecting something, but ISE says it's all ok and I can see the 3850 traffic going through the process flow.
If I attach an AP to the WLC directly and have the accounting box ticked, then it all works exactly as I'd expect - this is just, well, odd....
Warmest
Kev
Similar Messages
-
Error 1069 when I start my local WebAS
Hi,
to start my local WebAs I have to start the services SAPPDE_00 and SAPPDE_01. This was always working fine, but now I get the Error 1069! It says that my password is expired. My license is valid until January.
Can anybody help me, please?
Thank you
JuliaHi,
Did you check notes like 13141, 544533 and 82751?
Eddy -
Starting Local WebAS in debug Mode
Does anyone know how to startup the local web as in debug mode? It becomes rather tedious having to start it up then restart it again in debug mode.
Best Regards,
DustinNevermind - I just didn't scan the posts good enough. This question has been answered.
-
Forbidden accessing sites on local web srver
After upgrading my mac os x tiger to leopard I always receive this message accessing my sites on local web server:
You don't have permission to access /~Vittore/sdpgvt/html/admin.php on this server.
The same problem creating a new site by iWeb.
Anyone can help me?
ThankyouI had the same problem with the Personal Web Server.
If your issue was the same as mine it is because Apache has been upgraded from 1.3 to 2.2.
The thread with the details is:-
http://discussions.apple.com/message.jspa?messageID=5649480#5649480 -
Apache2 local web server + Perl 5 + mysql problem
this problem has been bugging me for some months; it's stopping me developing on my new MBP.
I cannot connect to mysql 5.0.45 database when web sharing w/ Apache2 with either Perl 5.8 & Activeperl 5.10 cgi scripts on Mac OS X Leopard 10.5.2 & 10.5.3
Although I can connect to the mysql DB when running the Perl scripts from the command line.
The problem only occurs on my local web server in Mac OS X 10.5.2 & 10.5.3.
On my old development Mac running 10.3 the code runs fine, as it also does on my remote site.
server error log: Can't locate DBD/mysql.pm . . .
I suspect there is a problem somewhere between Apache2, Perl & MySQL.
Please advise.
Sarpedon Jones
Message was edited by: Sarpedon JonesI've got the same problem but It sounds like I've gotten farther. I was forced to do an emergency move of some Perl and PHP sites to 10.5.4 when our 10.4 web server refused to authenticate to AD anymore...
Leopard's Apache/Perl support is terrible. There is not click to add option anymore so you have to manually set up mod_perl. No big deal but the first sign that there isn't reasonable support.
The bigger issue is that Apple's Perl will not compile some modules.. namely DBD::mysql.
Normally you'd use "cpan" to install the modules you need. The core module for connecting to a mysql database is DBD.. specifically DBD::mysql
You should be able to run "cpan" or "cpanp" [cpan plus] to get a cpan interactive prompt. At this point you should be able to compile DBD by issuing either of the following:
"install DBD::mysql" or
"install Module DBD::mysql"
I've tried this on two installs of OS X Server and that module (and others) will not compile on either system. One of my servers had been set up as a Wiki server before but the other had not been running any web services before I started using it as a test bed for my site move. (BTW these sites are unavailable until I can move them).
There is another bug (noted on mysql's site) with Apple's version of cpan. If you try to add some modules, cpan will report that it needs to install a new, full version of Perl. The recommendation is to not do this, but rather force the install.. "install f DBD::mysql"
Forcing the install is a questionable idea but it doesn't work anyway.
I eventually did install perl 5.0.10 on the system in /usr/ and that does allow me to compile the needed Perl mods. However, the global @INC path has the old Perl paths listed so my perl CGIs will not use the new perl install.
I'm sorry I don't have a solution. Hopefully my troubleshooting will elicit some more feedback.
steven. -
Local Web Server No Longer Working In ML
Hello,
Previous to updating to Mountain Lion, I had my Imac set as a local web server and everything worked fine. After updating to ML, I no longer have local web server access. Also seems that my /etc/apache2/users/USERNAME.conf is gone? Do I need to reset all the files I configured prior to installing ML?
Thanks JRI created a new ect/apache2/users/currentuser.conf with
<Directory "/Users/username/Sites/">
Options Indexes MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
But now when I try to view a current site on the Mac, it just lists out the php code and not the page?
Thanks JR -
Wireless local radius authentication
Greetings,
I have a AIR-AP1121G-A-K9, and I would like to authenticate users with a username and password on the AP using the local radius server.
I used the configuration at http://www.aironet.info/en/US/products/hw/wireless/ps4570/products_configuration_example09186a00801c0912.shtml
and tried a couple other posted configuration, but are running into the same issue regardless of which method I am using.
show ver
Cisco IOS Software, C1100 Software (C1100-K9W7-M), Version 12.3(8)JED1, RELEASE
SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2010 by Cisco Systems, Inc.
Compiled Tue 27-Apr-10 12:52 by alnguyen
ROM: Bootstrap program is C1100 boot loader
BOOTLDR: C1100 Boot Loader (C1100-BOOT-M) Version 12.2(8)JA, EARLY DEPLOYMENT RE
LEASE SOFTWARE (fc1)
ORP_ROOFDECK uptime is 21 hours, 3 minutes
System returned to ROM by power-on
System image file is "flash:/c1100-k9w7-mx.123-8.JED1/c1100-k9w7-mx.123-8.JED1"
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
[email protected].
cisco AIR-AP1121G-A-K9 (PowerPCElvis) processor (revision A0) with 15138K/12
36K bytes of memory.
Processor board ID FOC08370K83
PowerPCElvis CPU at 197Mhz, revision number 0x0950
Last reset from power-on
1 FastEthernet interface
1 802.11 Radio(s)
32K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address: 00:12:01:6B:86:46
Part Number : 73-7886-07
PCA Assembly Number : 800-21481-07
PCA Revision Number : A0
PCB Serial Number : XXX
Top Assembly Part Number : 800-22053-04
Top Assembly Serial Number : XXX
Top Revision Number : A0
Product/Model Number : AIR-AP1121G-A-K9
Configuration register is 0xF
show run
Current configuration : 4240 bytes
version 12.3
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
hostname XXX
ip subnet-zero
ip domain name XXX!
ip ssh version 2
aaa new-model
aaa group server radius rad_eap
server 172.16.1.35 auth-port 1812 acct-port 1813
aaa group server radius rad_acct
server 172.16.1.35 auth-port 1812 acct-port 1813
aaa authentication login eap_methods group rad_eap
aaa authorization exec default local
aaa accounting network acct_methods start-stop group rad_acct
aaa session-id common
dot11 syslog
dot11 ssid YYY
authentication open eap eap_methods
authentication network-eap eap_methods
guest-mode
bridge irb
interface Dot11Radio0
no ip address
ip helper-address 172.16.1.1
no ip route-cache
encryption key 1 size 128bit 7 66061D688B874859701297485642 transmit-key
encryption mode wep mandatory
broadcast-key change 300
ssid YYY
speed basic-1.0 basic-2.0 basic-5.5 6.0 9.0 basic-11.0 12.0 18.0 24.0 36.0 48.0
54.0
channel 2437
station-role root
rts threshold 2312
bridge-group 1
bridge-group 1 subscriber-loop-control
bridge-group 1 block-unknown-source
no bridge-group 1 source-learning
no bridge-group 1 unicast-flooding
bridge-group 1 spanning-disabled
interface FastEthernet0
no ip address
no ip route-cache
duplex auto
speed auto
bridge-group 1
no bridge-group 1 source-learning
bridge-group 1 spanning-disabled
interface BVI1
ip address 172.16.1.35 255.255.255.0
ip helper-address 172.16.1.1
no ip route-cache
ip default-gateway 172.16.1.1
ip http server
ip http authentication local
ip http secure-server
ip http help-path http://www.cisco.com/warp/public/779/smbiz/prodconfig/help/eag
ip radius source-interface BVI1
radius-server local
no authentication eapfast
no authentication mac
nas 172.16.1.35 key 7 VVV
group YYY
ssid YYY
block count 3 time 30
reauthentication time 300
user zzz nthash 7 0225540F2A2429741C162F3C2636455854560E72760A6A667B315E37
5553010B7A group YYY
radius-server attribute 32 include-in-access-req format %h
radius-server host 172.16.1.35 auth-port 1812 acct-port 1813 key 7 VVV
radius-server vsa send accounting
bridge 1 route ip
line con 0
line vty 0 4
access-class 10 in
line vty 5 15
end
Debug Output:
331: AAA/ACCT(00000000): add node, session 4
*Mar 1 21:37:37.331: AAA/ACCT/NET(00000004): add, count 1
*Mar 1 21:37:37.331: dot11_auth_add_client_entry: Create new client 0023.6c85.3
2cd for application 0x1
*Mar 1 21:37:37.331: dot11_auth_initialize_client: 0023.6c85.32cd is added to t
he client list for application 0x1
*Mar 1 21:37:37.331: dot11_auth_add_client_entry: req->auth_type 4
*Mar 1 21:37:37.331: dot11_auth_add_client_entry: auth_methods_inprocess: 2
*Mar 1 21:37:37.331: dot11_auth_add_client_entry: eap list name: eap_methods
*Mar 1 21:37:37.331: dot11_run_auth_methods: Start auth method EAP or LEAP
*Mar 1 21:37:37.331: dot11_auth_dot1x_start: in the dot11_auth_dot1x_start
*Mar 1 21:37:37.331: dot11_auth_dot1x_send_id_req_to_client: Sending identity r
equest to 0023.6c85.32cd
*Mar 1 21:37:37.332: EAPOL pak dump tx
*Mar 1 21:37:37.332: EAPOL Version: 0x1 type: 0x0 length: 0x0036
*Mar 1 21:37:37.332: EAP code: 0x1 id: 0x1 length: 0x0036 type: 0x1
00ECBA00: 01000036 01010036 01006E65 74776F72 ...6...6..networ
00ECBA10: 6B69643D 4F52505F 5075626C 69632C6E kid=YYY,n
00ECBA20: 61736964 3D4F5250 5F524F4F 46444543 asid=YYY
00ECBA30: 4B2C706F 72746964 3D30 K,portid=0
*Mar 1 21:37:37.333: dot11_auth_send_msg: sending data to requestor status 1
*Mar 1 21:37:37.333: dot11_auth_send_msg: Sending EAPOL to requestor
*Mar 1 21:37:37.333: dot11_auth_dot1x_send_id_req_to_client: Client 0023.6c85.3
2cd timer started for 30 seconds
*Mar 1 21:38:07.333: dot11_auth_dot1x_run_rfsm: Executing Action(CLIENT_WAIT,TI
MEOUT) for 0023.6c85.32cd
*Mar 1 21:38:07.333: dot11_auth_dot1x_send_client_fail: Authentication failed f
or 0023.6c85.32cd
*Mar 1 21:38:07.333: dot11_auth_send_msg: sending data to requestor status 0
*Mar 1 21:38:07.333: dot11_auth_send_msg: client FAILED to authenticate 0023.6c
85.32cd, node_type 64 for application 0x1
*Mar 1 21:38:07.333: dot11_auth_delete_client_entry: 0023.6c85.32cd is deleted
for application 0x1
*Mar 1 21:38:07.334: %DOT11-7-AUTH_FAILED: Station 0023.6c85.32cd Authenticatio
n failed
*Mar 1 21:38:07.334: AAA/ACCT/HC(00000004): Update DOT11/00A83CE0
*Mar 1 21:38:07.335: AAA/ACCT/HC(00000004): DOT11/00A83CE0 [pre-sess] (rx/tx) b
ase 0/0 pre 6861/188 call 6861/188
*Mar 1 21:38:07.335: AAA/ACCT/HC(00000004): DOT11/00A83CE0 [pre-sess] (rx/tx) a
djusted, pre 6861/188 call 0/0
*Mar 1 21:38:07.335: AAA/ACCT/HC(00000004): Deregister DOT11/00A83CE0
*Mar 1 21:38:07.335: dot11_auth_client_abort: Received abort request for client
0023.6c85.32cd
*Mar 1 21:38:07.335: dot11_auth_client_abort: No client entry to abort: 0023.6c
85.32cd for application 0x1
*Mar 1 21:38:07.335: AAA/ACCT/EVENT/(00000004): CALL STOP
*Mar 1 21:38:07.335: AAA/ACCT/CALL STOP(00000004): Sending stop requests
*Mar 1 21:38:07.336: AAA/ACCT(00000004): Send all stops
*Mar 1 21:38:07.336: AAA/ACCT/NET(00000004): STOP
*Mar 1 21:38:07.336: AAA/ACCT/NET(00000004): Method list not found
*Mar 1 21:38:07.336: AAA/ACCT(00000004): del node, session 4
*Mar 1 21:38:07.336: AAA/ACCT/NET(00000004): free_rec, count 0
*Mar 1 21:38:07.336: AAA/ACCT/NET(00000004) reccnt 0, csr TRUE, osr 0
*Mar 1 21:38:07.337: AAA/ACCT/NET(00000004): Last rec in db, intf not enqueued
*Mar 1 21:41:34.645: AAA/BIND(00000005): Bind i/f
*Mar 1 21:41:34.645: AAA/ACCT/EVENT/(00000005): CALL START
*Mar 1 21:41:34.645: Getting session id for NET(00000005) : db=C4EBC0
*Mar 1 21:41:34.645: AAA/ACCT(00000000): add node, session 5
*Mar 1 21:41:34.646: AAA/ACCT/NET(00000005): add, count 1
*Mar 1 21:41:34.646: Getting session id for NONE(00000005) : db=C4EBC0
*Mar 1 21:41:34.646: AAA/AUTHEN/LOGIN (00000005): Pick method list 'Permanent L
ocal'
*Mar 1 21:41:39.002: AAA/AUTHOR (0x5): Pick method list 'default'
*Mar 1 21:41:39.002: AAA/AUTHOR/EXEC(00000005): processing AV cmd=
*Mar 1 21:41:39.003: AAA/AUTHOR/EXEC(00000005): processing AV priv-lvl=15
*Mar 1 21:41:39.003: AAA/AUTHOR/EXEC(00000005): Authorization successful
Any ideas how I can get simple username/password working on an autonomous AP with local radius server?
Thank you,You could get a better idea of why the auth is being failed with the output of "show radius local-server statistics". You could also run "debug radius local-server client" and "debug radius local-server error".
-
Error 'no local web solution for html engine installed. operation failed'
Hi all
I am trying to install JD Edwards EnterpriseOne.
I have done the installation in one machine according to this queue:
1) Installed the Oracle DB 11g
2) Installed the Enterprise and Database Server
3) Installed the Deployment Server and the installation finished successfully
But when i try to navigate to the EntepriseOne menu I have the following message:
"no local web solution for html engine installed. operation failed". Can you please suggest for any solution for this?
I also did not install the html web server yet. Is this mandatory? Is this error related with this?
Thank you and best regardsHi Bruno
During installation I didn't enter any port, so could you please tell me if there is any default port for this isntallation.
I red on the internet that port 6010 is the default port for EnterpriseOne so I entered the url: http://192.168.223.167:6010/jde/E1Menu.maf
where this(192.168.223.167) is the IP of my server but still the page did not open.
Do I have to start any service or something. Please help me to solve this issue.
Thank you and best regards -
Central Instance didn't start after Kernel Upgrade
Hello,
I've made a Kernel Upgrade for a Solution Manager with kernel version: release 7.01, 64-Bit Unicode on Microsoft Windows Server 2003 Enterprise x64 Edition.
When I wanted the SAP instance, Central Services instance started, but Central Instance didn't.
In the sapstart.log file the following error: "SAPSTART finished successfully on , but at least one process doesn't run correctly:
sapstart.exe=>sapparam (1c): No Profile used."
The file "dev_w0" says the following:
in_ThErrHandle: 1
M ThIErrHandle: new stat of W0 is WP_SHUTDOWN
M ThIErrHandle: I'm during shutdown
M PfStatDisconnect: disconnect statistics
M Entering ThSetStatError
M ThCallDbBreak: use db_sqlbreak
C SQLBREAK: DBSL_CMD_SQLBREAK: CbOnCancel was not set. rc: 1
B db_sqlbreak() = 1
M ThIErrHandle: don't try rollback again
M ThShutDownServer: shutdown server
M PfStatIndInit: Initializing Index-Record
M PfWriteIntoFile: copied shared buf (0 bytes) to local buf
M ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
M Entering ThReadDetachMode
M call ThrShutDown (1)...
B Disconnecting from ALL connections:
B Wp Hdl ConName ConId ConState TX PRM RCT TIM MAX OPT Date Time DBHost
B 000 000 R/3 000000000 INACTIVE NO YES NO 000 255 255 20091025 070423 BCE-SAP-SRV01
B 000 001 +DBO+0000 000000476 DISCONNECTED NO NO NO 000 255 255 20100114 204611 BCE-SAP-SRV01
B Disconnected from connection 0
B statistics db_con_commit (com_total=730465, com_tx=135964)
B statistics db_con_rollback (roll_total=9630, roll_tx=0)
M ***LOG Q02=> wp_halt, WPStop (Workproc 0 10744) [dpnttool.c 334]
I didn't really know what to do in this case... Could you please give me a hint?
I also want to tell you that the Database Instance (MSSQL server) disappeared from SAP MMC, but I checked in SQL Server Configuration Manager and the processes are running...
Thank you in advance for your help,
NoemiPlease check the Wndows event log, you may have run into the problem described in
Note 1402510 - Resolving SideBySide Assembly Errors
Note 1375494 - SAP system does not start after applying SAP kernel patch
Markus -
Can not access local web sites
Hi,
on my Mac Mini running Lion I cannot access any local web site
Normally, entering
http://localhost/~shortname/
would ad least show the index.html page located in the sites (Websites on German systems) folder, which I still can display w/o the webserver running by clicking on it)
However, I get the error message:
"you don't have permission to access /~shortname/ on this server"
This happens in Mountain Lion too, where I started the web server using the Web Sharing preference pane from
http://clickontyler.com/blog/2012/02/web-sharing-mountain-lion/
Any idea? I need this badly, because I am doing some little web dev
Thank youSolved it, turned on FTP on Mountain Lion,
sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist
JR -
Is there away to get local web site to send e-mail?
I google this and find the following solution which works beautifully:
OS-X Leopard comes pre-installed with a Postfix version. No need to install it via darwin ports or other such mess (actually uninstall it if you have previously manually installed it via ports or something similar). Postfix just needs to be enabled and following sequence of several easy steps explains how to do it:
sudo vi /System/Library/LaunchDaemons/org.postfix.master.plist
add following line before the closing </dict> tag:
<key>RunAtLoad</key> <true/> <key>KeepAlive</key> <true/>
Start service with
$ sudo launchctl
launchd% start org.postfix.master
You can also start simply with "sudo postfix start" but the above command will start via launch sequence and test the configuration you edited in the previous step.
Check that SMPT is running:
telnet localhost 25
For more information, see: Mac OS X Manual Page For launchd.plist -
Moving Local Web Dynpro project from Dev to Prod
Hi,
i have a scenario where there is a small application to be developed. And m the only developer to work on it.
I need to a create local web dynpro project for the same and deploy it to the deveopment server. and test it here. However, the client for whom i am developing this service, is based somewhere else. How do i deploy this local application on his production server?
I dont have JDI architecture here. Can i achieve this without JDI? and How? Which is more feasible - using JDI or not in my case ?
Regards,
ApekshaHi,
Genrally, it is recommended to work with JDI. But, as you said you have only project that needs to be deployed then you can change the server settings in your NWDS and make it point to the production server.
Windows>Preferences>SAP J2EE Engine--> <details of your remote production server>
NOTE: You should have sdm password to deploy this applicaiton.
Regards,
Murtuza -
Local Radius Authentication - Fails
Hello all,
Access Point 1230AG (c1200-k9w7-mx.123-2.JA)
Client Adapter ABG (PCI)
I am new to Wireless Lan configuration with Aironet products (first project). I am configuring an Access Point for a small LAN and i can not get local radius authentication working. The password always fails if I try:
test aaa group radius xxxxx port 1812 new-code
although the password is matching..........
another thing is that in the configuration, it always defaults to 'nthash' mode. is this normal? in other words if i type:
radius-server local
user dgarnett password xxxx
when i do a 'show run' it displays as
user xxxx
I also get the following during a debug:
There is no RADIUS DB Some Radius attributes may not be stored
any help greatly appreciated
ap#test aaa group radius dgarnett 123456789 port 1812 new-code
Trying to authenticate with Servergroup radius
User rejected
ap#
Feb 19 20:57:44.535: RADIUS(00000000): Config NAS IP: 10.14.14.14
Feb 19 20:57:44.535: RADIUS(00000000): Config NAS IP: 10.14.14.14
Feb 19 20:57:44.535: RADIUS(00000000): sending
Feb 19 20:57:44.535: RADIUS(00000000): Send Access-Request to 10.14.14.14:1812 id 21645/14, len 64
Feb 19 20:57:44.535: RADIUS: authenticator 9C C4 E8 64 80 8B 64 8A - E7 5F 0A 64 14 2F 5D B6
Feb 19 20:57:44.536: RADIUS: User-Password [2] 18 *
Feb 19 20:57:44.536: RADIUS: User-Name [1] 10 "dgarnett"
Feb 19 20:57:44.536: RADIUS: Service-Type [6] 6 Login [1]
Feb 19 20:57:44.536: RADIUS: NAS-IP-Address [4] 6 10.14.14.14
Feb 19 20:57:44.536: RADIUS: Nas-Identifier [32] 4 "ap"
Feb 19 20:57:44.537: RADSRV: Client dgarnett password failed
Feb 19 20:57:44.537: RADIUS: Received from id 21645/14 10.14.14.14:1812, Access-Reject, len 88
Feb 19 20:57:44.538: RADIUS: authenticator 3C B3 9A 7F 61 27 3A A6 - 84 39 B6 DF 22 DF 45 26
Feb 19 20:57:44.538: RADIUS: State [24] 50
Feb 19 20:57:44.538: RADIUS: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [????????????????]
Feb 19 20:57:44.539: RADIUS: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [????????????????]
Feb 19 20:57:44.539: RADIUS: 6B 7C 18 EA F0 20 A4 E5 B1 28 0E BD 57 61 24 9A [k|??? ???(??Wa$?]
Feb 19 20:57:44.539: RADIUS: Message-Authenticato[80] 18 *
Feb 19 20:57:44.539: RADIUS(00000000): Received from id 21645/14
Feb 19 20:57:44.539: RADIUS(00000000): Unique id not in use
Feb 19 20:57:44.540: RADIUS/DECODE(00000000): There is no RADIUS DB Some Radius attributes may not be storedJust as an update.......I set this up authenticating to an external (ACSNT) Radius server and it authenticates successfully. But still will not for the local dbase. My goal is to use the Corporate ACS as primary and the local as backup. I think my problem has to do with the Radius attributes 24 (State) and 80 (Message Auth). I also think that it points back to the NTHash stuff. Please advise as I am not new security practices and wireless, but I am new to Cisco Wireless networking.
-
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, -
Accesso to Apache Local Web Server Problem
Hi, i have a problem related to the set up of Apache Local Web Server on Mac OS X Lion 10.7.5.
I have correctly installed Apache (2.2.24) php (5.3.26) and MySql (5.5.22) but during the web access i get this message: 403 Forbidden and in the error_log i see this:
[Tue Nov 05 18:55:19 2013] [error] [client 10.202.145.171] client denied by server configuration: /Users/marcopuccetti/Sites/drupal-7.12
Before this i have modified the configuration of httpd.conf (DocumentRoot) file in order to point the Sites folder "Users/username/sites"; The same for users configuration file.
I have also enabled the Web Sharing properties in the System Preferences Section.
Have i to do any other settings?
Thank you!
MarcoNow it works, but i still don't understand why The directory "Sites" has to be named Only UpperCase.
Marco
Maybe you are looking for
-
Error 1320 when trying to make a caption visible in LV 71
Hi, If you try to make a caption visible of a new control via a property node you will get error 1320 (LabVIEW: In edit mode, LabVIEW cannot return a property for a control part that you have not yet created) WHY?? In LV 7 it does work, and in 7.1 it
-
Location of class storage on Sun one
Hi all, I am not a java programmer and I am supposed to post a questionnaire using jps files and Java classes. The original code were delevoppped for appache and I would like to put them on a website using Sun One server. The java classes were stored
-
Premier elements 3.o to Premier elements 10
Can premier elements 10.0 open a file from premier elements 3.0 If not, how can I magrate all the photos and mp3's to 10.0?
-
How can I continue to use iTunes with my iPhone if I don't have a 64 bit mac mini?
Frustrated, Dissappointed, Forgotten are my new icons, of late. Why does Apple think we can be stepped over and trampled under foot with mandatory downloads for iTunes 10.4 which disrupts any normal function to access my iphone because the intel Core
-
Enquiry about language problem?
Hi, My phone is nokia n82 USA version. I would like to know am i able to update the Firmware from Malaysia Version? Because i guess if i update to Malaysia version firmware so that i can get a chinese language support. Is it possible to do so? Many t