I have upgraded to solr 3.6 to SOLR 4.0. i am using dataimporthandler to extract data from database.
I have copied mysql-connector-java-5.1.20-bin.jar into apache-solr-4.0.0-ALPHA/example/lib folder.
I have also added it in classpath using cmd
export CLASSPATH=.:$JAVA_HOME/lib/classes.zip:/usr/solr4/apache-solr-4.0.0-ALPHA/example/lib/mysql-connector-java-5.1.20-bin.jar
When i browse solr/admin page and click on java properties it shows all .jar files from solr-home/lib folder in java.class.path but doesnt add mysql-connector-java-5.1.20-bin.jar
What will be the reason that mysql-connector-java-5.1.20-bin.jar not getting added in java classpath?
let me know if i am missing anything.
Related
I also try to add plugin manually as suggested in APOC procedure not found
but not nothing seems worked, please help me out. Find screenshot here
In Neo4j Desktop, when you upgrade a Project's database to a newer version, the Project's plugins are not automatically upgraded for you.
To upgrade a Project's DB version manually, you can do this:
Open the Project (while its DB is stopped).
Click Manage.
Click the dropdown arrow next to Open Folder and select Plugins.
Delete the old APOC jar file from the plugins folder.
Get the right APOC jar file version from https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases, and put it in the plugins folder.
Start the DB, and the APOC plugin should start running.
If the Project's UI still shows an error for the plugin, try closing the desktop and re-opening it.
I created a package for items in Sitecore, but forgot downloading the package in wizard.
Is there any way to download the package I created??
Many items have been changed, so creating the package again is not working.
A little old, but from within sitecore:
Start the installation wizard,
Click browse
Find the package (UI sucks, not sorting or anything)
Click download
From the sitecore file explorer, I couldn't go all the way the data folder (outside the website folder)
It will be in your data folder under the /packages directory.
If you haven't got access to the sever directly you can download the file using the File explorer.
More info here
https://superruub.wordpress.com/2013/01/04/sitecore-package-designer-zipfile-location-folder/
The pacakage will be in your “~/Data/packages” folder.
I have a dynamic web project (JSP) on Eclipse that runs on a tomcat server. I create files with GraphViz code, and then I create images with a system call of DOT and I place them in a subdirectory of the project.
All of that works, but now the issue is to show the created images in a JSP page.
As the images are dynamically created they are not in the server neither in the project subdirectory until I manually refresh the project at the workspace.
To solve this problem that I have tried to use the aspectj libraries that contains the IWorkspace, IProject, IFile classes, but it seems that that usefull only if you are developing an Eclipse plugin.
I am thinking about another way to refresh the workspace dinamically or upload the images to the tomcat server.
So the questions are:
how to upload files (images) to a tomcat server with Java (JSP)?
how to refresh the workspace dinamically in a non Eclipse (or Eclipse plugin) project?
how to show images in a JSP page that are not in the project workspace neither in the tomcat server?
Take a look at Tomcat plugin for Eclipse. It probably should help you to solve the root of problems.
I am trying to install LocalSolr following the instruction here:
http://www.gissearch.com/node/16
Unfortunately things are not working well.
In the document, it says:
To install these into solr simply copy the following jars to solr's lib directory.
located in apache-solr-1.*/example/solr/lib
I have noticed that I don't have a folder called "lib" under example/solr, so I built it myself and copied all the mentioned files to it.
And I went to the next step which was altering solrconfig.xml and schema.xml as instructed in here: http://www.gissearch.com/localsolr
and restarted my ApacheSolr, but got the following error:
org.apache.solr.common.SolrException: Error loading class 'com.pjaol.search.solr.component.LocalSolrQueryComponent'
I can't figure out how to fix this problem so I would appreciate the help.
Solr includes official spatial search functionality as of version 3. Based on my experience running Websolr, I recommend you upgrade to Solr 3.3 rather than wrestle with LocalSolr.
I am using Solr 1.4 , by default it comes with web application deployed as "solr.war" in webapps directory in example .
I tried to upgrade to solr 3.1 , but this vesrion (3.1) doesn't have attached web admin interface ,
I copied the solr.war from 1.4 and put it in webapps in 3.1
but this will lunch the 1.4 version of solr rather than 3.1 , I wanted to use edismax feature in 3.1 and other features and improvements ,
Please how can I use ediamx or give me regular steps to upgrade to solr 3.1 or even compile from source !!!
Thank you
Solr 3.1 does have a web admin interface. The web application archive is in the dist directory of the official distribution, the file is named apache-solr-3.1.0.war
download the source package for 3.1
and run "ant example" to build the example solr application
the new war for 3.1 should be under solr/example/webapp dir.
you will need to add the following config in your solrconfig.xml
<luceneMatchVersion>LUCENE_31</luceneMatchVersion>
also make sure your "unique id" field in schema.xml is of type string