Localhost is not working
HI Guys,
We have multisite application with two urls
If i use one of the url then i am able to run application properly
ex :http://xxx.com:8080/contextRoot
but if i give the url like this http://localhost:8080/contextRoot then i am getting
Oops! Google Chrome could not connect to localhost:8080
this error
why its happening like this
if i want to access with localhost what we have to do
SiteManager creates sitemap based on siterepository, So u don't need to worry mapping.
The reason we use default site, so that If something goes wrong,we will atleast have one working site.
for default site : atg\multisite\DefaultSiteRuleFilter :
defaultSiteId=mystore
enabled=true
for site mapping : If u wish u can provide url mapping too(No need) in atg\multisite\URLPatternMatchingRuleFilter
URLs=\localhost:7001/shop/mystore=mystore,localhost:7001/shop/mystore2=mystore2
Enable virtual context root service so that ur virtual context root can be recognized by ATG. MUST DO for multisite
\atg\dynamo\service\VirtualContextRootService enabled=true
Most common error: site is not enabled, change the property in siterepository.
Now also if it's not working Provide see the logs :
atg\sitemap\SitemapGeneratorService
Try to debug the issue with logs, It will always be helpful.
Thanks,
Nitin.
Similar Messages
-
Localhost access not working under Leopard
When I attempt to set my browser to a URL like:
http://localhost/~AllenW/UnityByAW/index.html
I get a message telling me, "Forbidden: you do not have access to blah-blah on this server."
Yet, if I boot back into Tiger and try the exact same thing, it works fine. Same user (AllenW) in both cases. I have no other trouble with file permissions.
Any suggestions, anyone?This one had me losing some hair for a while, too, but I got it running again, after of course doing everything recommended here -- the problem seemed to be that apache was looking for its log directory, and there wasn't one. (I figured this out while trying to read the ErrorLog, which should have been the first thing I did, but live and learn.)
So, in the finder, Go > Go To Folder, and type /private/var/log.
There should be a folder called apache2 in that directory. If there's not, that's a problem (although I wouldn't dare assume it's the only one).
To make sure, check out the system log by double-clicking on the file in the directory called system.log. When I did that with the web server (supposedly) running, I saw this:
Jan 4 20:42:32 Hatter org.apache.httpd[1028]: (2)No such file or directory: httpd: could not open error log file /private/var/log/apache2/error_log.
Jan 4 20:42:32 Hatter org.apache.httpd[1028]: Unable to open logs
Jan 4 20:42:32 Hatter com.apple.launchd[1] (org.apache.httpd[1028]): Exited with exit code: 1
Jan 4 20:42:32 Hatter com.apple.launchd[1] (org.apache.httpd): Throttling respawn: Will start in 10 seconds
Jan 4 20:42:42 Hatter org.apache.httpd[1029]: (2)No such file or directory: httpd: could not open error log file /private/var/log/apache2/error_log.
Jan 4 20:42:42 Hatter org.apache.httpd[1029]: Unable to open logs
Jan 4 20:42:42 Hatter com.apple.launchd[1] (org.apache.httpd[1029]): Exited with exit code: 1
Jan 4 20:42:42 Hatter com.apple.launchd[1] (org.apache.httpd): Throttling respawn: Will start in 10 seconds
over and over, every ten seconds, for as long as the web server was active.
To fix that, just create that directory. Turn off the webserver, then from terminal:
mkdirhier /private/var/log/apache2/
and restart the webserver. -
AMF work in Localhost, but not work in Remote server
I am using zend's amf to connect the flex with backend.
I have this service-config:
<?xml version="1.0" encoding="UTF-8"?>
<services-config>
<services>
<service id="zend-service"
class="flex.messaging.services.RemotingService"
messageTypes="flex.messaging.messages.RemotingMessage">
<destination id="zend">
<channels>
<channel ref="zend-endpoint"/>
</channels>
<properties>
<source>*</source>
</properties>
</destination>
</service>
</services>
<channels>
<channel-definition id="zend-endpoint" class="mx.messaging.channels.AMFChannel">
<endpoint uri="http://www.domain.com.br/flex" class="flex.messaging.endpoints.AMFEndpoint"/>
</channel-definition>
</channels>
</services-config>
When I run my app in localweb this work nice, but when I upload my app to the host, this erro show:
[RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: 'http://www.domain.com.br/flex'"]
at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()[C:\autobuild\3.x\frameworks\pro jects\rpc\src\mx\rpc\AbstractInvoker.as:290]
at mx.rpc::Responder/fault()[C:\autobuild\3.x\frameworks\projects\rpc\src\mx\rpc\Responder.a s:58]
at mx.rpc::AsyncRequest/fault()[C:\autobuild\3.x\frameworks\projects\rpc\src\mx\rpc\AsyncReq uest.as:103]
at mx.messaging::ChannelSet/faultPendingSends()[C:\autobuild\3.x\frameworks\projects\rpc\src \mx\messaging\ChannelSet.as:1446]
at mx.messaging::ChannelSet/channelFaultHandler()[C:\autobuild\3.x\frameworks\projects\rpc\s rc\mx\messaging\ChannelSet.as:1056]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.messaging::Channel/connectFailed()[C:\autobuild\3.x\frameworks\projects\rpc\src\mx\mes saging\Channel.as:1069]
at mx.messaging.channels::PollingChannel/connectFailed()[C:\autobuild\3.x\frameworks\project s\rpc\src\mx\messaging\channels\PollingChannel.as:388]
at mx.messaging.channels::AMFChannel/statusHandler()[C:\autobuild\3.x\frameworks\projects\rp c\src\mx\messaging\channels\AMFChannel.as:411]
Please, somebody can help-me, please?RESOLVED!
The problem was on the server: http resquest return 301... I turn off the "mod_security" on the server and all works perfect now! -
Oracle Enterprise Manager (localhost:localdomain) not working anymore.
Hello,
I sucessfully installed 10g enterprise edition and was able to run the manager in my browser staight after. now I rebooted. installed
sql developer plus and I cant connect anymore. not to the manager and, likely because some service is not running, via sql developer.
trying lsnrctl start
or echo $ORACLE_HOME or tns names just retunred nothing.
does someone have an idea how I can hardcode these variables (I no there is a file somewhere) and start the service on startup (using red hat 5 and oracle 10g)metalray wrote:
oracle_home=$Oracle_Home:/u01/app/oracle...
needs to have to $Oracle_Home: part, otherwise the variable will not be setNot for any shell I know.....
If you are on bourne shell or its commn silblings (posix, ksh or bash) I would expect to see the following
starting of with a PATH that does not reference an oracle home ...
ORACLE_SID=orcl
export ORACLE_SID
ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
export ORACLE_HOME
ORACLE_BASE=/u01/app/oracle
export ORACLE_BASE
PATH=$PATH:$ORACLE_HOME/bin
export PATH
These should all show with:
env | egrep '(ORA|^PATH)'PATH=/usr/bin:/usr/local/bin:xxxxxxxxx:/u01/app/oracle/product/10.2.0/db_1/bin
ORACLE_BASE=/u01/app/oracle
ORACLE_SID=orcl
ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
Rgds - bigdelboy -
I get the message from Safari that Safari can't open the page "whatever page" because the server unexpectedly dropped the connection. Any thoughts?
Since you upgraded the Router WRT54GS with the latest firmware so once reset the Router and power cycle the whole network… Then connect the Modem with Linksys Router on the Internet Port and then connect any one computer to any one of the Ethernet port on the Router [Numbered – 1, 2, 3 and 4]… Let me know the RCN connection is a DSL connection or cable connection…
So if you have a DSL connection you can refer to this link:
http://www6.nohold.net/Cisco2/ukp.aspx?pid=93&login=1&vw=1&app=search&articleid=4020&userrole=Linksy...
So if you have a Cable Internet Connection you can refer to this link:
http://www6.nohold.net/Cisco2/ukp.aspx?pid=93&vw=1&articleid=3686
As far as the wireless is concern:
# Open up the browser and on the address bar type 192.168.1.1 that will open up the Router setup page…
# Then Click on wireless Tab create the Wireless Network Name SSID and select the channel to 6, 9, and 11… Click Save Settings...
# Then Click on Wireless Security sub tab and select the security mode and provide the password as per the requirement… Click Save Settings...
After doing the settings try to connect the preferred network on the wireless devices and check the connectivity…. -
Web sharing/Apache not working
My web sharing doesn't seem to be working.
When I have it enabled in the Sharing panel of the System Preferences, I try to click on the link
My Computer's Website
http://myIPaddress
I get an error message, in both Safari and Firefox, saying that I cannot make a connection to the server. This is similar to other threads in this section except for the following:
- I do have a /var/log/apache2 directory
- I did a chmod 755 on the directory
- the directory is empty
- http://localhost does not work
when I look through a list of my tasks (on the Activity Monitor), I don't see anything related to apache so I'm wondering if my Web Sharing has not initiated the apache server.
I'm running 10.5.6 on a PowerBook G4.
Thanks in AdvanceYou shouldn't see any apache items in Activity Monitor. I've got web sharing on, and I see a bunch of httpd processes in Activity Monitor. Try repairing permissions on your hard drive. Also, look for some config files located in /etc/apache2/. I see the following files/folders in there on my machine:
drwxr-xr-x 13 root wheel 442 Nov 24 2007 extra
-rw-r--r-- 1 root wheel 17684 Jan 27 07:21 httpd.conf
-rw-r--r-- 1 root wheel 12958 Nov 24 2007 magic
-rw-r--r-- 1 root wheel 28782 Nov 24 2007 mime.types
drwxr-xr-x 4 root wheel 136 Aug 13 2008 original
drwxr-xr-x 4 root wheel 136 Nov 24 2007 other
drwxr-xr-x 3 root wheel 102 Aug 13 2008 users -
SRV2008R2 SP1: Software Protection Service failed to start. RDP not working
Hi folks,
I'm currently working on an issue on a Windows 2008 R2 SP1 Hyper-V Host where RDP from one moment tio the other does not work anymore.
After an investigation I found that the Software Protection Service can't be started. The following events are recorded every few minutes:
Event ID: 1001 - The Software Protection service failed to start. 0x80070002. 6.1.7601.17514
Event ID: 7023 - The Software Protection service terminated with the following error: The system cannot find the file specified.
I searched and found a lot of possible solutions which are shortly listed below:
I have confirmed that the sppsvc.exe file exists and has the proper permissions. Also replaced the file with the same file from another 2008R2 server
Checked the spldr start value via HKLM\System\CurrentControlSet\Services\spldr. This is 0 which should be fine.
Checked the sppsvc paths and settings via HKLM\System\CurrentControlSet\Services\sppsvc. All are correct.
SFC /Scannow + CHKDSK /r
System restore is (off course) not available
Tried to reactivate the server by recording a different product key. Did not work.
Removed the last batch of Windows Updates that were pushed towards the host. We believed it was caused by this but since you don't always need a host but only the VM's hosted on it it was a while ago since we logged in.
Local firewall enabled and disabled. Also
Netstat does not show any listening ports for RDP (3389)
Changed the port to 3390 but this port is not visible as well
Also RDP from the affected machine to localhost does not work
Since I can't find any more options in fixing this issue I'm wondering if someone else has some ideas which I can try. Otherwise a reinstall needs to be done.
Hope to hear from youHi,
Based on your description, I noticed that you have tried lots of ways to solve this issue. On current situation,
would you please let me confirm more details?
Type services.msc in RUN to open Services. Then navigate to Software Protection service. If start it manually, what error message will get?
I’m not sure if RDP issue was caused by the Software Protection service. So, would you please let me know the complete error message when RDP didn’t work? Meanwhile, please
open Event Viewer and follow the path: Applications and Services Logs-> Microsoft-> Windows-> TerminalServices-LocalSessionManager and TerminalServices-RemoteConnectionManager. Please check if can find more clues. Those may help us to go further analyze
RDP issue.
Please
perform a clean boot and check if this issue still exists.
If any update, please feel free to let us know.
Hope this helps.
Best regards,
Justin Gu -
Sockets work on localhost but not remotely?
hi there,
I have created a simple multithreaded client / server program.
The Server listens on port 2222 for clients. When a client connects - the client sends its ip address to the server and then disconects. More than 1 client can connect at the same time to the server and the server also listens continuasly. I have 2 problems with the program...
a) the programs work on localhost but not on remote machines? (Well not over my LAN anyway).
b) I am getting 2 lots of 'datain' when the server recieves an ip address from the client when the client should only send it once.
The code is below - any help would be greatly appreciated.
//TCPServer.java
import java.io.*;
import java.net.*;
class TCPServer {
public static void main (String args[]) throws IOException {
ServerSocket serverSocket = null;
boolean listening = true;
try {
serverSocket = new ServerSocket(2222);
} catch (IOException e) {
System.err.println("Could not listen on port: 2222");
System.exit(-1);
System.out.println("Server Started...\n");
while (listening)
new TCPServerThread(serverSocket.accept()).start();
serverSocket.close();
//TCPServerThread.java
import java.net.*;
import java.io.*;
public class TCPServerThread extends Thread {
public Socket socket;
public TCPServerThread(Socket socket) {
super("TCPServerThread");
this.socket = socket;
public void run() {
try {
BufferedReader datain = new BufferedReader (new InputStreamReader
(socket.getInputStream()));
System.out.println("ip address recieved");
System.out.println (datain.readLine () + "\n");
} catch (IOException e) {
System.err.println("Cannot read in ip address\n");
e.printStackTrace(); // show the error
System.exit(-1);
} //TCPClient.java
import java.io.*;
import java.net.*;
class TCPClient {
public static void main (String args[]) throws Exception
String hostname;
int portNumber;
String portString;
BufferedReader inFromUser =
new BufferedReader (new InputStreamReader(System.in));
System.out.println("What host would you like to connect to?");
hostname = inFromUser.readLine();
System.out.println("What port would you like to connect to?");
portString = inFromUser.readLine();
portNumber = Integer.parseInt(portString);
System.out.println("Connecting to port " + portNumber + " of " + hostname + "....\n");
Socket clientSocket = new Socket(hostname, portNumber);
Socket sock = new Socket (InetAddress.getLocalHost(), portNumber);
BufferedWriter dataout;
java.net.InetAddress i = java.net.InetAddress.getLocalHost();
System.out.println("Sending ip address...\n" + i.getHostAddress());
dataout = new BufferedWriter (new OutputStreamWriter (sock.getOutputStream()));
dataout.write (i.getHostAddress());
dataout.flush();
sock.close();
clientSocket.close();
}Oh, yeah - check out my site below, I am trying to write an audio streaming client / server in Java if anyone is interested in getting involved or just being nosey....
http://www.projectg.dsl.pipex.comIn your client you are creating two sockets (why?). One connected to localhost, the other connected to the host specified using readLine.
If your client runs on the same machine you have started your server, you have two connects to your server instead of one.
The ip adresse is sent using the socket connected to localhost. That is why it does not work on remote machines.
Hope this helps.
Jörg -
Localhost not working with firefox 7. How do I get it to work with wampserver
used to be able to access localhost via wampserver but firefox 7 just shows a blank page??? I looked at control panel->internet properties but local host is set as exception. Running XP Pro OS.
Chrome 14 works fine with localhost but not firefox 7. I have tried the suggestions I found about:config change a few settings but nothing worked (fixup filter, browser filter). Firefox is showing correct url - not adding a www prefix - but still getting blank page???drum160 wrote:
I have done the edits with /usr/sbin/lpadmin -o command and they show up in the Printers.conf file. I made sure cupsd was not running at the time. However the macbook keeps right on sending out print jobs.
Your statements don't seem to go together. To the best of my knowledge `lpadmin` will not run as a command unless cupsd is running. You can either use `lpadmin` or stop cupsd and then manually edit the Printers.conf file. I would recommend using `lpadmin`.
I am not sure what you put in for "command". I presume you specified the page limit. Did you also specify the job quota period?
I had no problem settin a page quoto as a test. I set a page quoto of two pages each hour. My command was:
lpadmin -p EPSON_Workforce_1100 -o job-quota-period=3600 -o job-page-limit=2
I then restarted cupsd to make in case the lpadmin command did not cause it to restart:
sudo launchctl unload /System/Library/LaunchDaemons/org.cups.cupsd.plist
sudo launchctl load /System/Library/LaunchDaemons/org.cups.cupsd.plist
I was able to print two pages. The third page gave me an error while printing message.
Message was edited by: Matt Broughton -
When I try to access localhost using Chrome (or Firefox, Safari, etc...) I get the below response:
Oops! Google Chrome could not connect to 127.0.0.1
I have confirmed my apache server is running. I have checked blogs, forums and other sites and still don't have a solution that works. I've accessed it via nano through Terminal and added 127.0.0.1 localhost, but it either says no such directory exists or brings me to the finder window, prompting me to open a file (which obviously can't be found).
I have OSX 10.8.2. I'm trying to learn PHP and MySQL but I'm struggling with my first class because I can't get through these basic setups on my Mac.Used those already to try and get it fixed, still not working. Is there something really simple that matters? I did have to add the username.conf file as it wasn't present, including the code (obviously with username replaced).
<Directory /Users/username/Sites/>
Options Indexes MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory/>
I also had to add the index.html file (with Hello World text), as it was missing as well. Is there some other file that is assumed to be present that might be missing? -
HELP PLZ *** localhost:7001/wls_utc os not working.
Hi experts,
I am using WLS 10.3.0.0 where *"http://localhost:7001/wls_utc"* os not working.
I could able to access http://localhost:7001/console. but cant able to access wls_utc. Please let me know the setting which and where I have to modify inroder to open that. I cant able to test my web services without this url. Please help me
thanks
loguHi Logu,
Please install the TestClient provided as part of weblogic installation in your WLS Server to Test any webservice... This will work even if your Servers are running in Production Mode...
Location : *<BEA_HOME>\<WL_HOME>\server\lib\wlstestclient.ear*
Deploy it in your Server or Cluster as if it is a Normal Light-weight Application.
Thanks
Jay SenSharma
http://jaysensharma.wordpress.com (WebLogic Wonders Are Here) -
I have set up an XML Dataset. It works fine online, but when
run locally, the page is empty. I saw a similar post where the
newer version of SpryData.js uses ActiveX for IE7 locally, and
thought that would solve the problem I replaced this file with the
newer one that that contains...
// Try to use the ActiveX version of XMLHttpRequest. This
will
// allow developers to load file URLs in IE7 when running in
the
// local zone.
I thought this would solve it, but it didn't. I also tested
in Firefox on localhost. Doesn't work there either... but again, it
works online. There should be no differences from online and
localhost. The XML feed runs locally and online, so this is not the
problem. What else could the problem be? Any thoughts?
Windows Vista Ultimate 32 Bit
IE7, Firefox 2
Dreamweaver CS3Hi Brian,
To be sure, you are running this as
http://localhost and not C://? Not sure
why that isn't working, but we would like to see your code. Is
there a public facing page?
Thanks,
Don -
TNSPING ip number not working TNSPING localhost is working?
Hi i've installed Oracle 11gR2 Enterprise edition on my machine.
tnsping ip number(XX.XXX.XX.XXX) is not working
but
tnsping localhost is working
Does this mean that the current instllation is not a server but a client?you have to put the ip address of your remote machine in /etc/hosts -----unix
and C:\Windows\System32\drivers\etc\hosts
example
192.168.60.10 mydomain.com
then
cmd windows---tnsping mydomain.com
$ tnsping mydomain.com --unix -
Trouble with ping localhost not working.
I'm using a Mac Book Pro running Mountain Lion 10.8.2.
Using Xcode I tried to test my app and found an alert box saying a string 'localhost' was not found. Tried to ping localhost and found that the DNS can't resolve this domain. I don't know if it's related but since a few weeks ago I can't use network printers hosted on Windows computers. OS X sees the workgroup and list computers but when I try to connect it throws an error telling the IP is wrong or the connection is lost.
Even stranger is the fact that ping can resolve localhost. (with the dot at the end).
Any help with either of this two issues??Check the hosts file (/etc/hosts). It should begin with this:
# Host Database
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost -
Scheduling is not working in BI Publisher
Hi all,
I am trying to schedule the report on BI publisher it's giving the following error:
oracle.apps.xdo.servlet.scheduler.ProcessingException: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12519, TNS:no appropriate service handler found
The Connection descriptor used by the client was: localhost:1521:xe (I am using oracle database 10g and obiee 10.1.3.2).
I have followed the instructions provided in the link "Exploring Advanced Features of Oracle Business Intelligence Publisher"
Created mail server as instructed in the link ...
Problems are:
Unable to connect incoming and outgoing mail servers. I have used my machine host name i.e user as both incoming and outgoing server (u.ser.com)
also Scheduled jobs are not working in BI publisher.
Please let me know the solution for the above problem.
regards
chandra kanth.gurus,
pls answer the above one, as i am unable to proceed further.
regards
chandra kanth.
Maybe you are looking for
-
Gross Profit per line item by DTW
Hi Experts, Do you know if we are able to specify the GP or cost value on the lines of an invoice imported by DTW? For example, we will import an invoice with 2 lines, the cost of the items on the system is 0 but I want to import a GP of 30 for item
-
Using Mac as the Bluetooth Audio receiver
I have several voicemails I would like to record, and I thought it would be handy if I could send the audio from my phone via bluetooth to my Mac (instead of a headset) and then I could record them. I'm not finding much searching Google and other for
-
Unable to see D800 raw files - using Lightroom 3.6 & CS4
Hi, I have just purchased a Nikon D800 and I am unable to see the .NEF files within either Lightroom 3.6 or CS4. Can anyone help me? I have read on other forums that you need to install ACR6.7 but those users were all using newer versions of software
-
Elements 10 editor crash!
When trying to open editor to work out a foto,it crashs! I've got Windows 7 home premium 32-bit,laptop 3Gb ram. Any good soul to help with this issue? Thanks
-
Word 365 crashes when opening an attachment in Notes
Word 365 crashes when opening an attachment in Notes. I have tried a quick repair and an online repair. I have uninstalled Office 365 and reinstalled it. I have tried opening WINWORD in safe mode.