Connect from workstation using local credentials
AD is W2008r2,
recently moved a W2008 WebServer from a PDC to this AD's domain, the local login to the WebServer is still using WebServer local accounts.
How can I still allow users from W7 workstations to use a "net share" using the WebServer's credentials?
What we were doing was:
net use W: \\mxWeb\h 369874125A /user:mxWeb\user0 from workstations to get access ,
but since the switch to new AD that gives errors of
System error 1326 has occurred. Logon Failure: unknown user name or bad password.
I can not find how to allow this to happen in the Local Security Policy settings.
(it would be nice to get samba connections from Linux pc's to work again too, Centos 5 & 6 - samba3.6)
TechNet
net use W: \\mxWeb.blahblah.COM\h 369874125A
/user:mxWeb.blahblah.COM\user0 ?
User0 is a local use on mxWeb.blahblah.COM.
Correct?
try to delete all connection using Net Use * /D first
Santhosh Sivarajan | Houston, TX | www.sivarajan.com
ITIL,MCITP,MCTS,MCSE (W2K3/W2K/NT4),MCSA(W2K3/W2K/MSG),Network+,CCNA
Windows Server 2012 Book - Migrating from 2008 to Windows Server 2012
Blogs: Blogs
Twitter: Twitter
LinkedIn: LinkedIn
Facebook: Facebook
Microsoft Virtual Academy:
Microsoft Virtual Academy
This posting is provided AS IS with no warranties, and confers no rights.
Similar Messages
-
Unable to unlock workstation using edir credentials after lookin ws.
Hi
unable to unlock workstation using edir credentials after locking
workstation.
Only Zfd Agent, clientless
workstatio name 8 character
user login to network
workstation becomes locked.
worksation with windows xp sp2if i lock the box an unlock it directly does not work. Edirectory or
windows options fail
> On Thu, 08 Sep 2005 20:12:53 GMT, [email protected] wrote:
>
> > 1. user lock workstation when leave pc for a few minutes.
> > 2. Hibernaty
>
> so does it work if you lock the box and unlock it directly?
>
> I have noticed very often that during hibernate the connection to edir is
> broken or even the nic doesn't wake up again..
> --
>
> Marcus Breiden
>
> Please change -- to - to mail me.
> The content of this mail is my private and personal opinion.
> http://www.edu-magic.net -
How to Reset Password of User while not connected to Domain using Local Admin Account
How to Reset Password of User while not connected to the Domain using Local Admin Account
(I have the use of a local admin account), and I want to help a user reset their password who has logged in the PC and had their credentials cached, but forgot this password.
In Local Admin Account :
When I go to Control Panel, users, users, manager user ; I cannot see any users in this window except the local admin account, and, so I cannot reset a user password this way.
When I go to lusrmgr.msc, then users ; the local admin account will display only.
If I go to command prompt and type "net user", this will not display any users who have logged in to the computer, and so I cannot use "net user" to reset a password.
I don't want to use any disks, 3rd party programs, or create a VPN connection to the domain. I just want to help a user who calls in and forgets their password.Hello Keith,
I know this is an old thread but I'm trying to better understand how I could change the domain password while not on the network. What I'm getting from your post is that you:
1. Create a local user account (not a domain user)
2. Login with that local user account
3. Connect to the VPN while logged in as a local user
4. Log out of the local account and login with the domain credentials
Now, my question is based on the assumption that the password created on the local account is the same password that one will use to login to the domain account? Also, is the local user account the same as the domain account?
Thanking you in advance! -
Https Connection from servlets using JSSE.
Hi all,
Although my question is the same as the QOW for this week, there is an error "unsupported keyword EMAIL" returned when i try to establish a https connection using servlet. The error log is as follow:
=====================================
java.io.IOException: unsupported keyword EMAIL
at com.sun.net.ssl.internal.ssl.AVA.<init>([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.ssl.RDN.<init>([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.ssl.X500Name.a([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.ssl.X500Name.<init>([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.connect([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.getInputStream([DashoPro-V1.2-120198])
at URLReader.doGet(URLReader.java:78)
===================================
Does anyone know the meaning of this error?
I try to write a java application using the similar code and it totally works fine(i can connect to the server and obtain the page). Does JSSE support Java Servlet? Or this is the problem of tomcat server? FYI, I'm using
Tomcat 3.2.2
Java SDK 1.3
Many thanks!
Ethan
p.s. Here is the source for my program
import java.io.*;
import java.net.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.net.*;
import javax.net.ssl.*;
import com.sun.net.ssl.*;
public class URLReader extends HttpServlet{
private PrintWriter out = null;
public void doGet(HttpServletRequest req, HttpServletResponse res){
res.setContentType("text/html");
res.setHeader("Cache-Control", "no-cache");
res.setHeader("Progma", "no-cache");
out = res.getWriter();
java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
System.setProperty("javax.net.ssl.trustStore", "File_for_keyStore");
System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");
try {
URL url = new URL("https://server_name:port/index.htm");
HttpsURLConnection urlconnection = (HttpsURLConnection)url.openConnection();
BufferedReader in = new BufferedReader(new InputStreamReader(urlconnection.getInputStream()));
String outputLine ;
while ( (outputLine = in.readLine()) != null){
out.println("There is the result: "+outputLine);
in.close();
catch(Exception e){
public void doPost(HttpServletRequest req, HttpServletResponse res){
}I was just having this issue, after months of error-free ssl behavior, on a new machine i was installing (Note: that I was running the IBM jdk1.3) It turns out that when I was editing the java.security file to know about JCE/JSSE providers i had the providers in the wrong order. The Error causing sequence was:
security.provider.1=com.sun.net.ssl.internal.ssl.Provider
security.provider.2=com.ibm.crypto.provider.IBMJCA
# Extra provider added ibm@33894
security.provider.3=com.ibm.crypto.provider.IBMJCE
# extra provider i added
security.provider.4=sun.security.provider.Sun
The issue disappeared when i changed the order to:
security.provider.1=sun.security.provider.Sun
security.provider.2=com.sun.net.ssl.internal.ssl.Provider
security.provider.3=com.ibm.crypto.provider.IBMJCA
# Extra provider added ibm@33894
security.provider.4=com.ibm.crypto.provider.IBMJCE
hope that helps!
--john molnar
Trellis Network Security -
I just got a new MacBook Pro, and it's connected to the internet using a 3G wirless modem, whan I try to shear this connextion with my STB box "AzBox Premium HD" i tells me that it's connected but I found no internet connection on the STB.
I tryed to follow every thing on the mac system preferences "enebling the internet sharing in the 3G modem to the ethernet port, entring a manual IP in both Mac and STB..." but still no connection,
plz help me I thing this is a small problem to you..yes I did
my STB configuration fields are :
ip adresse
subnet mask
default gatway
DNS
but in the Mac there is no default gatway!!!! there is Router
help me plz -
Logging on to Win 8.1 workstation with domain credentials
Hi All.
I been on Windows 8 Pro(now 8.1 update 1) for over a year now. Until now, I've always logged on to my workstation with my MS account. I recently decided to join my workstation to a domain where the Primary DC is running Server 2008 r2. I joined the domain
without a hitch, but when I try to log on to the workstation using domain credentials, the logon screen seems to insist on a MS account. It wants user name to be in email form only. When I tried to use my domain credentials in that format ([email protected])
it told me that the password is wrong and I should make sure to use my MS account password.
I tried disconnecting my MS account from my local account, but it didn't help.
Any ideas?I'm not sure if what you are doing is supported, to have a local MS sign-in account as well as a corporate domain account residing side by side, you might have to give up your MS sign-in and use a local ID for the domain logon to work
you may however consider setting this up using the Workplace Join feature in 8.1 which should work much better
http://blogs.technet.com/b/keithmayer/archive/2013/11/08/why-r2-step-by-step-solve-byod-challenges-with-workplace-join.aspx -
Lost ability to connect with Server from workstation
NW 6.5 sp5 on a Dell 2900. I am adding an additonal harddrive to our server
for use as an archive disk in a separate volume. After I loaded it into the
server and created a new VD in the raid bios I booted the computer and found
I couldn't connect from my workstation to connect to IManager. When I
looked on the logger screen I got messages about a possible bad certificate
with suggestions to run sys:/system/tckeygen.ncf or
ndlap or
sys:/tomcat/4/bin/startup-config sys:/adminsrv/conf/admin_tomcat.xml
Nothing helped.
I rebooted the server again and did not get the messages above I looked
through the logger screen and found several messages, I have no idea whether
they are new or common.
"default domain not set, you need to set it through ypset unable to log in:
error -601... NFS service initialization failed during edirectory interface
library (ndsilib.nlm) initialization
error code 9600 unloading znfs.nlm"
SFNS.NLM did not load try running schinst -n
sys:\etc\schinst.log
I have pasted the log contents:
"Info:434:11-7-2006 12:16:07 pm :
Logging into the tree : MIGRATE
This will take few moments...
Info:436:11-7-2006 12:16:07 pm : Modifying NDS schema from file :
sys:/system/schema/uam.sch.
Info:434:11-7-2006 12:16:07 pm :
Logging into the tree : MIGRATE
This will take few moments...
Info:436:11-7-2006 12:16:07 pm : Modifying NDS schema from file :
sys:/system/schema/nis.sch.
Info:434:11-7-2006 12:16:07 pm :
Logging into the tree : MIGRATE
This will take few moments...
Info:436:11-7-2006 12:16:07 pm : Modifying NDS schema from file :
sys:/system/schema/nisupgd.sch.
Info:99:11-7-2006 12:16:08 pm :
Login was successful.
Info:98:11-7-2006 12:16:08 pm : Added the object : .CN=NFAUUser.O=mgamigrate
Info:71:11-7-2006 12:16:08 pm : The config file nfs.cfg has been
successfully updated.
Info:116:11-7-2006 12:16:08 pm :
UNIX Profile of user .CN=NFAUUser.O=mgamigrate has been set as UNIX root
user.
Info:99:11-7-2006 12:16:08 pm :
Login was successful.
Info:98:11-7-2006 12:16:08 pm : Added the object :
..CN=NFAUWorld.O=mgamigrate
Info:133:11-7-2006 12:16:08 pm :
SCHINST:WORLD: UNIX Profile for the .CN=NFAUWorld.O=mgamigrate Group object
has been added and UNIX Gid is set to 65535.
Error:43:7-8-2009 8:22:30 am : Unable to login. Error Code : -601"
the screens available on the server are:
system console
logger screen
timesync debug screen
novell ssl server handshake
pkernel
java interperter
netware 6 console monitor
gwia webaccess
mta
poa
any ideas?I am posting an edited copy of the logger file, there are some error
messages but nothing stands out to me. any help would be appreciated. I
have no idea what is going on. I have attached the entire logger file if I
deleted too much.
IPXS-4.10-0022:
Warning, unable to open default IPX configuration file
"SYS:ETC\IPXSPX.CFG"; using internal defaults.
Module IPXS.NLM load status OK
Module PERL.NLM load status OK
Perl 5.8.4 - Command Line Interface
Version 5.00.05 September 13, 2005
Copyright (C) 2000-01, 2004-05 Novell, Inc. All Rights Reserved.
Module PERL.NLM load status OK
Java Hotspot 1.4.2_09 Interpreter
Version 1.42.06 December 1, 2005
(C) Copyright 2003-2005 Novell, Inc. All Rights Reserved.
Module JVM.NLM load status OK
Loading module DSAPI.NLM
This module is ALREADY loaded and cannot be loaded more than once.
Module DSAPI.NLM load status NOT MULTIPLE
Loading module CLXNLM32.NLM
This module is ALREADY loaded and cannot be loaded more than once.
Loading module PKI.NLM
This module is ALREADY loaded and cannot be loaded more than once.
Module PKI.NLM load status NOT MULTIPLE
Default domain is not set, you need to set it through ypset
Unable to Login. : error -601. Run schinst -n and try again. If the problem
stil
l persists, see the TroubleShooting section of the admin doc.
Could not authenticate ContextHandle.Run schinst -n and try again. If the
proble
m still persists, see the TroubleShooting section of the admin doc.
Exiting...-6
01
Module NDSILIB.NLM is being referenced
You must unload NISSWDD.NLM before you can unload NDSILIB.NLM
Install for Novell eDirectory
Version 10553.21 February 10, 2005
Copyright (c) 1993-2004 Novell, Inc. All rights reserved.
Loading module XNFS.NLM
Module DSBACKER.NLM load status OK
NetWare NFS - NFS Server for NetWare 6.5
Version 1.01.10 November 28, 2005
Copyright (C) 2002-2005, Novell, Inc. All Rights Reserved.
Error : NFS services initialization failed during eDirectory interface
library
(ndsilib.nlm) initialization - Error Code : 9600. Unloading XNFS.NLM.
Error : Try running 'schinst -n'. For details refer to Native File Access
doc
umentation.
SERVER-5.70-1553: Module initialization failed.
Module XNFS.NLM NOT loaded
Module XNFS.NLM load status INIT FAIL
Module DSBACKER.NLM unloaded
Module PSA.NSS load status OK
Loading module APACHE2.NLM
Apache Web Server 2.0.54
Version 2.00.54 October 31, 2005
Copyright (c) 2000-2004 The Apache Software Foundation. All rights
reserved.
Auto-Loading Module APRLIB.NLM
Auto-loading module APRLIB.NLM
Apache Portability Runtime Library 0.9.6
Version 0.09.06 October 31, 2005
Copyright (c) 2000-2004 The Apache Software Foundation. All rights
reserved.
Loading module SASL.NLM
Module APRLIB.NLM load status OK
Module APACHE2.NLM load status OK
Simple Authentication and Security Layer 2.4.0.0 20051107
Version 24000511.07 November 7, 2005
Copyright 2002-2005 Novell, Inc.
Loading module LANGMAN.NLM
NISSERV - Error initializing NDSILIB at startup
Module NISSERV.NLM load status OK
Novell Cross-Platform Language Manager
Version 10310.47 August 9, 2004
Copyright 2001-2003 Novell, Inc. All rights reserved. Patents Pending.
Module LANGMAN.NLM load status OK
Loading module XNFS.NLM
NetWare NFS - NFS Server for NetWare 6.5
Version 1.01.10 November 28, 2005
Copyright (C) 2002-2005, Novell, Inc. All Rights Reserved.
Loading module HT2SOAP.NLM
Error : NFS services initialization failed during eDirectory interface
library
(ndsilib.nlm) initialization - Error Code : 9600. Unloading XNFS.NLM.
Error : Try running 'schinst -n'. For details refer to Native File Access
doc
umentation.
SERVER-5.70-1553: Module initialization failed.
Module XNFS.NLM NOT loaded
Module XNFS.NLM load status INIT FAIL
eDirectory Management Tool Box HTTP to SOAP shim
Version 10553.52 July 29, 2005
Copyright 2001-2005 Novell, Inc. All rights reserved. Patents Pending.
Loading module EMBOX.NLM
Module HT2SOAP.NLM load status OK
This module is ALREADY loaded and cannot be loaded more than once.
Module EMBOX.NLM load status NOT MULTIPLE
Loading module AIOCOMX.NLM
Loading module EMBOXMGR.NLM
Novell AIO Serial Port Driver
Version 6.00.02 December 18, 2002
Copyright 1992-2002, Novell, Inc. All rights reserved.
Auto-Loading Module AIO.NLM
Auto-loading module AIO.NLM
NetWare Asynchronous I/O Library
Version 7.00.08 November 18, 2003
(c) Copyright 1992-2003 Novell, Inc. All rights reserved.
Module REPAIRTL.NLM load status OK
Perl 5.8.4 - Command Line Interface
Version 5.00.05 September 13, 2005
Copyright (C) 2000-01, 2004-05 Novell, Inc. All Rights Reserved.
Module PERL.NLM load status OK
Perl 5.8.4 - Command Line Interface
Version 5.00.05 September 13, 2005
Copyright (C) 2000-01, 2004-05 Novell, Inc. All Rights Reserved.
Module PERL.NLM load status OK
Version 1.01.16 October 22, 2005
Copyright (c) 2002-2003 Novell, Inc. All rights reserved.
Module IPMCFG.NLM load status OK
Initializing debug network.
Finding IP interface.
Loading debug MLID...
Loading debug module BX2.LAN
Broadcom NetXtreme II Gigabit Ethernet Driver
Version 1.22 November 8, 2005
Copyright (c) 2002 Broadcom Corporation. All rights reserved.
Auto-loading debug module ETHERTSM.NLM
Novell Ethernet Topology Specific Module
Version 3.89 January 27, 2003
(C) Copyright 1990 - 2003, by Novell, Inc. All rights reserved.
Auto-loading debug module MSM.NLM
Novell Multi-Processor Media Support Module
Version 4.10 January 24, 2003
Copyright (c) 1990 - 2003, by Novell, Inc. All rights reserved.
Interrupt assignment: 4
Interrupt assignment: 4
Starting service NetWare Administration Tomcat
Apache Tomcat/4.1.31
Starting service Tomcat-Standalone
Apache Tomcat/4.1.31
Jul 9, 2009 5:37:42 PM org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=tru
e
Jul 9, 2009 5:37:42 PM org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNul
l=true
Jul 9, 2009 5:37:43 PM org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=tru
e
Jul 9, 2009 5:37:43 PM org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNul
l=true
Jul 9, 2009 5:37:44 PM org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.webapp.admin.ApplicationResourc es',
retur
nNull=true
Jul 9, 2009 5:37:44 PM org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.webapp.admin.ApplicationResourc es',
retur
nNull=true
Loading module WPSD.NLM
ServiceDescriptor Natives NLM
Version 2.00 August 8, 2005
Copyright (c) 2003-2004 Novell, Inc. All rights reserved.
Auto-Loading Module N_PRDDAT.NLM
Auto-loading module N_PRDDAT.NLM
N_PRDDAT
Version 1.00 February 3, 2003
(C)Copyright 2003, Novell, Inc. All Rights Reserved.
Module N_PRDDAT.NLM load status OK
Module WPSD.NLM load status OK
Jul 9, 2009 5:37:55 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:9009
Jul 9, 2009 5:37:55 PM org.apache.jk.server.JkMain start
Novell GroupWise WebAccess
Version 6.5.6
(C) Copyright 1993-2005 Novell, Inc. All rights reserved.
<GroupWise WebAccess> WebAccess Servlet is ready for work
Novell GroupWise WebAccess Spell Checker
Version 6.5.6
(C) Copyright 1996-2005 Novell, Inc. All rights reserved.
Maximum suggestions: 10
Dictionary path :
SYS:\Tomcat\4\webapps\ROOT\web-inf\classes\com\nove
ll\collexion\morphology\data
<GroupWise WebAccess Spell Checker> Spell Servlet is ready for work
Jul 9, 2009 5:38:04 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:9010
Jul 9, 2009 5:38:04 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=1/176 config=sys:\tomcat\4\conf\jk2.properties
Loading module EDIT.NLM
NetWare Text Editor
Version 8.00.01 October 13, 2005
Copyright 1989-2005 Novell, Inc. All rights reserved.
Module EDIT.NLM load status OK -
Apex link not able to connect from local machine.
Hi,
Here is the scenario.
I have installed oracle apex 3.2 in my vmware linux machine.
I'm able to connect the link (http://b03apex.domain.com) from my linux(vmware) box but I'm not able to connect from windows local machine.
I tried to ping the ip, from both the ends are working but not sure why I'm not able to connect from windows local machine.
local windows ip: 192.168.1.2
vmware Linux ip address : 192.168.1.3
Do I need to do add any parameters in the Apache logs to connect from windows local machine.?
Need your suggestion.
Thanks, Muhammed.user9354175 wrote:
I tried to ping the ip, from both the ends are working but not sure why I'm not able to connect from windows local machine.In that case, it means there is network connectivity. The problem is thus something else - like a firewall or name resolution failure.
>
local windows ip: 192.168.1.2
vmware Linux ip address : 192.168.1.3
Do I need to do add any parameters in the Apache logs to connect from windows local machine.?No.
Can you ping the VM hostname from your Windows console (instead of IP address)?
Have you tried in your Windows browser the following URL (using IP address of the VM instead of the hostname)?
http://192.168.1.3/
Have you checked that your browser is not configured to use a proxy server?
Have you checked your Windows firewall for allowing tcp web traffic to the virtual machine?
Have you checked for the same on on the virtual machine (firewall will be likely be done using <i>iptables</i>). -
Hi.
Could you please help me to resolve this issue.
I have SCOM 2012 installed to monitor environment with Exchnage 2010 SP3. There are 2 sites with Exchnage servers within the organization. There are 2 mailboxes being created to test both sites.
I am getting following alert:
Alert: WebServices connectivity (Internal) transaction failure - The credentials can't be used to test Web Services.
description: The test mailbox was not initialized. Run new-TestCasConnectivityUser.ps1 to ensure that the test mailbox is created.
Detailed information:
[Microsoft.Exchange.Monitoring.CasHealthUserNotFoundException]: The user wasn't found in Active Directory. UserPrincipalName: extest*****@****.local. Additional error information: [System.Security.SecurityException]:
Logon failure: unknown user name or bad password.
Diagnostic command: "Test-WebServicesConnectivity -MonitoringContext:$true -TrustAnySSLCertificate:$true -LightMode:$true"
EventSourceName: MSExchange Monitoring WebServicesConnectivity Internal
I have tried the next steps:
1. Verified that mailbox is exist and it's not locked (same for the second mailbox)
2. Deleted those mailboxes and created a new using new-TestCasConnectivityUser.ps1 verified that this mailbox is visible on all DC's accross the forest (both mailboxes)
and that temporary password was accepted;
3. Cleared the cache on the SCOM 2012;
4. Still getting the same alert
I will really appriciate any help.
Thanks.Hi,
Hope these posts help you:
http://thoughtsonopsmgr.blogspot.ca/2013/11/exchange-server-2010-mp-no-synthetic.html
https://social.technet.microsoft.com/Forums/systemcenter/en-US/437f2bbb-cd96-40c3-8c56-6d4d176a9520/exchange-2010-mp-constantly-throws-webservices-connectivity-internal-transaction-failure?forum=operationsmanagermgmtpacks
Natalya
### If my post helped you, please take a moment to Vote as Helpful and\or Mark as an Answer -
Connection from jdbc or sqlj using operating system authentication
Is it possible to use the operating system authentication to connect to oracle which is on the same box from jdbc or sqlj??
Any help is appreciatedYou can logon using external credentials with the oci driver by passing in null's as username and password.
-
Hi there, I am trying to connect to my server at work from home using a vpn connection. It connects fine and the time ticks along, but when i click go - connect to server, it comes up with connection failed. Please help!
... when i click go - connect to server, it comes up with connection failed.
If you're trying to connect to a Bonjour server on the remote network, that won't work over a layer 3 VPN. Use something like Hamachi or one of the SSH-tunnelling Bonjour proxy apps for that. -
PROBLEM DESCRIPTION :
When I try to read a clob from Oracle, I receive "ORA-03120: two-task
conversion routine: integer overflow" Error.
This error occurs only for CLOB Type and only if I try to connect to
Oracle using WebLogic JDriver/Oracle POOL.
IMPORTANT NOTE: I can read CLOB or any other data using direct JDBC
connection to ORacle with out any problem.
Below Please find the JAVA CODE for Both Working and NON Working .
Created a Connection Pool as:
Name: MyJDBCConnectionPool
URL : jdbc:weblogic:oracle
DIRVER:weblogic.jdbc.oci.Driver
NON WORKING JAVA CODE (USES WEBLOGIC JDBC CONNECTION POOL TO ORACLE):
Driver myDriver =
(Driver)Class.forName("weblogic.jdbc.pool.Driver").newInstance();
Connection mconn =
myDriver.connect("jdbc:weblogic:pool:MyJDBCConnectionPool",null);
mconn.setAutoCommit (false);
CallableStatement cs = mconn.prepareCall("{call
P_XMLTEST2(?)}"); //This returns a CLOB
cs.registerOutParameter(1,java.sql.Types.CLOB);
cs.execute();
Clob clob = null;
clob = cs.getClob(1);
String data =new String();
data = clob.getSubString(1, (int)clob.length());
System.out.println(data); //print the data
data = null;
clob=null;
cs.close();
WORKING JAVA CODE (USES DIRECT THIN JDBC CONNECTION TO ORACLE):
Driver myDriver =
(Driver)Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
Connection mconn =
myDriver.connect("jdbc:oracle:thin:@server:1521:DB",null);
mconn.setAutoCommit (false);
CallableStatement cs = mconn.prepareCall("{call
P_XMLTEST2(?)}"); //This returns a CLOB
cs.registerOutParameter(1,java.sql.Types.CLOB);
cs.execute();
Clob clob = null;
clob = cs.getClob(1);
String data =new String();
data = clob.getSubString(1, (int)clob.length());
System.out.println(data); //print the data
data = null;
clob=null;
cs.close();
ERROR MESSAGE:
ORA-03120: two-task conversion routine: integer overflow
I appreciate your help on this problem.PROBLEM DESCRIPTION :
When I try to read a clob from Oracle, I receive "ORA-03120: two-task
conversion routine: integer overflow" Error.
This error occurs only for CLOB Type and only if I try to connect to
Oracle using WebLogic JDriver/Oracle POOL.
IMPORTANT NOTE: I can read CLOB or any other data using direct JDBC
connection to ORacle with out any problem.
Below Please find the JAVA CODE for Both Working and NON Working .
Created a Connection Pool as:
Name: MyJDBCConnectionPool
URL : jdbc:weblogic:oracle
DIRVER:weblogic.jdbc.oci.Driver
NON WORKING JAVA CODE (USES WEBLOGIC JDBC CONNECTION POOL TO ORACLE):
Driver myDriver =
(Driver)Class.forName("weblogic.jdbc.pool.Driver").newInstance();
Connection mconn =
myDriver.connect("jdbc:weblogic:pool:MyJDBCConnectionPool",null);
mconn.setAutoCommit (false);
CallableStatement cs = mconn.prepareCall("{call
P_XMLTEST2(?)}"); //This returns a CLOB
cs.registerOutParameter(1,java.sql.Types.CLOB);
cs.execute();
Clob clob = null;
clob = cs.getClob(1);
String data =new String();
data = clob.getSubString(1, (int)clob.length());
System.out.println(data); //print the data
data = null;
clob=null;
cs.close();
WORKING JAVA CODE (USES DIRECT THIN JDBC CONNECTION TO ORACLE):
Driver myDriver =
(Driver)Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
Connection mconn =
myDriver.connect("jdbc:oracle:thin:@server:1521:DB",null);
mconn.setAutoCommit (false);
CallableStatement cs = mconn.prepareCall("{call
P_XMLTEST2(?)}"); //This returns a CLOB
cs.registerOutParameter(1,java.sql.Types.CLOB);
cs.execute();
Clob clob = null;
clob = cs.getClob(1);
String data =new String();
data = clob.getSubString(1, (int)clob.length());
System.out.println(data); //print the data
data = null;
clob=null;
cs.close();
ERROR MESSAGE:
ORA-03120: two-task conversion routine: integer overflow
I appreciate your help on this problem. -
Hi,
I am Shanmugavel, SharePoint developer,
I am facing the below SharePoint 2013 deployment issue while deploying using VS2012.
If i will deploy the same wsp or existing wsp
(last build) using direct powershell deployment, the solution adding properly, but the same timeout exception coming while activation the features. Please find the below error.
I tried the below activists:
1. Restarted my dev server, DB server.
2. tried the same solution id different server
3. tried existing wsp file (last build version)
4. Deactivated all the features, including project Active deployment configuration.... but still i am facing the same issue.
I hope this is not coding level issue, because still my code is not start running, before that some problem coming.
Please help me any one..... Last two days i am struck because of this...What you need to understand is the installation of a WSP does not do much. It just makes sure that you relevant solution files are deployed to the SharePoint farm.
Next comes the point when you activate the features. It is when the code which you have written to "Activate" certain features for your custom solution.
Regarding the error you are getting, it typically means that you have more connections (default is I guess 100) open for a SQL database then you are allowed to.
If you have a custom database and you are opening a connection, make sure you close it as well.
Look at the similar discussion here:
The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool
size was reached[^]
I would suggest further to look at the
ULS logs[^] to get better insight.
Manas Bhardwaj's Stream : www.manasbhardwaj.net -
Can't connect from Mac to PC using MS Remote Desktop
I have a 5 day old Windows 8.1 laptop.
My daughter has an application called Microsoft Remote Desktop 8.0.5 on her Mac. It is Microsoft-made application for Mac, like Office.
I want her to access my computer, using this application, to access my computer from hers, even though she lives several states away (to show me how to use this computer).
Her application asks her for:
Connection Name
PC Name (Enter Host Name or IP Address)
Gateway (No Gateway Configured is the default), but she can add a Gateway, which then asks for a Gateway Name, Server, Username, and Password.
Username (Enter Domain\User)
Password
Resolution (Native is the Default)
Colors (32 bit is the Default)
Fullscreen Mode (OS X Native is the Default)
I found my IP addresses through the command prompt by typing ipconfig /all (Of course, nothing is actually called IP address.)
She types in the "Default Gateway" into the PC name box and she can't connect. She types in the "IPv4 address" and it can't connect. (She has tried uninstalling and re-installing the software).
The error message that she gets is "Unable to connect to remote PC. Please verify remote desktop is enabled, the remote pc is turned on and available on the network and try again."
As far as I know, I allowed Remote Access, and I set up the Windows Firewall to allow Remote Access. I have uninstalled Norton Internet Security because I could not access my settings with it installed at all, and installed AVG for free instead, which only
includes antivirus, no firewall.
What do we do? How can she access my computer to teach me how to use it?Hi,
Firstly, you need to the following on your side.
1. Allow remote connections to the computer you want to access.
2. Make sure Remote Desktop is able to communicate through your firewall.
3. Find the IP address of the computer on your home network that you want to connect to.
4. Open your router's configuration screen and forward TCP port 3389 to the destination computer's IP address.
5. Find your router's public IP address so that Remote Desktop can find it on the Internet.
Allow Remote Desktop connections from outside your home network
http://windows.microsoft.com/en-HK/windows7/allow-remote-desktop-connections-from-outside-your-home-network
Then, for your daughter.
1. Connection Name: Optional.
2. PC Name: Required. Enter the public IP address of your router.
3. Gateway: No need here.
4. User Name:
YourComputerName\YourUserAccountName
5. Password: The password of
YourUserAccountName
Getting Started with Remote Desktop Client on Mac
http://technet.microsoft.com/library/dn473012
Remote Desktop Client on Mac: FAQ
http://technet.microsoft.com/library/dn473006
However, please note that if your daughter connects to your computer, you will be disconnect and you cannot see what she is doing. It is be design.
Thanks.
Jeremy Wu
TechNet Community Support -
Problem to connect to mysql from servlet using a javabean
Hi,
I'm new here and beginner on java to.
I have problem to connect to MySql database, by a connection javabean.
It's the following: a HTML page calls a servlet and this servlet imports the package connection javabean.
It has no problem when I establish the connection inside the servlet, with all its methods (public and private). But i want to separate the code connection from servlet.
Detail: there is no problem, using the javabean to connect to MS Access database.
I put "mysql-connector-java-3.1.12-bin.jar" file inside WEB-INF/lib application and common/lib directories.
I set the classpath:
SET CLASSPATH=%CATALINA_HOME%\COMMON\LIB\mysql-connector-java-3.1.12-bin.jar;%CLASSPATH%
I think that the servlet cannot create an instance of javabean, because passed by catch exception of the servlet init method.
But I don't know why.
Please Why?
Below there are the fragment of errors, servlet code e javabean code.
Thank you.
Zovao.
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
java.lang.NullPointerException
at CadServletFileBeanConexArq.doPost(CadServletFileBeanConexArq.java:47)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:716)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
Note: The line 47 is calling insertIntoDB javabean method.
========///////////////===============
// Here is the servlet CadServletFileBeanConexArq.java
import javax.servlet.*;
import javax.servlet.http.*;
import java.util.*;
import java.sql.*;
import conJdbc.*;
public class CadServletFileBeanConexArq extends HttpServlet {
public ConexPed connect = null;
private String driver = "com.mysql.jdbc.Driver";
private String URL = "jdbc:mysql://localhost:3306/cadastro";
public void init( ServletConfig config )
throws ServletException
super.init( config );
try
connect = new ConexPed(driver, URL, "monty", "some_pass");
catch ( Exception e )
e.printStackTrace();
connect = null;
public void doPost( HttpServletRequest req,
HttpServletResponse res )
throws ServletException
boolean success = true;
String email, nome, sobrenome, produto, valor;
email = req.getParameter( "Email" );
nome = req.getParameter( "Nome" );
sobrenome = req.getParameter( "Sobrenome" );
produto = req.getParameter( "Produto" );
valor = req.getParameter( "Valor" );
res.setContentType( "text/html" );
if ( email.length() > 0 && nome.length() > 0 && sobrenome.length() > 0 && valor.length() > 0 )
/* inserting data */
success = connect.insertIntoDB(
"'" + email + "','" + nome + "','" + sobrenome + "','" + produto + "'", Double.parseDouble(valor) );
//closing connection
public void destroy()
connect.fecharConexao();
=============///////////////============
Here is the JavaBean.
package conJdbc;
import java.sql.*;
public class ConexPed
public Connection connection;
public Statement statement;
public ConexPed (String driver, String urlServidor, String user, String password)
try
Class.forName(driver);
connection = DriverManager.getConnection(urlServidor,user,password);
catch (ClassNotFoundException ex)
System.out.println("N�o foi poss�vel encontrar a classe do Driver: " + driver);
catch (SQLException ex)
System.out.println("N�o foi poss�vel conectar ao servidor");
try
statement = connection.createStatement();
catch (SQLException ex)
System.out.println("N�o foi poss�vel criar a statement");
*Inserting data to database
public synchronized boolean insertIntoDB( String stringtoinsert, double valor)
try
statement.executeUpdate( "INSERT INTO pedido values (" + stringtoinsert + " , " + valor + ");" );
catch ( Exception e ) {
System.err.println(
"ERROR: Problemas ao adicionar nova entrada" );
e.printStackTrace();
return false;
return true;
* Close statement.
public void fecharStatement()
try
statement.close();
catch (SQLException ex)
ex.printStackTrace();
* close database
public void fecharConexao()
try
connection.close();
catch (SQLException ex)
ex.printStackTrace();
}Hi,
I'm new here and beginner on java to.
I have problem to connect to MySql database, by a connection javabean.
It's the following: a HTML page calls a servlet and this servlet imports the package connection javabean.
It has no problem when I establish the connection inside the servlet, with all its methods (public and private). But i want to separate the code connection from servlet.
Detail: there is no problem, using the javabean to connect to MS Access database.
I put "mysql-connector-java-3.1.12-bin.jar" file inside WEB-INF/lib application and common/lib directories.
I set the classpath:
SET CLASSPATH=%CATALINA_HOME%\COMMON\LIB\mysql-connector-java-3.1.12-bin.jar;%CLASSPATH%
I think that the servlet cannot create an instance of javabean, because passed by catch exception of the servlet init method.
But I don't know why.
Please Why?
Below there are the fragment of errors, servlet code e javabean code.
Thank you.
Zovao.
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
java.lang.NullPointerException
at CadServletFileBeanConexArq.doPost(CadServletFileBeanConexArq.java:47)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:716)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
Note: The line 47 is calling insertIntoDB javabean method.
========///////////////===============
// Here is the servlet CadServletFileBeanConexArq.java
import javax.servlet.*;
import javax.servlet.http.*;
import java.util.*;
import java.sql.*;
import conJdbc.*;
public class CadServletFileBeanConexArq extends HttpServlet {
public ConexPed connect = null;
private String driver = "com.mysql.jdbc.Driver";
private String URL = "jdbc:mysql://localhost:3306/cadastro";
public void init( ServletConfig config )
throws ServletException
super.init( config );
try
connect = new ConexPed(driver, URL, "monty", "some_pass");
catch ( Exception e )
e.printStackTrace();
connect = null;
public void doPost( HttpServletRequest req,
HttpServletResponse res )
throws ServletException
boolean success = true;
String email, nome, sobrenome, produto, valor;
email = req.getParameter( "Email" );
nome = req.getParameter( "Nome" );
sobrenome = req.getParameter( "Sobrenome" );
produto = req.getParameter( "Produto" );
valor = req.getParameter( "Valor" );
res.setContentType( "text/html" );
if ( email.length() > 0 && nome.length() > 0 && sobrenome.length() > 0 && valor.length() > 0 )
/* inserting data */
success = connect.insertIntoDB(
"'" + email + "','" + nome + "','" + sobrenome + "','" + produto + "'", Double.parseDouble(valor) );
//closing connection
public void destroy()
connect.fecharConexao();
=============///////////////============
Here is the JavaBean.
package conJdbc;
import java.sql.*;
public class ConexPed
public Connection connection;
public Statement statement;
public ConexPed (String driver, String urlServidor, String user, String password)
try
Class.forName(driver);
connection = DriverManager.getConnection(urlServidor,user,password);
catch (ClassNotFoundException ex)
System.out.println("N�o foi poss�vel encontrar a classe do Driver: " + driver);
catch (SQLException ex)
System.out.println("N�o foi poss�vel conectar ao servidor");
try
statement = connection.createStatement();
catch (SQLException ex)
System.out.println("N�o foi poss�vel criar a statement");
*Inserting data to database
public synchronized boolean insertIntoDB( String stringtoinsert, double valor)
try
statement.executeUpdate( "INSERT INTO pedido values (" + stringtoinsert + " , " + valor + ");" );
catch ( Exception e ) {
System.err.println(
"ERROR: Problemas ao adicionar nova entrada" );
e.printStackTrace();
return false;
return true;
* Close statement.
public void fecharStatement()
try
statement.close();
catch (SQLException ex)
ex.printStackTrace();
* close database
public void fecharConexao()
try
connection.close();
catch (SQLException ex)
ex.printStackTrace();
}
Maybe you are looking for
-
My MacBook Air freezes momentarily after update to 10.8.2
My Trackpad/keyboard pointer freezes after I updated my MacBook Air 11 "2010, model A1370 to OS X 10.8.2. With a few minutes intervals the pointer freezes for approx. 5 seconds - quite annoying. Is there a solution to this problem - I have noticed a
-
Copying a page from one InDesign document to another
I have a page in an InDesign document (which contains graphics) that I would like to copy to another InDesign document, but Copy / Past does not work.
-
Activate Scenarios with Solution Builder CRM Best Practices V1.2007
Hi, I finished all steps in Quickguide for CRM Best Practices V1.2007 until the end. All worked fine without any problem. Now I want to activate a scenario. 1. In the field Workbench I get a list of 15 Request/Task, I`m only able to select one. 2. In
-
DISM restorehealth error 14098
We have a windows server 2012 box that is hosted remotely. I've been trying to install a security patch and the windows update component appears to be corrupted. The error code i'm getting is 80073712. It will download the updates but fails to instal
-
I have a MacBook Pro 2.8 GHz Intel Core 2 Duo with 4GB, 500GB HDD, running 10.8.2 My computer as been running slow and fearing my HDD might die. I bought a brand new 1TB G-Drive from Apple yesterday and started my back up. It gets to just over 22GB b