I am working on Solr 4.2 on Windows 7.
I am trying to index pdf files.I referred Solr Cookbook 4.
Tomcat is using 8080 port number.
I get this error:requested url solr/update/extract not available on this server
There is no entry in log files.
Please help.
Related
I am using Tomcat 8.0.45 to deploy java based web application. I am using IIS 8.5 and BonCode connector. The App uses MS SQL db located on different server and IIS on another. Both are not on the same machine.
Issue:
- I followed steps for integratedSecurity=true, then copying sqljdbc_auth.dll in jre/bin.
- I also followed the steps to configure tag inside web.config along with userName (AD user) and password.
- I also mapped the user (AD user ) to SQL server db.
- But still I am not able to make it work. On Tomcat startup, I get error.
"Login failed for User 'MyDomain\ServerName$. ClientConnectionId:3b1161.....'.
My above steps could not wrong or incomplete. I can share logs but the above error is what I get in log file.
Can some one please direct me to any link or provide help here. Please note that mine in java based web app. I found lot of examples but they were all dot net based.
Thanks in advance.
in my alfresco-global.properties file it says:
db.url=jdbc:postgresql://localhost:5432/${db.name}
I want to know how to access this database in the browser?
The default PostgreSQL client application is psql. If you can't install this or if you want to use a GUI client, the PostgreSQL community maintains a list of GUI clients.
Every client either asks you for credentials or will present you a form where you can enter them.
The JDBC URL from your question is
jdbc:postgresql://localhost:5432/${db.name}
My guess is that db.name is equal to alfresco. So the complete JDBC URL would be
jdbc:postgresql://localhost:5432/alfresco
If you have installed Alfresco only your local computer, this would be the JDBC URL to use with a client that uses JDBC. If you have installed Alfresco on a different computer, you would have to replace localhost with the host name of this computer.
To connect to alfresco data base you can use any Postgresql client, by the way, alfresco install pgAdmin client.
To use this client you shoud open {alfresco_install_directory}/postgresql/bin/pgAdmin3, add new server and type database credentials(host, port ...) from alfresco-global.properties.
Edit
This is an example of configuration, you can find all what you need in alfresco-global.properties.
In case you have made the default installation(postgresql), you cant.
If you have switched the database to mysql you could use something like php admin or similar. Hope it helps.
How to configure and run apache solr with spring mvc in tomcat7 server? Will apache solr run only by specifying dependency in maven or do I have to install apache solr in local machine?
You need to have Solr service running in your system or in any server instance, only then you will be able to connect and do some operation on Solr.
Specifying dependency in maven will be useful only to get connected to Solr and do read/write operation on Solr service.
For instance if we compare this with any database system, then your database server is running some where and you use any jdbc driver in your application to perform CRUD operation on that RDBMS.
You can follow the below steps to install and run Solr
Make sure you have installed Java
Download Solr from http://lucene.apache.org/solr/
Extract Solr distribution archive to a directory
Start Solr server by issuing following command:
-- if you are in linux distribution then
$ bin/solr start
-- if you are in windows then
bin\solr.cmd start
Once Solr server is running, use a Web browser to see the Admin Console at http://localhost:8983/solr/
For more detailed instructions follow these links
https://cwiki.apache.org/confluence/display/solr/Installing+Solr
https://cwiki.apache.org/confluence/display/solr/Running+Solr
I have successfully installed CakePHP 3 on my local machine. I use WAMP server (http: // localhost /). Everything works fine.
When I have transferred the same files to a web server via FTP http://example.com/ cakephp 3 does not work, it shows the white blank page.
Web server (example.com) uses php 5.6 version.
Where is the problem? What's wrong?
I have seen this issue before and it is was due to the PHP version being too low. If you are running CakePHP 3, ensure your server version is at 5.6 or higher. You can do this in cPanel if you are on shared hosting.
GoDaddy as an example, look under the Software section then you should see "Select PHP version".
Also, ensure you set the correct permission for your tmp and log folder under your CakePHP root.
I have the web app that works one my tomcat 6 (local) on Windows. I have bouhgt dedicated server and installed on it tomcat 6. Ubuntu is installed on server. Now if I try to enter my webapps http:\{ipaddress}{web-app} the browser opens title web page. Then appears dialog window for entering log name and password. But on pressing button login browser Chrome is saying that on accessing servlet {servletname} server returns Status Code:500 Internal Server Error.
How should I configure tomcat6 for Internet? I think that catalina doesnt return answer from servlet for outside request.
I want to use tomcat6 as standalone server.
your question is not clear dude! i have tomcat 7 configured and accessible from internet since i have valid IP on my server. try to take a look at tomcat log (usually at /var/log/tomcat6(or 7)/...